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

-
View User Profile
-
Send Message
Posted Mar 14, 2012@imjake9
Thanks :-)
btw.... whats the difference between these 2 commands ?
/jailtime
/tempjail
and how do i put someone in jail for 10 hours ? /jail briankdk 10h ? or do i use /tempjail briankdk 10h - is there a list of commands anywhere ?
-
View User Profile
-
Send Message
Posted Mar 13, 2012@wizard__zorander
I suppose I could, but I question what exactly the problem is? How are the teleports "failing"? If they're throwing an error of some kind, moving the code would help, but otherwise I'd have to reorganize the unjailing system to make sure the player is teleported.
-
View User Profile
-
Send Message
Posted Mar 13, 2012Can you make it where it teleports you after you have been unjailed? Not before? It fails the teleport if your unjailed at this point. Based on your permissions. It needs to change the permission when your unjailed and then teleport you.
-
View User Profile
-
Send Message
Posted Mar 13, 2012@briankdk
Well, I don't really know why it was happening in the first place, but it shouldn't ever happen now in 1.7.8. Just redownload SimpleJail.
-
View User Profile
-
Send Message
Posted Mar 13, 2012@imjake9
happend again :-(
-
View User Profile
-
Send Message
Posted Mar 12, 2012@briankdk
I'm not quite sure why the jailed.yml is doing that, so I'll have to look into it. As for the spawning outside of jail, that would be a Minecraft bug, not SimpleJail. You can try making the jail bigger or try and get a plugin that fixes the glitch. Also, not all players having a status is normal, so don't worry about that.
@juodas
The latest version works with 1.2.3, but sorry, there is no video. It's pretty self-explanatory, though.
-
View User Profile
-
Send Message
Posted Mar 12, 2012Where is a link for CB 1.2.3? And is there any video?
-
View User Profile
-
Send Message
Posted Mar 11, 2012@nguagemaster
change your permissions so that jailed players dont have any permissions....
-
View User Profile
-
Send Message
Posted Mar 11, 2012@imjake9
I allready did that..... dident help.... But havent had the problem since yesterday.
But i have some other strange thing..... sometimes jailed players spawn outside the jail - they can then move aound on the server (they vant do anythin because the have no permissions (i have set up permissions for jailed persons in PEX) - but how come they sometimes spawn outside the jail ??
And why does some of the jailed players dont have a status in the yml file (vupviking spawned outside jail earlyer today, i had to unjail and jail him again):
-
View User Profile
-
Send Message
Posted Mar 11, 2012the problem is they can still break and place blocks and respawn at spawn fix plz
-
View User Profile
-
Send Message
Posted Mar 10, 2012@briankdk
I have no idea why the jailed.yml is like that, but you can try just stopping the server and deleting the jailed.yml, then starting it again.
-
View User Profile
-
Send Message
Posted Mar 10, 2012ok, thx
I have 2 times now (for the last 24 hours) been getting startup errors......
Reason is that the jailed.uml has been changed to this:
danielghana: groups: - Member status: !!com.imjake9.simplejail.SimpleJail$JailStatus 'JAILED'
Do you have ANY idea whats causing the change:
status: !!com.imjake9.simplejail.SimpleJail$JailStatus 'JAILED'
Because that gives this startup erroe:
-
View User Profile
-
Send Message
Posted Mar 9, 2012@briankdk
Not much, it just adds Vault support. If you use PEX or PermissionsBukkit, everything will be exactly the same, and you don't even need to install Vault. If you use a different permissions system, like bPermissions, then you can use Vault now to use SimpleJail with that system.
@Switch0r
Hmm... well, SimpleJail isn't really designed to have preventative measures like that implemented. Perhaps you could find a plugin to disable the use of enderpearls which is controlled via permissions? Or you could request a plugin to fix the glitch. Either way, I don't think SimpleJail will support such a system. Sorry.
-
View User Profile
-
Send Message
Posted Mar 9, 2012Great plugin but people can still get out a jail with an enderpearl glitch.
Can you block them or do i need some other plugin for blocking?
also a public msg when someone is jailed is cool :)
-
View User Profile
-
Send Message
Posted Mar 9, 2012what has changed in this update ?
-
View User Profile
-
Send Message
Posted Mar 9, 2012@Cory_
Have you set the unjail point using /setunjail?
-
View User Profile
-
Send Message
Posted Mar 8, 2012Beta Testing Bukkit 1.2 Dev #2044
Set Jail: Success
Jail User: Success
Temp Jail User: Success
Moved User to Group Jailed: Success
User Able to Use /jailtime: Success
Moved User from Jailed Group to Previous Group: Success
Unjail User: Moved back to previous location and then 'fell out of world' happens on Temp Jail too.
-
View User Profile
-
Send Message
Posted Mar 8, 2012@Digitalink2008
Heh, no problem. I guess it's a bit easier when I have fewer users than those huge plugins out there that get tons of requests all the time. I'm working steadily on the API, and thanks for using SimpleJail!
-
View User Profile
-
Send Message
Posted Mar 8, 2012Ha! You rock man. You impress me all the time with how fast you respond to us needy admins.
Thanks much!
PS: am lookin forward to your new API :)
-
View User Profile
-
Send Message
Posted Mar 8, 2012@Digitalink2008
Nevermind, you're good! Vault support is in SimpleJail 1.7.7, so you can use bPermissions+Vault, and SimpleJail will continue to function as usual.