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 Aug 29, 2012Don't suppose we could get this plugin updated until UltimateJail is released, could we?
-
View User Profile
-
Send Message
Posted Aug 26, 2012Can I use color codes like &4 ?
-
View User Profile
-
Send Message
Posted Aug 25, 2012I do not recomend anyone using this plugin anymore, it is out of date and unbelievably bad coded. Players wont get released, weird characters appearing in chat etc etc..
-
View User Profile
-
Send Message
Posted Aug 24, 2012i need french translator please
-
View User Profile
-
Send Message
Posted Aug 23, 2012@thernztrom
We don't really use the reason portions, and I'm not sure that I've noticed any weird characters. We tend to just use it to to jail a person in a single cell, they're not there for long because we either let them off with a warning or ban them.
My patch was mostly for the async playerchat changes, hopefully whoever is handling this now can make a real patch.
-
View User Profile
-
Send Message
Posted Aug 22, 2012@thernztrom
I have the same thing.
Also I can't send a player to a specific cell
-
View User Profile
-
Send Message
Posted Aug 22, 2012@botskonet
Does the reason show up on your signs with your version? Just downloaded your patched up version and it doesnt show the reason. Also every message begins with 2 weirds characters: https://dl.dropbox.com/u/23839404/jail.png
-
View User Profile
-
Send Message
Posted Aug 18, 2012I'm having the same issue, [SEVERE] Could not pass event PlayerMoveEvent to...
-
View User Profile
-
Send Message
Posted Aug 14, 2012I have a problem with this plugin if i jail my self of someone else and walk in the jail i get a huge error log in the console:
[SEVERE] Could not pass event PlayerMoveEvent to Jail org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:198) at net.minecraft.server.Packet10Flying.handle(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:246) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:102) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:82) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:451) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean at com.matejdro.bukkit.jail.Settings.getBoolean(Settings.java:51) at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerMove(JailPlayerProtectionListener.java:90) at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 11 more
-
View User Profile
-
Send Message
Posted Aug 9, 2012Yes... there is so much bugs in 1.3.1 1. Sings does not work (to show player name and reason) 2. Cell command does not work... I type /jail player 1 jail:cell34, and he goes into cell 12. 3. and much more... you need to fix this fast :)
-
View User Profile
-
Send Message
Posted Aug 8, 2012whenever i type the name of a cell for the jail it doesnt work im using 1.3.1 ,how can it be fixed
-
View User Profile
-
Send Message
Posted Aug 8, 2012@botskonet
Thanks much, I can't live without the jail plugin.
-
View User Profile
-
Send Message
Posted Aug 8, 2012@mikeyriver
I use WorldGuard along with jail, there is a flag in it that you can set to only allow certain commands.
-
View User Profile
-
Send Message
Posted Aug 8, 2012Since there's no activity here, I took the time to update the player chat code for 1.3. I've submitted a pull request for the current jail author... but until that's accepted you can try this:
https://github.com/downloads/botskonet/Jail/Jail-2.2.0-pre3.jar
-
View User Profile
-
Send Message
Posted Aug 7, 2012I have a problem, whenever i jail someone, he/she can easily escape by using the /home and /spawn command....how can i solve this?
-
View User Profile
-
Send Message
Posted Aug 7, 2012@bgsteiner
Jail has not yet updated to the new Async chat event... so it's going to affect performance on servers until it does.
-
View User Profile
-
Send Message
Posted Aug 7, 2012I don't have any issues with bukkit 1.3.1
-
View User Profile
-
Send Message
Posted Aug 7, 2012Is this plugin being updated to 1.3.1??
-
View User Profile
-
Send Message
Posted Aug 6, 2012@botskonet
Agreed, would be nice if we could get this plugin working for 1.3.1 at least until we have a proper release of UltimateJail, there is the tickets section (if you are logged in): http://dev.bukkit.org/server-mods/jail/tickets/
Thanks.
-
View User Profile
-
Send Message
Posted Aug 5, 2012Same error as Darkness2748. It spams the console a lot when someone is in jail, sometimes adding 2MB of text in 10 minutes. Would really appreciate it if you had a solution. If it help, I run a tekkit server.
17:53:32 [SEVERE] Could not pass event PlayerMoveEvent to Jail org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:482) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:467) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:215) at net.minecraft.server.Packet10Flying.handle(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:234) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:8 3) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.IllegalArgumentException: EntityType not instance of Living Entity at org.apache.commons.lang.Validate.isTrue(Validate.java:157) at org.bukkit.craftbukkit.CraftWorld.spawnCreature(CraftWorld.java:336) at org.bukkit.craftbukkit.CraftWorld.spawnCreature(CraftWorld.java:331) at com.matejdro.bukkit.jail.JailPrisoner.spawnGuards(JailPrisoner.java:5 06) at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPla yerMove(JailPlayerProtectionListener.java:111) at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:302) ... 11 more