NPC Police (Policing, Bounty, Jails, and more!) icon

NPC Police (Policing, Bounty, Jails, and more!) -----

Implement a justice system on your server / network



[​IMG]
THIS PLUGIN IS NO LONGER MAINTAINED!
About the plugin:
NPC Police provides servers a system for implementing a judicial system. It provides a structured jail system, NPC based police force, incarceration system, bounties, and general mayhem deterrent.

Features:
  • Base settings configurable at many levels.
    • Server (Config.yml), World, Regions, Jail, and per NPC
  • Customization of bounties
    • based on damage dealt, murders of NPCs / Players, PVP, Escapes
    • Add or subtract bounties based on status, (Wanted, In Jail, Escaped, in a cell at night/day)
  • Define your own bounty to time served
    • Global, per World, or per jail!
  • Customizable message system
    • Limit alerts/notices based on the distance to the activity, or jail
    • Set the delay or time it will take to reach each player based on distance (News can travel fast, or slow, you decide)
  • Define what NPCs are protected globally, Regions, or per NPC
  • Enable NPCs to only attack what they can see
    • Custom line of sight system that can also see through windows, iron bars, ice based on how transparent they are.
  • Ability to confiscate the player's inventory upon arrest, as well as multiple methods to return it.
    • Ability to configure items as banned, and they are never returned upon arrest.
  • Customizable commands for many events
    • Globally or per world:
      • NPC Warnings, Alerting Guards, Alerting (No guards in range), NPC Murders, Players becoming (Wanted, Arrested, Escaped, Released)
    • Per Jail
      • Arrested, Escaped, Released
  • Each jail can be customized
    • Jails name
    • Multiple cell locations
    • Bounty per second spent
      • Out of a cell during the day or night
      • In the jail
    • Bounty per PVP damage in jail
  • This system also extends some of your other plugins feature sets
    • Worldguard (More flags available to support customization of your worlds)
      • Set the bounties for PVP, NPC Damage, NPC Murders, Time spent Escaped or Wanted
      • Set NPC defaults (Does not override settings on an NPC directly, just at the server or world level)
      • Define regions to auto-flag players with a status upon entering.
        • Ability to require line of sight with an NPC. Transparent blocks, glass, etc all have levels that affect sight.
        • Add a bounty when flagged
        • Send a message to the player when caught!
    • PlaceholderAPI
      • Offers several variables to display elsewhere.
        • Users: Bounty, TotalBounty. Current Status, Prior Status, Current JailName, Last assault/Murder/Arrested date or time in hh:mm:ss, Times Arrested/Escaped/Murders
        • Global: Most wanted user (Bounty, Status, Name), Closest Jail
    • BetonQuest
      • Provides extra Events, Objectives, and Conditions to build even more in-depth quests/stories
    • LeaderHeads
      • Users love nothing more than looking at who is the worst or best criminal across your network (MySql, or Server via SQLite)
      • Top Current Bounties, Latest/Most Arrests, Latest/Most Escapes, Most Murders, Highest total bounties

Required Plugins:
  1. Vault (Economy & Permissions)
  2. Citizens2 (NPC interaction)
  3. WorldGuard (Jail region management)
  4. Sentinel
Quick Tutorial:
  • Download the latest version of the plugin and place it into your plugins folder.
  • Start the server, it will auto-create a default config (plugins/jailer/config.yml)
  • Edit the file and setup the worlds (or copy the default for each that you want the plugin to function in)
  • Create a worldguard region covering your jail area [/region create tutorialjail]
  • Create a jail /np createjail {short name} {region name} {Display Name}
    • /np createjail tutjail tutorialjail Tutorial Jail
  • Now add cells, stand in the cell where you want players to be sent. type /np addcell
  • Create an NPC in or around your jail that players can access from inside
    • Select that NPC and type /np npc
    • Click on the X inside the menu option. It should turn to a checkmark. That person now accepts right clicking.
  • Create an NPC outside the jail
    • equip them with a weapon
    • For Sentinel use the following commands:
      • /trait sentinel
    • type /np npc
      • Check the box for guard, should show a checkmark now
      • Check the box for LOS Attack
  • create another NPC to attack within 25 blocks of the guard
    • Attack it, and you should see a warning or bounty. The Guard should start attacking once you harm the NPC enough.
    • When in jail, right-click the NPC you created in there and a menu should come up.
  • Quick visual layout of a simple jail.
    • 1: I tend to place the judge/jailer in a location that both outside players and arrested players can interact with them.
    • 2: Cells are the locations I use to set where the player will be sent to after being arrested.
    • 3: Create a method to get out, I use iron doors to ensure the NPC guards cannot get into the jail (Tend to use a set of two to ensure they do not get into the jail)
      • If a player leaves the jail region, they will be converted to escaped and using Sentinel or sentry you can have the guards hunt them down.
upload_2016-4-25_22-52-28.png


Videos of features:

Servers running this plugin:
  • Pigcraft Reborn @ mc.pigcraftreborn.net (Running on the PVP server) [1-11-2020 Offline?]

Enjoy!
Capture.PNG
JailPlugin.gif

Stats:
[​IMG]
Enjoy!

* This plugin uses the plugin Metrics system. If you want to disable it, open /PluginMetrics/Config.yml and set opt-out to true. Mostly for my curiosity :)
Resource Information
Author:
----------
Total Downloads: 45,196
First Release: Jul 16, 2015
Last Update: Jun 27, 2022
Category: ---------------
All-Time Rating:
45 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings