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 tried to connect with my MySQL-Database but it dosn't work. In the game i can't set new jails and jail players. For example: If i try to make a new jail (with the command) and send it into the chat there's no command back from the system. I have edited the global.yml: IgnorePrisonersSleepingState: true CanPrisonerOpenHisChest: true Database: MySQLConn: jdbc\:mysql\:localhost\:3306/name of database UseMySQL: true MySQLPassword: password MySQLUSername: username
And in my phpmyadmin panel i had added the two mysql-tables where posted in the bukkit forum.
I need some help!
Got this error, although I'm pretty sure it's something I changed/did:
17:41:08 [SEVERE] Error occurred while enabling Jail v2.0.3 (Is it up to date?): null; mapping values are not allowed here mapping values are not allowed here in "<reader>", line 83, column 52: ... lty: 5 FoodControlMinimumFood: 2 ^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:74 5) at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja va:307) at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18 3) at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par serImpl.java:564) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java :228) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java :230) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12 2) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons tructor.java:124) at org.yaml.snakeyaml.Yaml.load(Yaml.java:264) at org.bukkit.util.config.Configuration.load(Configuration.java:82) at com.matejdro.bukkit.jail.InputOutput.LoadSettings(InputOutput.java:85 ) at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:102) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:941) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157 ) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
When people join (not sure if they were jailed offline)
2011-10-10 01:13:06 [SEVERE] Could not pass event PLAYER_TELEPORT to Jail java.lang.NullPointerException at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerMove(JailPlayerProtectionListener.java:86) at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerTeleport(JailPlayerProtectionListener.java:160) at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:300) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:386) at org.getspout.spout.player.SpoutCraftPlayer.updateNetServerHandler(SpoutCraftPlayer.java:988) at org.getspout.spout.SpoutPlayerListener.onPlayerJoin(SpoutPlayerListener.java:50) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129) at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39) at net.minecraft.server.NetworkListenThread.a(SourceFile:94) 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)
@TTlabambaTT
Yeah, cells are not in order.
Make new ticket about that "sign remembering" thingy.
@matekso
Are you sure? Make a forum thread about that and include your config.
@dretax14
Sure just paste your config somewhere and send it to me.
I would just like to say i have had some problems in the past with this plugin but it is now running amazingly well with no bugs at all for my server at least. However (this is a stupidly tiny thing) I made 6 cells in quick succession going from cell1-cell6 and even though I did them in order when I list the cells they are all jumbled up this is a stupid thing but it just looks strange "cell4 cell3 cell6 cell5 cell1 cell2"
Suggestion
I would love if it were possible to write something on the sign before selecting it so when the person has left the jail it reverts back to what the sign said before.
Hi there! Found some annoying bug... The /home and /sethome command still works in spite of disabling it in the config file :/. Can you fix it, please?
Hey!I would like to translate your plugin to Hungarian from English.Is that possible?
@deleted_7536780
Oops. Redownload 2.0.3
01:35:39 [SEVERE] Exception in thread "AWT-EventQueue-0" 01:35:39 [SEVERE] java.lang.NullPointerException 01:35:39 [SEVERE] at com.matejdro.bukkit.jail.Jail$1.actionPerformed(Jail.java:224) 01:35:39 [SEVERE] at javax.swing.Timer.fireActionPerformed(Unknown Source) 01:35:39 [SEVERE] at javax.swing.Timer$DoPostEvent.run(Unknown Source) 01:35:39 [SEVERE] at java.awt.event.InvocationEvent.dispatch(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventQueue.dispatchEventImpl(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventQueue.access$000(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventQueue$3.run(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventQueue$3.run(Unknown Source) 01:35:39 [SEVERE] at java.security.AccessController.doPrivileged(Native Method) 01:35:39 [SEVERE] at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventQueue.dispatchEvent(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 01:35:39 [SEVERE] at java.awt.EventDispatchThread.run(Unknown Source)
Click download...
since 2.0.2 the time not count down
==== AAa ? Download link please !!! ====
Since 2.0.1, its now giving a bukkit is sad error. Used to work fine before that. All my plugins have support for old permissions, so did you change something?
where is the download link ? O.o
I just wanted to say - I've always loved this plugin since you first released it; it's been a real backbone of our server. I'm really glad you're keeping going with it.
Thanks for making it so awesome.
Also, if i do use the jail create command it comes up saying this: An internal error occured while trying to use this command.
Hi, im new to all the adding pluggins, do i need sqlite to use this pluggin, if i do, can u explain how to use it? Thanx
JailStick is not working! The permit registered, the /jailstick wrote. v 2.0. Bukkit 1185 In version 2.0.1 this is fixed?
config.yml ... JailStickParameters: 280,5,10<sub>police;22,5,20</sub>admin ExecutedCommandsOnRelease: [] LogJailingIntoConsole: false CountdownTimeWhenOffline: false EnableJailStick: true ...