Real Jails
This plugin simply improves the meaning of jails.
Most plugins provide a system to jail a person, and stop them from doing stuff in there, but when they log off, and log on few hours later, they will find themself unjailed! This plugin will also cancel most actions a player can take, but on top of that, it only counts down when a player is online! This means they can log off whenever they want, but will not be able to perform certain actions untill the timer ran out.
I put a lot of effort and work into my plugins and take care of the smallest details. Care to buy a man a drink?
Most plugins provide a system to jail a person, and stop them from doing stuff in there, but when they log off, and log on few hours later, they will find themself unjailed! This plugin will also cancel most actions a player can take, but on top of that, it only counts down when a player is online! This means they can log off whenever they want, but will not be able to perform certain actions untill the timer ran out.
Features:
- Jail any existing player, online or offline (v0.2.09+)
- Their jail counter only runs while they are online
- Check the jail status of players
- Change actions players can take in jails (v0.4.34+)
- Very customizable messages
Usage:
- Download Jails.jar and drop in plugins folder
- Start server to generate config files
- Optionaly modify config.yml and restart server
- You are ready to use this plugin!
| Command: | Permission: | Description: | Since: |
|---|---|---|---|
| /ojail create <jail> | jails.create | Create a new jail at your current location. | v0.0.35 |
| /ojail delete <jail> | jails.delete | Delete the given jail. | v0.0.35 |
| /ojail jail <Player> <Jail> [DateDiff] | jails.jail | Jail the given Player to the given Jail, if no DateDiff is given will jail for roughly 68 years. | v0.0.35 |
| /ojail unjail <Player> | jails.unjail | Unjail the given Player | v0.0.35 |
| /ojail check [Player] | jails.check | Shows your status, shows status of given Player if provided | v0.0.35 |
| /ojail list [Page] | jails.list | Show the available jails | v0.2.09 |
| /ojail setting <Jail> [Setting] [Value] | jails.setting | Change the given setting of the given jail to the given value, if no setting and/or value is given will show overview of the settings for the given jail | v0.4.34 |
Note:
- This plugin uses an UUID Fetcher <s>which runs on the main thread, I am working on making it run on a seperate thread.</s> which runs on a seperate thread!
Todo:
- <s>Add support for offline players</s>
- <s>Make unavailable actions per jail?</s>
- Post suggestions in the Comments below!
I put a lot of effort and work into my plugins and take care of the smallest details. Care to buy a man a drink?
-
View User Profile
-
Send Message
Posted Nov 30, 2014The new VERSION don't work....
-
View User Profile
-
Send Message
Posted May 25, 2014@AquaXV
My ideas don't point toward a prison server. If I had a prison server, though, I wouldn't exactly need the whole "do this with permissions" hassle. I'd just set someone to that group and call it a day. Problem is, my server isn't a prison server, so I can't just do that and remember everyone's previous ranks AND remember to put them back later on. ;)
If you want to know where I'm
stealing"pulling" my ideas from, take a look at SimpleJail (plugin is outdated). It has some of the features I described.So let's take my example with warping. I don't want regular, ol' innocent players warping into my prisons (to which they can't get out). Nor do I want them nasty convicts warping into the outside world, which defeats the point of being detained. In a prison server, there's probably only a prison to play around in (and if there's more, the highlight of the server is the prison system) so this sort of permissions handling isn't all that necessary.
@Plumeex
This is just my opinion, but I feel like those commands/mechanics belong to other plugins, as this is a jailing plugin, and should strictly stick to all things relating to jailing. Muting and auto AFK kicking can be found in other plugins that aren't strictly made for jailing.
-
View User Profile
-
Send Message
Posted May 22, 2014Nice! Just what I was looking for. :)
I have more suggestions for you:
Thanks a lot if you can add this. Peace! c:
-
View User Profile
-
Send Message
Posted May 22, 2014@CommodoreAlpha
Aaah forgot about the respawn location! Thanks for the notification!
This plugin was made as a jail plugin itself, not as a Jail server plugin, I like your ideas but they seem to point towards a Prison server (Please correct me if I am wrong).
The command structure for doing /ojail jail p:<player> j:<jail> etc seems like an awesome idea, I would have to modify the DateDiff registration though, it currently grabs all words behind the jail name and throws them in the "time scanner"; the following results are legit DateDiffs:
95, 55m, 3 y, 2 mon, 1da. As you can see it takes all arguments and checks them. I will deffinitly look into this. But first, lemme take a se-, no wait.. wrong one; But first, let me update the teleport on respawn bug :)
-
View User Profile
-
Send Message
Posted May 21, 2014@AquaXV
Sorry for sounding pushy, but I wanted to reiterate this question first from my previous comment: "Also, when players die, will they respawn at their "jail point", whether it's the jail-location or jail-cell-location? (If you decide to add jail cells.)"
If you decide to use a dependency, you could probably use Vault as it's pretty much a one-stop shop for hooking into permissions plugins in general. The problem with restricting certain actions is, how would one go about restricting them without potential plugin conflicts? Permissions would be a clean solution to this, but trying to consider all the possible actions you'd want to block could be a hassle.
Let's take, for example, teleportation. I want to block all teleportation outside of the "prison" (which is a structure with an arbitrary perimeter, and NOT a region recognised by another plugin). But I want teleportation within the prison to still be possible to inmates only. Let's see how I can approach this without permissions.
First off, if you give the ability to block commands via this plugin, I'd have to block all teleportation commands and their aliases. So that would include, but not be limited to: "/tp <arg>"; "/home"; "/warp <name>"; "/sethome"; "/teleport <arg>"; etc. Then, I'd somehow have to make certain commands available to only inmates, presumably also provided by this plugin, like "/warp <exampleplace1>" and etc.
With permissions, I can simply give nodes to deny most forms of teleportation, and give special nodes to allow certain forms of teleportation. Also, most people have Vault on their servers already, as it's pretty much needed for... anything.
I've no problem with making "DateDiff" a mandatory argument, and I think it should be mandatory, but other people could think otherwise (I myself would never be hasty enough to give a permanent sentence). Another solution would render both arguments (reason and DateDiff) optional, but would also be bulky at the same time. If you're familiar with CoreProtect's command structure, you could do something like "/ojail jail p:<playername> j:<jailname> t:<time> r:<reason>" so that whatever arguments can be optional are made optional, and the order of the arguments won't matter.
And thanks for considering all of my ideas and taking your time to make the plugin! I appreciate it. :)
-
View User Profile
-
Send Message
Posted May 21, 2014@CommodoreAlpha
Awesome suggestions! I will deffinitly make the first one available in an update in the near future!
I made the starting changes to make the second suggestion possible, and it might be added very soon ;)
The third suggestion would force me to use dependencies which I absolutely hate, So if this is possibly without the use of dependencies I will consider it.
And the fourth suggestion, that would leave me to force the user to give a DateDiff if they want to specify a reason. So I am not quite sure how to implement this. Thoughts?
Nonetheless, Awesome suggestions, Thanks!
-
View User Profile
-
Send Message
Posted May 20, 201468 years? Looks like I'm going to need parole. :)
Anyway, I have four suggestions to make:
Also, when players die, will they respawn at their "jail point", whether it's the jail-location or jail-cell-location? (If you decide to add jail cells.)
-
View User Profile
-
Send Message
Posted May 16, 2014@oBiggyz
Thanks for the suggestions, I added the amount of jails counter! (You can find it back in /ojail check [Player]) Sadly I won't add a jail reason, that would break the DateDiff option on jails.
As for the punishment, I will keep this in consideration for a future build.
Thanks!
-
View User Profile
-
Send Message
Posted May 16, 2014Nice plugin , i think u can counting how many times player entered the jail and do some punishments like : ban, mute, etc.. & u can do custom jail reasons like swearing griefing etc.. & do custom punishment too & let the custom jail args like this: /jail <player> [reason]
-
View User Profile
-
Send Message
Posted May 15, 2014@osm131
I made this plugin purely as improvement to essentials jails. Do you have suggestions for features?
-
View User Profile
-
Send Message
Posted May 15, 2014add more features please feels like essential except for the ojail spice it up