Sueta

Simple Police

6.1.4

All in one police plugin!

·Plugin

Simple Police is an extremely configurable police plugin with many features.

Features

  • Jailing System
    • Payment to police on player arrest
      • Percentage of player's balance
      • Fixed value from player's balance
      • Fixed value from server
    • Withdrawal from player on arrest
      • Percentage
      • Fixed value
    • Configurable baton type
  • Frisking System (Contraband Items, supports Quality Armory)
    • Cooldown between frisks on a player
    • Percentage chance of finding an item in an inventory slot
    • Configurable baton type
  • Police Chat
    • Toggleable
  • 911 System
    • Messages online police
    • Provides player coordinates
  • Police Teleport
    • Teleports to a player a random number of blocks away (distance is configurable)
  • Safe Regions
    • Prevents players from being arrested
  • Jail Time GUI
    • Selectable jail duration
  • Jails
    • Custom jail locations
    • Automatically load balances to put players in emptiest jails
  • API
    • More Details

      Maven Repo:

      <repository>
                 <id>jitpack.io</id>
                 <url>https://jitpack.io</url>
             </repository>
      <dependency>
             <groupId>com.github.fierceeo</groupId>
             <artifactId>simplepolice</artifactId>
             <version>Tag</version>
         </dependency>

      Java docs:
      https://ci.codemc.io/job/fierceeo/job/SimplePolice/JavaDoc/

      Getting the api instance:

      SimplePoliceAPI api = (SimplePoliceAPI) Bukkit.getPluginManager().getPlugin("SimplePolice");

      Note: your plugin will have to depend (or soft depend) on SimplePolice to use the api

Basic Plugin Operation
Adding a police:

  1. /police admin police add (username)

Jailing a player:

  1. /police admin jail add (jail name)
  2. attack a player with a baton (default: blaze rod)

Jailing a player (via command):

  1. /police jail (username)

Adding an item to the contraband item list (adds the item in your main hand):

  1. /police admin frisk add

Frisking a player:

  1. Right click a player with the frisk baton (default: blaze rod)

Calling 911:

  1. /911 (message)

Police Teleport

  1. /police tp (username)

Toggling Police Chat

  1. /police chat

Config
The config file is explained here:
https://github.com/fierceeo/SimpleP...in/src/main/resources/SimplePolice.properties

Localization
This plugin can be localized into any language that UTF-8 supports.
The messages file is explained here:
https://github.com/fierceeo/SimpleP...Plugin/src/main/resources/Messages.properties

Support
If you need support join the discord server: https://discord.gg/rxzHRHcC7W

Similar projects

Plugin →