Jail

$10.00

Sold by: zeeuss

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!

Categories: , ,

Description

Commands
/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"
}

Reviews

There are no reviews yet.


Only logged in customers who have purchased this product may leave a review.

Version 1.0.0
  • Added Initial release

Discussions

There are no discussions yet.

Leave a reply

Your email address will not be published. Required fields are marked *

Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?

• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.

Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA

• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.

Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.

Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)

Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)

Product Enquiry

Please Login to make enquiry about this product