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.
-
View User Profile
-
Send Message
Posted Jul 9, 2013Using CB 1.6.2 with Jail 2.5.0 and get this whenever I try ti jail someone:
2013-07-09 21:07:42 [INFO] §7[SimpleWarnings] §cError: §forg.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin Jail v2.5.0
-
View User Profile
-
Send Message
Posted Jul 8, 2013Will update to 1.6.2 as soon as possible. Waiting for bukkit to update :D
-
View User Profile
-
Send Message
Posted Jul 6, 2013@MGbeenieboy
Send a ticket and maybe give a little bit more info. If you have a copy of the error message you get then that would be useful :D
-
View User Profile
-
Send Message
Posted Jul 6, 2013using the newest spigot build and Jail v2.5.0 on my 1.6.1 server i got the "an internal error occupured..." error :(
-
View User Profile
-
Send Message
Posted Jul 2, 2013There will be another update pretty soon updating the plugin to 1.6 :D
What Features would you like to see added to the plugin?? Comment with your ideas :D
-
View User Profile
-
Send Message
Posted Jul 1, 2013I keep getting '[Jail] Configuration entry missing: AllowUpdateNotifications' when It is already in the config file I tried to delete the config file to let it regenerate and it still shows
-
View User Profile
-
Send Message
Posted Jun 30, 2013Update has been posted, waiting for approval :D
-
View User Profile
-
Send Message
Posted Jun 30, 2013@Manafii
Have you got any more information?, any errors in the console? What version are you running etc.
-
View User Profile
-
Send Message
Posted Jun 29, 2013I'm having trouble installing this plugin. I put the jar in my plugin folder, but when I restart my server, it doesn't create the jail folder.
-
View User Profile
-
Send Message
Posted Jun 29, 2013@TNTCreeperKingMC
This has already been fixed in the next update which will be coming soon :D
-
View User Profile
-
Send Message
Posted Jun 29, 2013@multidude
Yes i do!!
2013-06-23 16:54:58 [INFO] TNTCreeperKing issued server command: /jail GoldyLocx_1_1 1 ServerJail1 Cell1 Test 1
I type in that command above ^ ^
And then this happened on the server!!
V V
2013-06-23 16:54:58 [SEVERE] null
org.bukkit.command.CommandException Unhandled exception executing command 'jail' in plugin Jail v2.4.1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523)
at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerConnection.java:971)
at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.java:889)
at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:846)
at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292)
at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:115)
at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.ArrayIndexOutOfBoundsException 37
at net.minecraft.server.v1_5_R3.TileEntityChest.setItem(TileEntityChest.java:96)
at org.bukkit.craftbukkit.v1_5_R3.inventory.CraftInventory.setItem(CraftInventory.java:82)
at com.matejdro.bukkit.jail.PrisonerManager.Jail(PrisonerManager.java:115)
at com.matejdro.bukkit.jail.PrisonerManager.PrepareJail(PrisonerManager.java:40)
at com.matejdro.bukkit.jail.commands.JailCommand.run(JailCommand.java:107)
at com.matejdro.bukkit.jail.commands.BaseCommand.execute(BaseCommand.java:30)
at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:164)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more
-
View User Profile
-
Send Message
Posted Jun 28, 2013@RainbowDashBrony64
I'm having same problem...
-
View User Profile
-
Send Message
Posted Jun 27, 2013There should be an update coming pretty soon. The update is currently in the testing stage and will be released shortly.
Here is the current list of changes in the update:
v 2.4.5 ChangeLog:
-
View User Profile
-
Send Message
Posted Jun 26, 2013@TheN3roGuy
I'll look into this :D
For now try setting UseBukkitSchedulerTimer to false and see if that makes any difference
-
View User Profile
-
Send Message
Posted Jun 26, 2013Okay it seems to me that this plugin is downright broken/im and idiot who cant set this up.
now here are my issues and if anyone knows why its not working for me then please tell me what a muppet i am and how to fix:
1. time doesn't go down. people do /jail (name) 5 and the jailed person is forever stuck with 5 mins
2. when /jail (name) 5m is done the jailed player is jailed forever
3. with the (apparent) correct perms /jailmute does not work.
-
View User Profile
-
Send Message
Posted Jun 25, 2013@multidude
thx for the reply.
-
View User Profile
-
Send Message
Posted Jun 24, 2013@dutchy1001
This has already been reported and should hopefully be fixed when the next update comes out :D
-
View User Profile
-
Send Message
Posted Jun 24, 2013When a player has OP status it gives me this [servere] error message in console when he/she hits an other player. It happens with when using tnt aswell and someone gets blown up. The weird thing is, it wont happen when shooting with bow and arrow(hitting with the bow gives the error again)
I can't understand why this error comes up when the player hasnt been jailed.
greetz dutchy
-
View User Profile
-
Send Message
Posted Jun 24, 2013Getting this error whith /unjail <player>:
http://pastebin.com/ZmGKRPZ6
-
View User Profile
-
Send Message
Posted Jun 23, 2013@TNTCreeperKingMC
Do you get any errors in the console?