Jail
This plugins adds Jail to your minecraft server. Admins can define several jails and then jail/unjail people or jail them on time basis. Plugin also offers wide variety of protections, so players won't escape out of your jail.
Features:
- Jail online and offline players
- Wide variety of protections to prevent escaping or simply to create more interesting escape route on role play server.
- Protection penalties (increase jail sentence if player is not behaving well)
- Guards that will kill player if he tries to escape
- Data is stored in either SQLite or MySQL.
- Supports multiple worlds
- Jailing without commands via item
- Supports escaping for role play servers.
- Allows players to vote a player to be jailed
(you can opt-out from tracking in plugins/PluginMetrics/config.yml)
For errors, problems and suggestion make a ticket! Errors, problems and suggestions in comments will be ignored.
Documentation
Video Tutorials
Configuration ( Protections | Guards | JailStick | JailPay | MySQL | Miscellaneous )
Commands
Permission nodes
API guide ( Javadocs )
Translations
French German Spanish Norwegian Polish Bulgarian
Changelog
How can I help?
There are many ways you can help this plugin to continue to grow:
- Report any bugs you find by submitting a ticket.
- Suggesting ideas of things you would like to see in the plugin
- Telling people about the plugin so more ideas and bugs will be reported
- Donating to the project (top right of the screen) to help keep it alive
- Voting in polls on the main project page
Credits
- Tkelly for major part of SQL connectivity
- Hidendra for a good way to update SQL database
- CuteLord for help with testing and update videos.
- DeadIntermediate for help with testing and ticket management.
- lightmaster for reporting a lot of bugs, testing, and helping with tickets.
Hey :) Any chance you can make your plugin MCPC+(Modded mc) compatible? Cause we're getting a lot of internal errors.. Thanks :)
@multidude
Thanks! Yeah I just noticed your comment elsewhere that there's only one word. :)
Also, I have one jail cell, but if two people get put in jail one is in the cell and one is at the outside 'teleport' location.
From now on I will be posting all dev builds at the following link:
http:lukeparker.co.uk/index.php?forums/downloads.8/
This means that I can easily upload the plugin without having to wait for the plugin to be approved by Bukkit and also means that you can easily see the change log for each file as well as post any bugs you find with the build.
In other related news, there will be a new build up soon which will hopefully fix a few of the issues people have been having with the last one
@G4meM0ment
The API documentation has not been updated for a while, I will update that as soon as possible so it will be much clearer :D
When a player logs in who was jailed while they were offline throws an NPE and they are not jailed:
The NPEs continue when that player runs any commands:
You implementation of the API wont work, it says Jail cannot be resolved to a type. I also do not understand what this line does. Should be explained in the API guide.
@WauloK
Try /jail waulok 15 j:jail1 r:Swearing
When I jail someone with a reason it says: Playername 15 minutes for
And no reason.
Eg I use: /jail waulok 15 jail1 Swearing
Thinking of setting up a Prison Server (seems quite fitting for this plugin :P) which would also act as the server where this plugin will mostly be tested.
If anybody would be interested in building / helping with the server then please PM me. Am still planning at the moment so nothing is final yet, just an idea at the moment :)
For the people getting the error where people lose their inventory, am I right in saying that you are not using the chest system?
Could you add a configuration so that when I type /jail [playername], it will jail that player to an open cell? Becouse I have cage jail system and I dont want more than 1 player in single cage! I also dont want to type that long command /jail [playername] jail:c1
@BeastMC
I have encountered this issue many times. This could a glitch/bug that is happening and it's quite hard to find the source and correct it. If you like more help. Feel free to Skype me: DeadIntermediate. I'll be gladly to help you or anyone with this plugin.
@Wizardofdoom
I know how to use the plugin. What I said was the time does not count down. If I jail for 30 minutes, they are jailed forever and it always says 30 minutes remaining.
@BeastMC
I think I know whats wrong, although it's been a while since I've used this plugin. Instead of just doing /jail [Player], you need to /jail [Player] [Time] [Jail Name], or /jail [Player] [Jail Name] [Time]. Hope that helps you!
@Barnsey3017
My config is basically stock aside from these two lines I thnk:
EnableJailStick: true JailStickParameters: 280,5,10<sub>Resisting;50,5,20</sub>admin
I'm having an issues with jailing players.
When I jail a player who is online, they are sent to jail and /jailcheck tells me they are jailed for however long I jailed them for. However, this number never counts down so all jail sentences are forever.
If the player is offline when I jail them, they appear to be jailed when I use /jailcheck but they are not moved to jail when they log in and they experience nothing that would hint that they are jailed.
For me too the players inventory resets including armour (only thing that stays is xp) when jailed, and on top of that when they are released they do not return to where they were last but I have that setting enabled, here is a link to my config:
http://pastebin.com/DSjbaDFp
@Barnsey3017
Sweet, glad to see you have got it working now :D
Looking into the issue with this when you are not using the chest feature, need to check why it is not storing the items :P
@multidude
OK. I'm working on it.
and i they dont lose any items as i use the chest feature