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.
Hello :) I am currently using this plugin & LOVE IT! One question, how can I "ExecuteCommandsOnJail" / "ExecuteCommandsOnRelease" for each cell? I figured out how to do this within a certain jail instead of globally (below). How can I do this only for one cell? I am using RSC (RedstoneCommand), so each time I jail/unjail someone, the cell door opens/closes using the RSC plugin. Can someone help me on how to format it so that each cell can have seperate commands to execute when jailed/unjailed like I said above? Help appreciated :)
My format to execute commands differently for each jail:
jail1: Protections: EnableBlockDestroyProtection: true ExecutedCommandsOnJail: - rsc cell1 ExecutedCommandsOnRelease: - rsc cell1
@matejdro
its in the changelog, couldn't find it anywhere else... a notification on top of the Jailpay page would be nice
Excellent job, I'm using this for my server that's public:D
@tehCrush
It should already be there.
Please add the requirement of "register" to support economy plugins. Had a hard time figuiring that out xD
Edit: The Setup-instructions were the place i would suggest.
does this require bukkit
Yes
loopy make a ticket for that
I was wondering if you could make it so when you ban a player it deletes people from the jail database because when you try to jail other players it shows as there cell being occupied.
The signs dont update for me i have to suicide so they update. any one know how to fix that.
@pieguy754 and @tihmstar i dont know how to make them hostile but you guys may know this already i just change the thing that said PlayerMoveProtectionAction: guards to PlayerMoveProtectionAction: esacpe this way i dont have to worry about the wolves. i like them but when ever someone leaves it spawns thousands behind them and then you have to kill them all so i will wait for an answer on that but untill then im going to use escape. escape means it teloports them back.
if any one know how to fix my sign problem that would be great!
@pieguy745 i think i've the same problem
my friend can't find the properties to change the setting to the wolves are hostile and not just running around and then we have to kill them all
timistar make a ticket
why there spawn unlimited friendly "guards" on my server in place of 3 evil "guards"?
doesnt solve the problem. Craftbukkit Build: 1488 my config:
SelectionTool: 268 ExecutedCommandsOnJail: [] ExecutedCommandsOnRelease: [] DeleteInventoryOnJail: false AutomaticMute: false NearestJailCode: nearest StoreInventory: true SignText: <Player>[NEWLINE]<TimeS>[NEWLINE]for[NEWLINE]<Reason> CanPrisonerOpenHisChest: true LogJailingIntoConsole: false CountdownTimeWhenOffline: false SpoutChangeSkin: false SpoutSkinChangeURL: http://www.minecraftskins.com/view/168701.png ManualJails: [] ManualCells: [] ReleaseBackToPreviousPosition: false IgnorePrisonersSleepingState: true EnableJailStick: false JailStickParameters: 280,5,10<sub>police;50,5,20</sub>admin Protections: EnableBlockDestroyProtection: true BlockDestroyPenalty: 15 EnableBlockPlaceProtection: true BlockPlacePenalty: 10 BlockProtectionExceptions: - '59' EnablePlayerMoveProtection: true PlayerMoveProtectionPenalty: 30 PlayerMoveProtectionAction: guards PreventCommands: - /spawn - /kill - /warp - /home CommandProtectionPenalty: 10 PreventInteractionBlocks: - '69' - '72' - '70' - '46' - '64' - '96' PreventInteractionItems: - '326' - '327' - '259' InteractionPenalty: 10 EnableExplosionProtection: true EnablePVPProtection: true EnableChangingPermissions: false PrisonersPermissionsGroups: - prisoners RestorePermissionsToEscapedPrisoners: true MaximumAFKTime: 5.0 EnableFoodControl: true FoodControlMinimumFood: 2 FoodControlMaximumFood: 5 JailPay: EnableJailPay: false PricePerMinute: 10 PriceForInfiniteJail: 9999 Currency: 0
Guards:
GuardHealth: 20
GuardDamage: 2
NumberOfGuards: 5
GuardInvincibility: false
GuardAttackSpeedPercent: 100
RespawnGuards: false
GuardTeleportDistance: 10
@ScottSpittle make a ticket
@tihmstart decrease number or guards.
when a prisoner try to escape there spawn unlimited "Guards" but they dont kill them. If i dont let him escape my server crashes because of the many "Guards"
Bukkit Dev 1467
Get 05:13:42 [SEVERE] Could not pass event PLAYER_TELEPORT to Jail
java.lang.IllegalArgumentException: Health must be between 0 and 8
at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:40)
at com.matejdro.bukkit.jail.JailPrisoner.spawnGuards(JailPrisoner.java:513)
at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerMove(JailPlayerProtectionListener.java:107)
at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerTeleport(JailPlayerProtectionListener.java:160)
at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:316)
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:390)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:357)
at net.minecraft.server.Packet10Flying.a(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
ok so when i go through step one for setting up the jail, i go from one corner, at the top most level, then the across from it i do the bottom corner, how would i set more for the same jail? it shouldnt be too small, its a huuge area
@jasiu2002 create a new ticket with error
@riolu447 you can already do that with jailstick feature
@ag55 you need CB 1337
@ScottSpittle make ticket about that
@lawliet555 make ticket
@karlkorv errors?
@drknss620 either too small jail or you have not selected floor and/or ceiling.