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 Jun 2, 2014@JohOply
Had to tried reading the documentation for it? Or watch the video?
-
View User Profile
-
Send Message
Posted Jun 1, 2014@JohOply
Try posting this as a ticket rather as a comment.
-
View User Profile
-
Send Message
Posted Jun 1, 2014When a player is jailed by the swear system, inventory is cleared, even after release :/
-
View User Profile
-
Send Message
Posted Jun 1, 2014Hi !
How does "jailvote" command work ?
-
View User Profile
-
Send Message
Posted May 25, 2014config doesn't work. I set something (penalty for breaking blocks) to false and set the penalty time to 0, but it still raises the time. I restarted the server after doing the setting.
-
View User Profile
-
Send Message
Posted May 23, 2014@asmit119
I haven't tested that at all..
@mbilardie
It has been kept in mind and Jail 3.0 already has support for it. 3.0 hasn't been released yet as not every feature is complete, still a work in progress.
-
View User Profile
-
Send Message
Posted May 23, 2014In 1.8 people can change their names and be not jailed anymore, unless it uses the UUID so please think of this comment before updating it, thanks for reading :)
-
View User Profile
-
Send Message
Posted May 15, 2014Sorry to be bothersome once more. BTW new update fixed all problems Thank you!
I have been trying to use the Swear feature, and when I set Enabled to true, and players swear, nothing happens. Am I missing something?
-
View User Profile
-
Send Message
Posted May 12, 2014@asmit119
No, it is fixed in an unapproved version 2.6.5. It is waiting for approval from the Bukkit Dev staff.
-
View User Profile
-
Send Message
Posted May 12, 2014@graywolf336
Is this fix in Version 2.6.4 now?
So I just redownloaded 2.6.4 and re added the jailing system. Here is what I experienced. In the first 30 seconds I had over 50 150ms spikes.
After doing a /jailclearforce the lag instantly vanished, when there was only 1 offline player even jailed. Any solutions to this that dont involve me clearing jailed players? Also when even adding just one person to a jail the spikes returned. So it isn't just an offline players issue. I just cant run the plugin with the lag it is producing right now. Appreciate what you guys do. Hope to see an improved version soon!
-
View User Profile
-
Send Message
Posted May 11, 2014@asmit119
As Jail 3.0 isn't going to be released in the next week(s), I've did a fix which should stop the high drop in TPS when using Jail due to the blocking nature of getOfflinePlayer. The only time the plugin calls getOfflinePlayer in the scoreboard manager is when the plugin first starts up, this way we don't have to call after the server is up and going.
-
View User Profile
-
Send Message
Posted May 11, 2014I believe this is scoreboard related. Please let me know any possible fixes in near future.
Thanks!
Would like to add that while I LOVE the plugin, I have had to remove it from the server as a result of this to remove all the lag it caused. Would greatly appreciate an update or response asap.
-
View User Profile
-
Send Message
Posted May 9, 2014@MrRhino27
Slowly working on getting better performance and then a new one will be released. After that, we'll then focus on the remaining features left to do and then additional features.
-
View User Profile
-
Send Message
Posted May 9, 2014Any idea when a new Beta build will be out? It really doesn't have enough features for me to use it yet. :/
-
View User Profile
-
Send Message
Posted May 1, 2014@graywolf336
Sure! Posted.
-
View User Profile
-
Send Message
Posted May 1, 2014@dickwick
Mind opening an issue on GitHub? That way we can handle it there..
-
View User Profile
-
Send Message
Posted May 1, 2014I was playing with latest GitHub builds. Should be block place/break and interaction protections working? Because it seems that it does not.I have 'cobblestone' and 'log' and 'snow' in protection list, but none of them is destructable.
-
View User Profile
-
Send Message
Posted Apr 28, 2014@Max633
.....mate! You do realize what you just did? Build #32 is Jail 3.0 and is a beta build, I sure hope you didn't blindly put that jar into your plugins folder and then restart without backing up your databases and all that...but if you did, let me know how it went.
And the reason it is fixed is because Scoreboards are disabled by default, that's what was causing the issue due to Bukkit's blocking call to getOfflinePlayer which is used by the scoreboards.
-
View User Profile
-
Send Message
Posted Apr 28, 2014Jail v2.6.4-b77 Total: 285.496 s Pct: 74.10% Pct Total Pct Tick Total Avg Count Event 74.10% 10,573.66% 285.489 s 5286.8299 ms 0.05k Task: (interval 50) Show rest...
Problem resolve... With your last build #32
-
View User Profile
-
Send Message
Posted Apr 28, 2014@DeadIntermediate
No. 3.0 will.
@Max633
What doesn't work about it?