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.
@TheIronSquirel
That was the first thing I checked, and it is set to true.
@Lakuspakus
In config you should have store inventory true. If it is than the inventory should return once players is released from jail.
I have no chest for my cells, as I dont really have a need for them. I just want to lock naughty players up and release them when I feel like it. But every time I do so, their inventory dissapears. That is a (really) big problem.
Does every cell have to have a chest for their inventory to be recovered?
can i get a link for WorldEdit please i cant find it and it says i need it when i do "/jailcreatewe"
@BeastMC
It was approved yesterday: http://dev.bukkit.org/bukkit-plugins/jail/files/38-jail-v2-6-4/
@graywolf336
Are you sure it's been uploaded? It's been 2 days since you posted, and the plugin has yet to be approved. It's been awhile since I've developed plugins, but the BukkitDev reviewers would usually process updates/new plugins within 48h back when I uploaded them.
@BeastMC
Please check the tickets before you report a problem. Two tickets have already been opened, and now closed, about this exact problem. If you go to those tickets you'll see that the fix has already been fixed and already been uploaded to Dev Bukkit waiting for approval. :) (Also, next time don't use the comments for reporting a problem but use the tickets.)
I can't jail offline players.
Here's the command I run to try and jail myself(from console, while offline): "jail thebeast808 30 m j:jail r:"test""
Here's the resulting error log: http://pastebin.com/raw.php?i=rxy5SuJ2
Here's the Jail version: >version Jail [21:37:38 INFO]: Jail version 2.6.3-b73
Here's the line of code causing the problem: ps.setString(12, p.getPreviousGameMode().toString());
anyone else have the issue where a jailed player is put back in their cell if they log out and then log in again? My jail has an extensive escape that no normal person could do in a single sitting, is this a bug or something I missed in the config??
@Fuusko
I think they should be facing whatever direction you're facing when you make the jail.
Is there any way to change the direction a prisoner is facing when he is jailed and released?
@graywolf336
I updated the permissions page for that perm
@graywolf336
Ticket made, thx for the thums up
@lightmaster
The permission node is: jail.cantbejailed
@dutchy1001
Good suggestion, mind going ahead and opening a ticket about it so we can reference it in the future?
Can a permission be added to "exempt" the handcuff?
I had this feature added to some moderators but they could use it against me to as server owner.
It would be nice to have an exempt perm to avoid this in the future.
@Maarten1990
There's an undocumented permission that prevents you from being jailed, you must have set it for your group, and OP obviously has it too. Look at your permissions plugin for a jail perm that sounds like you'd be exempted from jail. If you don't mind, let me know what permission it is so I can update the permissions page.
How can we test to see if the jails work? Tried to jail myself as OP and as a normal player, but everytime I try I get the message: "This player can not be jailed".
@bunnyhop100
In the rewrite which is about 10% done we will have safeguards to prevent things like that, in the current version no you'll have to make sure no one is jailed in that cell before jailing someone else there.
If a player logs out in a cell with an assigned double chest...his inventory stays permanently in that chest. However if before that player comes back another player is jailed into that cell, his (the new player)'s items do not go into the double chest and instead just disappear.
Could there be some sort of setup that either autowipes the chest's contents when a new player goes into that cell or that cell remains being considered "in use" even when the player is offline until their time is served.
Please add votejail Message Translations (global.yml) :)