Police
Police
Police Extension for Essentials is a plugin designed to work on top of Essentials, tracking the history of jail and ban commands and offering to automatically ban players after a set amount of jail sentences.
Unofficial & Unaffiliated with Essentials Development Team
Credits for Essentials Plugin: "Essentials is currently developed and maintained by ementalo, snowleo, and KHobbits. Many thanks to the past developers and contributors: Zenexer, Aelux, Brettflan, KimKandor, ceulemans, necrodoom and Xeology."
Please note that as an extension, this plugin requires Essentials. You can find Essentials at http://dev.bukkit.org/server-mods/essentials/
Features
Features:
- Plaintext / MySQL-logging of Jails and Bans: Who jailed/banned, when, why, for how long and where.
- Access to Jail and Ban history for staff
- Create a sign with [JailTime] in the first line and players right clicking it get their remaining jail time and the reason for their jail sentence displayed. Subsequent lines can have any kind of text.
- Expunging jail history records, e.g. if someone was jailed in error
- Automatic Ban when a player receives a configurable limit of jail sentences
Additional features may be added on request.
Permission Plugins supported:
- bPermissions
- PermissionsEX
- Essentials GroupManager
- Defaults to Op if none of the above are found
Commands
Commands:
- /jail <player> <jailname> <datediff> <reason> to jail someone, e.g. /jail test testjail 1d you grief will jail player with name 'test' in jail 'testjail' (set jails with Essentials' /setjail command) for 1d with the reason 'you griefed'
- /unjail <player> to unjail someone
- /jailinfo [optional: player] shows you target player's/your jail history
- /jailinfo delete player id expunges a jail record for player with the id you get from above /jailinfo command. Note that for SQL-based history, this is the jail record's unique id towards all other jail records in the database, so numbers will appear out of order (only for people with access to other people's jail info, the jailinfo on oneself always appears with ordered numbers)
- /jailtime [optional: player[ shows you target player's/your remaining time in jail plus your jail history
- /baninfo <player> shows you target player's ban history
- /ban <player> [optional: reason] to ban someone, if no reason is given, a configured default reason is used. Note that tempban and ipban are unsupported as of yet, if this is requested it can be added.
- /unban <player> to unban someone
You can find command aliases in the plugin.yml
Permissions
Permissions:
- police.jailinfo.self Whether a player can see their own jail info (recommended for all players)
- police.jailinfo.other Whether a player can see other players' jail info (recommended for staff)
- police.jailinfo.delete Whether a player can delete someone's jail records (recommended for trusted staff only)
- police.jailtime.self Whether a player can see their remaining jail time (recommended for all players)
- police.jailtime.other Whether a player can see other players' remaining jail time (recommended for staff)
- police.baninfo Whether a player can see someone's ban info (recommended for staff)
- police.ban Whether a player can ban someone (recommended for staff)
- police.ban.offline Whether a player can ban someone who's offline (recommended for trusted staff only)
- police.ban.exempt Whether a player is exempt from ever being banned (recommended for trusted staff only)
- police.togglejail Whether a player can jail/unjail someone (recommended for staff)
- police.unban Whether a player can unban someone (recommended for trusted staff only)
Source
Source available at github
-
View User Profile
-
Send Message
Posted Dec 13, 2013Rebuilt plugin against most recent 1.7.2 build of Bukkit and most recent Dev 2.13.40 build of Essentials. You can get a copy here: http://tidesofdawn.com/Police_v1.02.jar
Please note that this file is unchecked by the Bukkit team. I express no warranty or perfection so you use at your own risk. It is running on my server, but be sure to test for compatibility on yours. I take no credit for this plugin as I only contributed a tiny amount of tweaking needed for compatibility.
-
View User Profile
-
Send Message
Posted Oct 11, 2013While we wait for this to be updated I updated a copy myself. You can get a copy here: http://www.filedropper.com/policev101
Updated and rebuilt against Bukkit b2883.
-
View User Profile
-
Send Message
Posted Sep 8, 2013@ashash1509
I'll take a look ;)
Sorry for the absence, gonna see if I can update it :D
-
View User Profile
-
Send Message
Posted Apr 23, 2013@AtreyuMarcs
Great thanks! Is there anyway kicks and mutes could be added to this? Id really like to be able to track a players history with this kind of stuff and this plugin is well on the way to doing it!
-
View User Profile
-
Send Message
Posted Apr 21, 2013@ashash1509
No need for any updates for compatibility. As this uses the Essentials API as long as Essentials updates, this will be updated with it.
-
View User Profile
-
Send Message
Posted Mar 3, 2013Any chance of an update on this?
-
View User Profile
-
Send Message
Posted Feb 9, 2013Seem that this plugin is inactive. So, does anybody know similiar plugin to this?
-
View User Profile
-
Send Message
Posted Feb 2, 2013I have one idea to your plugin. Add /banip command too :).
-
View User Profile
-
Send Message
Posted Dec 26, 2012@dragondeatth
I see, thanks for clearing that up. I'll make a version with feature enable/disable configuration tomorrow ;)
-
View User Profile
-
Send Message
Posted Dec 26, 2012@elvaron
I'm using it for Essentials jail, because with Ultrabans you can only set one jail point, and I need multiple jails, so I have to use Essentials jail to have multiple jails. And my players keep asking me why they are jailed and how long they are jailed. This plugin helps them, cause I've inserted the [JailTime] sign in each jail. And I'm also using Essentials mute, cause the Ultrabans mute doesn't mute /msg. That's why I also need support for the mute :D
-
View User Profile
-
Send Message
Posted Dec 25, 2012@dragondeatth
Yea, working on a three-way switch: (e.g. for ban) ban-related features off, minimal logging (store what it can grab, but doesnt require reasons or anything) and full ban integration.
If you don't mind me asking, what particularly are you using this plugin for? Ultrabans seems to cover a lot...
-
View User Profile
-
Send Message
Posted Dec 25, 2012Could you also please add a place in config to disable certain options? Cause I'm using Ultrabans for my banning, and this plugin makes it bug with the command /ban :-)
-
View User Profile
-
Send Message
Posted Dec 24, 2012@elvaron
More like a predefined essentials powertool you setup in the config <ItemID>,<JailName>,<DateDiff>,<Reason> or 280,MainJail,10m,Spam
then <Player> is populated with whoever you click. So Someone using item 280 who clicks a player will jail them for 10min in MainJail for Spam as long as the Jailer has perms to use the stick, and the target has perms to be jailed with the stick. I've sent a PM with more info.
-
View User Profile
-
Send Message
Posted Dec 24, 2012@MacGyver420
It's doable, but how would you set the duration and reason? LogBlock Questioner style, à la "You have selected <playername> for custody, please enter /yes <duration> <reason> to arrest him." ?
-
View User Profile
-
Send Message
Posted Dec 23, 2012Looking forward to giving this a try. Would a JailStick feature be possible with permission to use and be stick jailed? Like an essentials powertool for jailing you could give members who dont have the jailing permission?
-
View User Profile
-
Send Message
Posted Dec 23, 2012@dragondeatth
You mean logging it and giving the mute command a reason field? Yea, that seems like a good idea.
-
View User Profile
-
Send Message
Posted Dec 23, 2012Can you add support for Essentials mute too? :D