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.
I have a small problem when I arrest someone, does not appear to Rasão on board, only the name and time!
Sorry my mistakes in English, I'm Brazilian :D
Hello everyone. I have recently been set as the Project Manager of this plugin and I am about 5% through of rewriting the entire plugin as that was how we felt was best for the plugin to be better supported in the future.
I have uploaded a new build which is awaiting approval. This new build should contain some code to make it more stable and removes the ConcurrentModificationException. Please do note that saving of player inventory is still not fixed and most likely won't be until the rewrite is completed, sorry about that and yes I know it does stink but I want to get the rewrite completed.
@WauloK Once the new version is uploaded, let me know if you're still having the problems.
@HaLCoN747
Not too sure I understand what you are saying...
@LordLeonheart
Yeah that's a known caveat, will be fixed in the rewrite.
Armor isn´t stored. So when a Player´s jailed an released he has no armor anymore. Please fix that.
Hello. I have a small problem..
For example:
- Jail have 1 or more prisoners
- Prisoners have items in his chests
- Prisoner_1 in cell1, Prisoner_2 in cell2
- cell3,cell4... empty
- When server restart prisoners may be in a different cells (ex. Prisoner_1 in cell2, Prisoner_2 in cell3), but items still in cell1|cell2 chests
- When prisoners released, items Prisoner_2 returned to Prisoner_1 and Empty cell3 chest to Prisoner 2, items Prisoner_1 still in cell1 chest
CanPrisonerOpenHisChest: false
Got a ConcurrentModificationException:
http://pastebin.com/xyMkn86S
Jail v2.5.6 for CB 1.6.2-R0.1 Aug 25, 2013
There is a mistake in the text - at the beginning is a &2
click here
Can you perhaps have an alternative host for the devbuilds? I meet Bandwith Limit Exeeded when i try to reach them...
@graywolf336
Thank you, that fixed it. I feel like a noob that I missed that. Thank you so much.
@GeekTechMedia
You don't have a valid database connection string in your config file.
Anyone know how to fix this?
2013-09-25 12:47:37 [INFO] [Jail] Disabling Jail v2.5.6 2013-09-25 12:47:37 [SEVERE] java.sql.SQLException: invalid database address: localhost:3306/jail 2013-09-25 12:47:37 [SEVERE] at org.sqlite.JDBC.createConnection(JDBC.java:74) 2013-09-25 12:47:37 [SEVERE] at org.sqlite.JDBC.connect(JDBC.java:64) 2013-09-25 12:47:37 [SEVERE] at java.sql.DriverManager.getConnection(DriverManager.java:571) 2013-09-25 12:47:37 [SEVERE] at java.sql.DriverManager.getConnection(DriverManager.java:215) 2013-09-25 12:47:37 [SEVERE] at com.matejdro.bukkit.jail.InputOutput.createConnection(InputOutput.java:58) 2013-09-25 12:47:37 [SEVERE] at com.matejdro.bukkit.jail.InputOutput.getConnection(InputOutput.java:43) 2013-09-25 12:47:37 [SEVERE] at com.matejdro.bukkit.jail.InputOutput.freeConnection(InputOutput.java:77) 2013-09-25 12:47:37 [SEVERE] at com.matejdro.bukkit.jail.Jail.onDisable(Jail.java:98) 2013-09-25 12:47:37 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219) 2013-09-25 12:47:37 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:481) 2013-09-25 12:47:37 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:401) 2013-09-25 12:47:37 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:394) 2013-09-25 12:47:37 [SEVERE] at org.bukkit.craftbukkit.v1_6_R2.CraftServer.disablePlugins(CraftServer.java:281) 2013-09-25 12:47:37 [SEVERE] at net.minecraft.server.v1_6_R2.MinecraftServer.stop(MinecraftServer.java:349) 2013-09-25 12:47:37 [SEVERE] at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:445) 2013-09-25 12:47:37 [SEVERE] at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 2013-09-25 12:47:37 [SEVERE] Error occurred while disabling Jail v2.5.6 (Is it up to date?) java.lang.NullPointerException at com.matejdro.bukkit.jail.InputOutput.getConnection(InputOutput.java:46) at com.matejdro.bukkit.jail.InputOutput.freeConnection(InputOutput.java:77) at com.matejdro.bukkit.jail.Jail.onDisable(Jail.java:98) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219) at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:481) at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:401) at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:394) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.disablePlugins(CraftServer.java:281) at net.minecraft.server.v1_6_R2.MinecraftServer.stop(MinecraftServer.java:349) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:445) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Not sure what I have done wrong.
nevermind! i fixed it. i case some of you want to fix your own problems you can paste your YML code here: http://yaml-online-parser.appspot.com/ it will tell you if you have errors and where.
Thanks for reporting these bugs, these will hopefully all be fixed in the revamp we are currently working on
When I jail people their chest doesn't contain their items?!?!? What do I do?
can i report a bug here?
i have installed the plugin and it works. creating a jail, jailing and unjailing works great, but every change i make in the config does not change anything in game. the penalties stay the same, i cant use guards and more.
is this my own stupidity or is it really a bug?
Help! When i jail someone, if they even move their cursor a bit they get 30 minutes more time.
@multidude
Awesome guys, thanks :D This is a very cool plugin, but the latest bug I seem to have is that it will not accept any changes I make to the original config. It keeps the same original settings even though my new config has the changes. Very strange!
Look forward to the new update!
Heyyyyyyy Guys...
All those y's probably weren't needed but meh..
Me and graywolf336 will be teaming up to do a complete revamp of the project, updating everything and hopefully fixing all of the bugs.
This will mean however that there will be a gap where there will be less / no updates whilst we are working on this however it will be worth it. The plugin will run a lot better with less errors and will be easier to add more features and fix future bugs.
Thanks for the Patience :D
@gidon010
I did encounter that error and did post it as a ticket. We will look look into this issue right away.
For anyone else having problems with the plugin, or would like to suggest ideas for the plugin, please post a ticket.
Hello, Can you fix that, when player is offline in World1 and the Jail is at world2... When I try to jail, it doesn't work, it just say error, Can you fix that?
@MineCola
I think there is a plugin, that does something like that. I am not sure what is the name of the plugin.
However our plugin does support an API to "Jail". So if someone makes, it, you can use with with this Jail plugin.