SimpleJail
This plugin gives bare basic jail functionality. It allows you to set two points: the Jail point and the Unjail point. Then, when you jail a player, he/she will be teleported to the jail point and demoted to the Permissions group specified in the config.yml. Unjail will re-promote the player and teleport back out of the jail to the unjail point.
SimpleJail 3 is now complete! It is a complete rewrite from the ground-up. It shares no code with SimpleJail 2.x. However, the featureset has remained exactly the same. This does not mean that it's just a useless update, though, since it basically makes the codebase maintainable again. This will hopefully make updates less of a chore in the future.
Please note, SimpleJail 3 is not backwards-compatible. You cannot just drop it in and expect everything to work. You must delete the SimpleJail data folder before running SimpleJail 3. Fortunately, I don't expect this to be too much of a hassle since the plugin is so simple. While I have tested SimpleJail 3 thoroughly, since it is completely new, it may have bugs. Please, if you find any, report them here, do not just leave a comment on this page. Even if it's a feature request, feel free to open a ticket there. It's easier for me to manage issues there than it is on a comment page.
Finally, about the future of SimpleJailCells: it is not currently updated to work with SimpleJail 3, but I would like to do so sometime soon. With a completely new version with a new API, I think I can get something working, but it's a tricky issue. I'm still somewhat opposed to adding cells as a core feature, simply because I'm worried about feature creep, but I haven't ruled it out yet.
Thanks for sticking with SimpleJail.
Features:
- Use /setjail and /setunjail to easily set the two teleport locations
- Set the group that jailed players will be demoted to in the config file
- Players' initial groups are saved, so a normal jailed player will revert to a normal rank when unjailed, and a player with the VIP class will revert to the VIP class
- Works with Vault
- Players in jail will respawn in jail
- You can tempjail players who will be automatically unjailed after a set time
- You can jail/unjail players even while they are offline
Permissions nodes:
- simplejail.jail — Allows the use of /jail
- simplejail.unjail — Allows the use of /unjail
- simplejail.setjail — Allows the use of /setjail and /setunjail
- simplejail.jailtime — Allows the use of /jailtime
- simplejail.* — Allows all SimpleJail commands
Please see my Ticket, I really need help
For some reason, unjail always teleports the Unjailed to the Jail point again, instead of the unjail point.
Can you add pls multiple languages... its would be very helpful :)
This plugin doesn't work for my server. Every time I type in the command /setjail the chat just disappears and nothing happens. What is the problem?
@janie177
hi, I can help you here. you need to create a group called jailed, simplejail normally creates this. if not just create it. This group must not inherit default, and give it a false value permission node for whatever spawn tool you are using eg: permissions.command.spawn: false
What I have done is created a nether world as my jail, jailed players have no right to shout (global chat), they can only spawn to the worlds spawn, they cant pm, have beds, locks on chests, access to any town features etc, basicly they have nothing but netherrack and no features, as far as im concerned players can rot in there until they get let out, or not.
This strategy works well, as it adds to the "feat" factor, as some people will hun down new jailees for their gear (lack of food in there) so if you want to keep the stuff you jaile with you basicly have to hide or fight.
As for groups, it will drop them out of their existing group and store their previous groups, when/if they get unjailed they will return to their previous grouping.
This is a neat plugin and does exactly what it says without added non-related bull. good work imjake9
Morlanius PS: if you want to see what we have done with it check out our server at mc.lifemud.com
Hey, I like the plugin but I have some questions. When I jail someone, He keeps his rank. All jailed players are also able to just teleport out. I'm using permissionsbukkit.
23:37:58 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin SimpleJail v2.0.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NumberFormatException: For input string: "543263425234" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at com.imjake9.simplejail.SimpleJail.parseTimeString(SimpleJail.java:817) at com.imjake9.simplejail.cells.JailListener.handleJailCommand(JailListener.java:106) at com.imjake9.simplejail.SimpleJailCommandHandler.dispatchCommandToListeners(SimpleJailCommandHandler.java:287) at com.imjake9.simplejail.SimpleJailCommandHandler.onCommand(SimpleJailCommandHandler.java:50) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
ohh..... this was to wonderful to be true...
hhmm... I don't think this plugin is compatible with group manager. It keeps disabling itself because of that. Could you add this to your "todo" list?
Still using 2.0, might be smart to update soon. xD Just had a question. It seems i'm only able to jail players for hours and minutes. Could you make it possible to jail for days and weeks too? If its already possible in later versions, than sorry for asking before trying. xD
Nice!
Are the permissions compatible with bPermissions?
@imjake9
if you search back in the thread, you will see all the errors - there has been alot of different errors because of the wrong name....
After changeing the name, so they are identicaly - your plugin again works FLAWLESS :-)
A request: Is it possible that people will be unjailed to the location they were at when they were jailed ?
@briankdk
...that shouldn't cause the plugin crashing. What happened?
@briankdk
I FINALLY FOUND OUT THE ERROR !!!!
Cant belive that neither of us found it before now !!!!!
Find one error here:
HINT: unjailworld is not the same as jailworld !!!
So when i changed world and did jail and unjail it only updated jail world.....
maby you can update the plugin to notice that error so if someone does the same the get a message "jail and unjail world is not the same!" and not just the plugin crashing ;-)
7 months...that i hasent worked for me - FINALLY !!!!!!!!!!!! When i had to unkail anybody i had to stop theserver, edit the jailed.yml, and edit the Permission.yml, and start the server again - <sub>, so im sooooo glad it finaly works !</sub>
Also if there can be aperm for announcing when someoneis unjailed. As opposed to it only appearing in console
Hey! Awesome plugin. I understand it's still in development but I am going to offer some suggestions, 1.) Ability to set it in the config so that time HAS to be parameter 2.) Ability to set more than 1 jail havin it automatically pick a jail for you depending on how many people there are in the other jails.
Im not sure if u can add this or make it a stem like cells is but its feature request nonetheless. When i have some extremley annoying jailed people or if theyre really in trouble i put them in my own custom made solitary confinement and mute them. I was wondering if it could be added as a command to put them into ur own s.c. place and then mute them.
Just thought of this as typin. spout feature. they get a straight jacket
I also posted it on ur forums page as i prefer that site over the dev.
@donquiche
That's why you make a Prisoner group and give that group no permissions... Common Sense
@donquiche
Sigh. Read the comments. Read the post. I won't answer this question again.
a simple command like /home or /suicide , and everybody is free ....