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 Nov 2, 201118:18:00 [WARNING] Task of 'Jail' generated an exception java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$ValueIterator.next(HashMap.java:822) at com.matejdro.bukkit.jail.Jail$1$1.run(Jail.java:176) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
-
View User Profile
-
Send Message
Posted Nov 1, 2011@Sascraft because guards don't spawn for some reason. Maybe you have animals turned off or jail area is protected by some plugin that prevents spawning.
@hathy85 try using case-sensitive name.
@rockzx3 minutes
@kropto what is wrong with /reload?
@virology make a ticket for that.
-
View User Profile
-
Send Message
Posted Nov 1, 2011Hello. Could you split this into 2 sections? place/destroy
BlockProtectionExceptions:
-
View User Profile
-
Send Message
Posted Oct 27, 2011add reload command for mysql data.
-
View User Profile
-
Send Message
Posted Oct 26, 2011If I jail a prisoner for the time of 1 how long is that? minutes, hours,?
-
View User Profile
-
Send Message
Posted Oct 26, 2011I am using this plugin and it seems there is a problem. When i say /jail hathy_85(my minecraft name) 1 jail:Cell1 Test it jails me to cell5 not cell1. Is this a bug or am i doing something wrong?
-
View User Profile
-
Send Message
Posted Oct 25, 2011This is a very nice plugin. Keep up the good work.
-
View User Profile
-
Send Message
Posted Oct 22, 2011Hi, I'm French, sorry for my English langage.
I use this plugin et and I have de problem :
When I use "escape", player can escape jail. (there is an error in the documentation "esacpe")
When I use "teleport", player is teleported on the jail spawn.
When I use "guards", player us teleported on the jail spawn ....
Why does not guards?
SasCraft
-
View User Profile
-
Send Message
Posted Oct 21, 2011pls fix all errors
-
View User Profile
-
Send Message
Posted Oct 18, 2011Everyone, post errors to tickets, not comments.
-
View User Profile
-
Send Message
Posted Oct 17, 2011when someone is finnished jail sentence
[WARNING] Task of 'Jail' generated an exception
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$ValueIterator.next(Unknown Source)
at com.matejdro.bukkit.jail.Jail$1$1.run(Jail.java:176)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
-
View User Profile
-
Send Message
Posted Oct 17, 2011I keep getting this error on shutdown:
Other plugins installed: Factions, MinecraftViewer, mcMMO, mcbans, WorldEdit, HeroSpawn, and CraftBukkituptoDate
CRAFTBUKKIT RB #1317
-
View User Profile
-
Send Message
Posted Oct 15, 2011i keep getting spammed with
2011-10-15 23:18:59 [SEVERE] Could not pass event PLAYER_INTERACT to Jail java.lang.NullPointerException at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerInteract(JailPlayerProtectionListener.java:184) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:265) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592) at net.minecraft.server.Packet15Place.a(SourceFile:57) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) 2011-10-15 23:18:59 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? 2011-10-15 23:19:00 [SEVERE] Could not pass event PLAYER_INTERACT to Jail java.lang.NullPointerException at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerInteract(JailPlayerProtectionListener.java:184) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:265) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592) at net.minecraft.server.Packet15Place.a(SourceFile:57) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
-
View User Profile
-
Send Message
Posted Oct 15, 2011@matejdro
no console errors, only teleports me back and says "Do not try escape from the jail" :( Here, I even uploaded the global.yml, maybe i did something wrong there? Link Removed: http://www.mediafire.com/?dablzxbvd2ahw62 Please Help
-
View User Profile
-
Send Message
Posted Oct 14, 2011@canibal1997
Any info in console?
-
View User Profile
-
Send Message
Posted Oct 14, 2011Help me please. I set the PlayerMoveProtectionAction on guards but it still teleports me back to jail. if i just type escape in player protection then i just escape without any guards, teleports work too, but guards not :( please help.
thats what i typed ^
-
View User Profile
-
Send Message
Posted Oct 13, 2011Is register required as a plugin or just in the lib folder? because Register no longer works as a plugin!
-
View User Profile
-
Send Message
Posted Oct 13, 2011when i use command from console
07:48:17 [WARNING] Unexpected exception while parsing console command org.bukkit.command.CommandException: Unhandled exception executing command 'jailcheck' in plugin Jail v2.0.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:351) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at com.matejdro.bukkit.jail.commands.BaseCommand.execute(BaseCommand.java:24) at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:242) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 7 more
-
View User Profile
-
Send Message
Posted Oct 13, 2011Norwegian Translation Here: http://dev.bukkit.org/paste/4079/
-
View User Profile
-
Send Message
Posted Oct 12, 2011Are jailed users able to use buttons and levers? Is there a config setting for that?