Jail: Version: v1 Description: This is a very simple plugin that I wrote to achieve a simple task. It will allow you to jail a player in a place you define as an admin. The time that the player is jailed is paused when they log out. So, you can jail them for 2 minutes, and if they log out after 1 minute and come back in an hour, they will still have a minute left in jail. Features: * Jail players for x minutes * Jail times that persist when a player logs out, they must complete their sentence! <font color="rgb(136, 136, 136)"><Edit by Moderator: Redacted mediafire url> <Edit by Moderator: Redacted mediafire url> Commands: * /jail <user> <time in minutes> eg. /jail jonny 5 ; this would jail the user jonny for 5 minutes. * /setjail ; this command sets the jail as your current position * /settown ; this command sets the town (out of jail point) as your current position * /unjail <player> ; this command unjails a player and moves them to the town location Permissions * JailPlugin.jail: Authorizes a user to jail another user. * JailPlugin.unjail: Authorizes a user to unjail a jailed user. * JailPlugin.setjail: Authorizes a user to set the jail point. * JailPlugin.settown: Authorizes a user to set the town point. Changelog: Version 1: * Jail plugin is born! * Added /jail * Added /setjail * Added /settown * Added /unjail Notes: I was asked to change the name of this plugin, but I really don't know what to call it other than Jail, it's a simple jail meant to be used in conjunction with other plugins to secure the jail area.
Please change the name. There is already a plugin named "Jail". Things you need to do to get this into the plugin releases section: 1. Dev-Bukkit page. Suggestions: 1. Dropbox download link instead of a Mediafire one please. 2. Pictures/Videos.
I hate to say it, but this is a pretty useless plugin when people who have been jailed are able to warp away. Also if you set a jail point inside a building and the doors aren't locked with LWC they can simply walk right out. With all due respect to the author, this needs work.
Thanks for the feedback, this plugin was never intended to meet a certain set of requirements or re-do what others already do. I wrote it for my own server and as such was able to take advantage of pre-existing functionality in plugins I was already using. WorldEdit/Guard allowed me to handle all of the zone permissions for the jail so there was no reason to write that into this plugin. In fact, the only reason I wrote it was because there wasn't one with a persistent timer that could be paused when the player logged out.
Well, I didn't see that when I was looking for a plugin, and honestly don't see it on their page now; maybe I'm blind. Oh well.
@jihadjonny Pff I think they removed the option, I know they had the option to require players to stay online to finish the sentence but now I can't find anything about it, neither in the source code :/ well, anyway. @md_5 what's wrong with mediafire ? from all the annoying hosts out there this is a good one.
I posted my source so that anyone can see how I went about pausing a timer in java (By default you cannot)