Police

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

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


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit