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 Feb 1, 2012Any plans to support bpermissions?
-
View User Profile
-
Send Message
Posted Jan 31, 2012@ForsakenRealmz
Something like that would not be handled by SimpleJail. You might, however, be able to find a plugin that can do that for your jailed group.
-
View User Profile
-
Send Message
Posted Jan 31, 2012Is there by any chance you can make it so people cannot speak once in jail? Or do you know of a permission node for Permissions that does not allow the person to speak.
-
View User Profile
-
Send Message
Posted Jan 31, 2012@ChrisGWard
It uses superperms. The reason Vault is useful is that it provides a system for modifying users' permissions. You see, while superperms has a unified API for permissions node checking, it has no group system and no good way to modify a users' permissions based on a plugin like PermissionsBukkit or PEX.
Vault adds a unified API to do things like change a player's group or modify a group's permissions, which are not available under the base superperms API.
-
View User Profile
-
Send Message
Posted Jan 31, 2012Instead of Vault based permissions, consider using SuperPerms. This is built into Bukkit and is supported by almost every permissions plugin. The permissions check is as simple as player.hasPermission("perm.node"); and only requires a little bit of setting up in the config.yml. Why there are so many recent plugins that require vault is beyond me.
-
View User Profile
-
Send Message
Posted Jan 31, 2012Hey imjake9,
just wanted to say thanks for the plugin. Its simple and to the point. I dig that and it works well. Keep up the good work man. Oh and per the conversation about how time ticks away. I given the option i would still have time tick while the player is off line. Just jail em for more time if i like.
:)
Thanks man, D.
-
View User Profile
-
Send Message
Posted Jan 30, 2012Thanks for fixing the permissions nodes. :)
I read a few comments down that there is still this idea forcing players to be online for their jail time to tick away will cause them to never return. I welcome anyone to visit www.minetown.net, a top 25 server according to minestatus. Check the ban forums and you will see a year's history of players being forced to sit in jail, sometimes up to 8 hours (extreme, but for example i should mention it) and STILL keep on playing.
Even jailed/(temp)banned players continue to make donations (over $18,000 and counting).
Point being, if the server is good enough the players will come/return. Just like with the AFK thing, leave it up to the server owners. Not every situation is the same.
-
View User Profile
-
Send Message
Posted Jan 30, 2012SimpleJailCells is now in development. Please see the stickied forum thread for more info.
-
View User Profile
-
Send Message
Posted Jan 30, 2012@bigscary
I'll take a look at Vault, though I'm not sure I'd use it anyway. We'll see. As for the jailing vs banning, I like Jailing more since players can come online and chat, and this plugin allows the jails to be very flexible. It also allows tempjailing, which is better than a simple tempban plugin for the same reasons.
@WingedSpear
First of all, I don't like GroupManager. I never have and I probably never will. Also, the whole make players be online seem still feels awkward and odd. I am adding an API to SimpleJail (which will be the cells system), so maybe someone could implement it through that?
-
View User Profile
-
Send Message
Posted Jan 30, 2012@bigscary
u dont get what we are talking about, force players to stay online not is litterally, it mean they have to stay online for count the minuts, so if they are not online, the time dont count, thats it.
And ya, its true, jailing players have no sense if u are able to BAN em, thats why the feature of forcing em to stay online should be in simplejail, at that way the Jail its a different punishment than BAN.
@imjake9
Dooooont support Vault!!!!, Vault its not supporting GroupManager cuz the Developer of vault dont want to work on it, also GroupManager is better than PEX, pex have too many buggs with a lot of the plugins like Jobs, plz dont support vault.
-
View User Profile
-
Send Message
Posted Jan 30, 2012@imjake9
For permissions, consider Vault. I used it in my plugin, and it will both expand your permissions support to more permissions plugins, and simplify the interface for managing permissions.
On making users stay online, it'll never happen. Minecraft client will never add a feature that will prevent players from joining the servers they want (League of Legends has such a feature). Even if you could somehow cancel the "logout" event, there's nothing to stop a player from closing his Minecraft client or rebooting his machine.
This next comment isn't at all a swat at your plugin - but why jail players at all? It seems like a very complicated problem to get right, when you could just /ban them and let them make their case for /pardon via email or your server's forums. Not only is ban simpler, easier to use, and guaranteed to work every time, but when the offending player isn't online, he's not taking up a player slot another nice player could use, and he can't look for other ways to make a nuisance of himself (like spamming the chat). I've never understood the jail as a punishment concept?
-
View User Profile
-
Send Message
Posted Jan 29, 2012@Switch0r
It currently does use setgroup. Sadly, PermissionsBukkit has a very poor API, so it's hard to manage the permissions as powerfully as I'd like. Sorry!
-
View User Profile
-
Send Message
Posted Jan 29, 2012Can you make it so that it uses "/perm player setgroup playername group".
I think it uses "/perm player addgroup" now and that makes my permissions config file very big with new default users every time someone is jailed. (using permissionsbukkit)
brandonspark:
groups:
- default
Or does it remove when he is unjailed?
Thanks, best jail plugin ever.
-
View User Profile
-
Send Message
Posted Jan 28, 2012@imjake9
Thx, thats it, maybe, some day u will find how nice is forcing prisioners to stay online, i know this is one of the most popular jail plugins cuz it work fine, thats why i wanted that feature here, the other ppl dun have experience with jail plugins so these plugins dont work fine, if u add all the prosible features this one gonna be the most used plugin for jail, like iConomy is the best for economy.
-
View User Profile
-
Send Message
Posted Jan 28, 2012@WingedSpear
Sorry, I didn't mean to offend. I was a little caught up in the other stuff, but I'll respond now.
I will consider adding it. I understand that some people will design a jail where a system like this is plausible. However, I still think that the system is flawed, and that it will cause people to leave your server because they don't want to be forced to sit around.
I guess I can implement it, but that doesn't mean I think it's a good idea.
-
View User Profile
-
Send Message
Posted Jan 28, 2012@imjake9
at least answer us...ignoring ppl is not a solution, we are just suggesting stuff for improve the plugin, we are not forcing u to do that, most of the plugin developers like to read suggestions and have feedback with the users, and u are closed to the suggestions.
at least if u for real dont want to work in our suggestion tell us a real answer, cuz that one its not a real one, ur worried about afkers?, the most of the basic command plugins work on the afking problem (essentials, bencmds, etc..) so thats not the problem, and worried about forcing em to do nothing? if they are in the jail, is cuz they deserve that punishment, also thats the point, if they close the game for wait they are gonna look for another server or game and thats not good.
open un mind, we are not attacking =), good luck
-
View User Profile
-
Send Message
Posted Jan 28, 2012@imjake9
Thanks For That, it has solved the problem :D
-
View User Profile
-
Send Message
Posted Jan 28, 2012@danielford166 @richboos
Fixed in version 1.7.4. Sorry for the inconvenience!
-
View User Profile
-
Send Message
Posted Jan 28, 2012Ok I have put this plugin on my server and have setup permissions as shown (I will only put important bits):
and
But as a Basic Mod it doesn't allow me to use /jail <Player> and gives me u do not have permissions for this and says the permission node I already have :S
-
View User Profile
-
Send Message
Posted Jan 27, 2012@imjake9
Regarding the AFK issue you presented; there is no reason you would need to address AFK players should you accept WingedSpear's timing suggestion. There are other AFK plugins that exist that have nodes like afk.ignore that could be given to all groups sans the jailed one. Let permissions and other plugins worry about the afk issue, don't let it be a reason not to implement the online-countdown feature request. A server I play on uses that method. While you and I may not agree on it being a "terrible idea" just know that the scenario does work for well other servers- It is really punishing to be forced to stay online and stay active in a cell. And it works without whatever jail plugin they use managing AFK players.