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
@josip1
I've already expressed how much I hate that idea. I won't do that.
Is it possible that the time they are jailed for is gametime not overall time?
and if they afk for more than 5min they get kicked....
@ProjectNarna
I am not new to coding but I have never done any minecraft modding =/ (Well, I tweaked a few things in my SSP). Seems like a simple little plugin to write I just have no experience with Bukkit. But I figured it could be a very popular extension, one that I would certainly like.
But modding is something I have been putting on my to-do list a long time and this is actually the first time I've had an idea I've liked haha...
Hence the Bukkitdev account
@TiberiusXVI
Why not write a plugin that executes the jail command when on a PlayerDeath event?
I would be your best friend if you added a sort of death jail functionality to this (maybe in extension).
Basically, I was just looking for something exactly like this except for ONE thing. I want players to go to jail when they die. So it is really inconvenient to die because you end up stuck in some cage that you have to find your way out of or perhaps wait. There would have to be someway of triggering the unjail as well (like a portal I guess), and it would ideally unjail to spawn (or just unjail them over a pit I suppose, but that kills a bit of the RPG-ness). Perhaps you could even allow a way to post bail for your friend. Anyway, this will allow for a psuedo-hardcore server in which dying is not impossible to return from but really inconvenient. This could patch up the ultimate problem with a fully hardcore server: your friends keep having fun without you.
It could be used to make a time-out chamber or a fight-to-respawn arena or a labyrinth or a sort of sneak-adventure escape. I suppose if an admin was really ambitious they could even do a full server-within-a-server jail server where it was possible to return into a much better "real server" playing environment.
You see, I like those ghost-on-death mods, but they seem a little too...easy.
And you could wrap it all up into an extension like SimpleDeathJail. Powerful death jailing. Easy to use. Period.
I was going to write the plugin myself, but you already have something so close to what I want. Why make something so much like it? If you can add an unjail portal, a configurable bail, and make someone the jail group on death you are pretty much done. And if you do it I don't have to learn Bukkit API right now, haha. Plus I may be on to a good idea, so win-win right?
Good plugin btw. Sorry about posting a book.
Edit: Typos grr.
@jordanrracer
Hey everyone, sorry for the slow update. I finally found the problem, and it should all be fixed in 2.0.3. You may have to unjail/rejail players who were jailed in the last version, but all new players should work fine.
same problem
Right now there's a small fix, just stay on the version before this update and it still works. The only problem with the older version is that when you jail someone it says "jailed [your name, not the player's name you jailed]" instead. That's really all thats broken though on the old update. So hopefully we can wait it out 'till the developer can fix the unjail point bug.
@imjake9 Can you help us?
I'm having the same issue that everyone else seems to be having. The plugin works great, except that a player, when unjailed, is teleported back to the jail point as opposed to the unjail point.
@maxco1
Same.
Hi everyone! I have a problem with this plugin: I've set the jail point and the unjail point, so when I jail someone is ok, he goes in the jail, but when I unjail the console says: You've unjailed user ; but he stays in the jail. In the config file the coordinates are different but it doesn't work! Thanks Max.
I can't get Simplejail to work with the latest update you released. I'm on Bukkit 1.2.5 R4 and when I unjail someone now they don't get teleported to the unjail point, they go to the same jail point that they originally get sent to again..
Plugins: AntiCheat Backup BlockDisguise ChatManager ChestShop CommandBook creativecolours.2 DisguiseCraft DrugModv4 EasyEnchant iConomy Lockette LogBlock MobCatcher MineReset MobDisguisePVPControl Modifyworld OpenInv PaidRanks SimpleJail simplyvanish SuperpermsBridge-1.2 TalkAs TreeAssist Vault VirtualChest WorldEdit worldguard-5.5.2
@imjake9
I have done as you said, and the problems are gone. nifty. thanks a bunch!
@Dibujaron
No problem! I understand that it can be frustrating. Just so you know, WordPad is, like Notepad, included on every copy of Windows. Notepad is very limited, so if you're getting strange things, try opening the file in WordPad.
@imjake9
alright thanks a lot. sorry for sounding a bit short with you. just frustrated. WordPad, you say? I'll have to look into that.
@Dibujaron
While I'm not entirely sure what's going on, it's not SimpleJail's fault, either way. It's probably an issue with either PermissionsBukkit, or it's a problem with how the YAML is saving. However, this sounds like it's being caused by Notepad's inadequate support of Unix-style line breaks. Try opening the file in WordPad instead; it should work properly.
Hey this screws up my PermissionsBukkit config every time I put someone in jail or take them out. I added a jail group to the config, so I don't know what it's doing... it replaces every "enter" with 2 spaces. very frustrating. keep on having to use backups. Am I doing something wrong? Help please! I like this plugin more than the other jail ones but it'd be nice if that didn't happen!
Raises one eyebrow at the use of Vault with no permissions plugin....
@imjake9
I'm also getting that message and I do have permissions installed. Also using SimpleJailCells. Using PEX.