Search the Community
Showing results for tags 'jail'.
-
Version 0.1.3
10 downloads
What is it? A simple and nice utility for admins to punish players. Usage Punish minges and bad player's behaviour with this simple plugin! Command /jail (playerName/playerID) (duration in seconds) -- Jail specified player for the amount of time /unjail (playerName/playerID) -- Unjail specified player /jail.save -- Force save Jail data Permission jail.use - Gives player permission for all Jail commands Features Once a player gets jailed a cage appears around him, player cannot even avoid it by reconnecting, when the player disconnects the cage automatically disappears and when he connects back, it appears again. (Configurable) You can choose if the player can take damage or not while jailed (Configurable) You can set if the cage can take damage or not (Configurable) You can set if the player is allowed to use commands while jailed (Configurable) You can set if player should be teleported back into cage whenever he escapes it API API Calls public bool IsJailed(ulong playerId) // Returns true if the player is jailed, else returns false API Hooks private void OnPlayerJail(ulong playerId, double time) // Gets called when player gets jailed private void OnPlayerUnjail(ulong playerId) // Gets called when player gets unjailed Config: { "Should player take dmg if jailed?": false, "Should jail cage take dmg?": false, "Should block player's commands when jailed?": true, "Ensure player stays in cage? (Teleports him back if he's outside)": true } Localization: { "Syntax": "Syntax: /jail (playerName/steamID) (timeInSeconds)", "NoPlayer": "Couldn't find that player", "AlreadyJailed": "{0} is already jailed ({1}sec left)", "Unjail": "You have been unjailed", "CantDoJail": "You can't do this while jailed", "SyntaxUnjail": "Syntax: /unjail (playerName/steamID)", "JailCmd": "You have jailed {0} for {1}secs", "UnjailCmd": "You have unjailed {0}", "NotJailed": "{0} is not jailed", "Jail": "You have been jailed for {0}secs" }$10.00- 5 comments
-
Version 1.0.5
107 downloads
XPrison - prison for your server. - Optimization of the interface for different monitor resolutions. - Storing player data in - oxide/data/XDataSystem/XPrison - There is a lang ru/en/uk/es. - Sound effects when interacting with the menu. - Ability to create a prison using the CopyPaste plugin or a custom prefab created in RustEdit. [ To use a prefab as a prison, you need to specify its coordinates in the config ] [ The prison is protected from any kind of damage. ] - Adjustment of attires for the prisoner. - Setting nicknames for prisoners. [ Random prefix with nickname in chat ] - Setting allowed console and chat commands. [ The rest will be blocked ] - Radio tuning for prisoners. [Detailed settings in the spoiler] - The ability to send the player to life or temporary imprisonment. - Two options for serving a temporary sentence: Online. [ The player needs to spend his entire term online in prison ] By date (offline). [ The player will be released after the specified time. He can go offline and wait offline for the end of the term ] - The ability to add prisoners even if they have never been on the server or on the date. [ A file with the prisoner's data will be automatically created ] - The ability to block slots with clothes. [ To prevent the prisoner from taking off his uniform ] - Automatic release of prisoners at the end of the term. - Block damage to prisoners. - As spawners for prisoners, the - "Tesla Coil" is used. [ If there are no spawners, then the prisoners will spawn around the map, but will not be able to farm and deal damage. There will be appropriate warnings in the server console ] - As a spawner for admins is used - "Press Plate". - "Igniter" is used as spawners for visitors. - Various chat notifications. [ Sending to the prisonand release. The duration of the term. ] - An admin or a player with a permit is not subject to various prison restrictions. - The ability to teleport a prisoner to prison (clear his inventory). [ Or kill the prisoner and he will respawn in prison ] - Ability to teleport prisoner from prison to Outpost or Bandit Camp (clear his inventory) [ Or kill the prisoner and he will respawn on the beach ] - If a prisoner is teleported to and from prison, without clearing his inventory, then you can arrange a quest for them: If you survive in prison, you can save your loot, as well as the loot that you got from other prisoners in prison. - Mini game. The prisoner can press buttons and reduce his time of detention. [ Useful for prisoners who are serving time online ] - Mini game 2. The prisoner can recycle items inside the zone and reduce his time of imprisonment. You can get the prison file for the CopyPaste plugin from the developer after purchase. -> Overview - YouTube <- Permissions xprison.admin - access to admin functionality. [ Not required for admin player ] xprison.visitor - access to visiting the prison for ordinary players. Commands /zonaloc - find out your coordinates and the coordinates of the prison. /tpzona - teleport to the prison. [ For Administrators/Visitors ] /zona - check the length of the term. /zonamenu - open the prisoner management menu. cmd_prisoner add <SteamID [ 76561100000000000 ]> <Life imprisonment [ True / False ]> <Term duration [ 3600 ]> <Option to serve time [ True - online / False - by date (possibly offline.) ]> - send to the player's zone. ( Regardless of online player or offline ) cmd_prisoner remove <SteamID [ 76561100000000000 ]> false 0 - release the prisoner. ( Regardless of online player or offline ) [ You can, for example, give the opportunity to redeem yourself through the store ] API bool API_IsOnlinePrisoner(ulong userID) - return TRUE/FALSE if the online player is a prisoner. void API_AddOnlinePrisoner(BasePlayer prisoner, bool life - Life imprisonment [ True / False ], int duration - Term duration [ 3600 ]) - send an online player to the zone. void API_RemoveOnlinePrisoner(BasePlayer prisoner) - free online prisoner. bool API_IsOfflinePrisoner(ulong userID) - return TRUE/FALSE if the offline player is a prisoner. void API_AddOfflinePrisoner(BasePlayer prisoner, bool life - Life imprisonment [ True / False ], int duration - Term duration [ 3600 ]) - send an offline player to the zone. void API_RemoveOfflinePrisoner(ulong userID) - free offline prisoner. string API_GetOnlinePrisonerPrefix(BasePlayer player) - return the prisoner's online prefix. Config { "General settings": { "Profile SteamID for custom avatar": 0, "List of allowed console commands on the prison": [ "global.respawn" ], "List of allowed chat commands in the prison": [ "zona" ] }, "Settings prison": { "Prison location coordinates": { "x": 1000.0, "y": 700.0, "z": 0.0 }, "Prison file name for the CopyPaste plugin": "zona606", "Diameter from the point you specify to search for prison structures, spawners, and more": 35.0, "Automatically turn on the boombox after the prison spawns": true, "Use the CopyPaste plugin for the prison [ True - CopyPaste | False - the prison location point you specified, you can use a custom prefab or build the prison manually ]": true, "Allow regular players to visit the prison": false, "Allow ordinary players to visit the prison only with an empty inventory": true }, "Prisoner settings": { "Lock the clothing slots": true, "Lock the slots on the belt": false, "Lock inventory slots": false, "Lock clothing items - [ Player will not be able to discard them ]": true, "Use a nickname prefix for the prisoner - [ Set to False if the prefix should be disabled or the prefix is used by a third party chat plugin ]": true, "Link to prisoner lock screen image": "https://i.imgur.com/SZoYTLt.png", "Layer UI lock screen image - [ Overlay | Hud ]": "Hud", "Use screen lock": false, "Do not kill the prisoner when he enters the prison, but simply teleporting": false, "When a prisoner is teleported to prison, clear his inventory": false, "Do not kill the prisoner when he is released from prison, but simply teleporting to the Outpost or Bandit Camp": false, "When a prisoner teleports out of prison, clear his inventory": false, "[ Mini-game ] Allow prisoners to shorten their time by pressing buttons inside the prison": true, "[ Mini-game ] For pressing one button, how many seconds to reduce the term of imprisonment": 1, "[ Mini-game 2 ] Allow inmates to reduce their incarceration time by recycling items inside the prison": true, "[ Mini-game 2 ] List of items and number of seconds": { "rock": 1 }, "List of prisoner's attires [ Shortname - SkinID ]": { "burlap.headwrap": 2655848185, "burlap.shirt": 2655843517, "burlap.trousers": 2655838948 }, "List of prisoner nicknames": [ "Schellen", "Schilten", "Espadas", "Bastos", "Oros", "Denari", "Rosen", "Copas", "Herz", "Eichel", "Kule", "Laub", "Zelený", "Grün" ] } }$34.99 -
Version 1.0.0
27 downloads
A prison that can be used for many things. It is also very easy to transform it into a monument by making a few holes in the walls and adding some loot. This could be used as a monument, or perhaps as an event or maybe even to lock players up that break your servers rules. The prefab is standalone and does not include height, splat, alpha or topology of any kind. Looking to get a prefab or map customly made? Feel free to contact me on discord [-Core-] Daan#1402$6.00 -
Version 3.0.1
9 downloads
This is a fully furnished prison with a Green, Blue, and Red key card rooms. This is a fully furnished version of the prison, and not the bare bones version. That version can be found here. The player has to bring 3 fuses, 1 red, 1 blue, and 1 green key card to access all the areas of the prison. Installation Notes You HAVE TO install a key lock on all of the doors after you boot up your server, or fresh wipe your server. Unfortunately RustEdit does not have the ability to lock doors. So if you want to lock all the jail cells (Which is highly advisable since all the Red Keycard loot is in the jail cells), you should. If you want to prevent a jail cell from opening, go into RustEdit, look at a jail cell, and in the bottom right hand corner (see screenshot here) you will find the door controller that controls that jail cell door. Just delete the door controller, and don't forget to keylock the jail cell in game. Code Locks also work as well if you want those instead. Details This project includes: Just the prefab file. No masks to be applied. Prefab Count: 2829 More Detailed Instructions Start Rust Edit & open up your map file Extract the zip file into your RustEdit/CustomPrefabs folder Go back into Rust Edit and click on Prefabs at the top & open up your Prefab List Under the Custom category you will now find Prison-Bare Double click on the prefab and it will spawn it into the map Drag it to the general area you want to place it Customize the area around the monument to your liking. Contact Stranger#5693 - Decorations DJRedNight - IO/Structure$14.99 -
Version 1.0.1
12 downloads
This prison is just the bare bones foundation for you to modify or use however you wish. The only stipulation is that you have to leave the Credits on the back wall alone. I made the text super small so that way it doesn't ruin the players emersion in game. Details This project includes: Just the prefab file. No masks to be applied. Prefab Count: 736 More Detailed Instructions Start Rust Edit & open up your map file Extract the zip file into your RustEdit/CustomPrefabs folder Go back into Rust Edit and click on Prefabs at the top & open up your Prefab List Under the Custom category you will now find Prison-Bare Double click on the prefab and it will spawn it into the map Drag it to the general area you want to place it Customize the area around the monument to your liking. Contact If you have any issues with the prefab: DJRedNight OR Stranger through Discord: Stranger#5693$7.99