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

Implement a justice system on your server / network

  1. Nutty101
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    • 1.18
    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.

    • 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.

    Videos of features:

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



    * 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 :)

Recent Reviews

  1. Tonypatil
    Version: 2.5.2
    I like it so much specially best for survival server. This plugin needs ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐. Only the issue is there is no proper tutorial
    1. Nutty101
  2. BaconJr
    Version: 2.4.7
    I keep getting this :( can help me please? i really wanna this plugin running on my server :D

    22.04 19:27:58 [Server] WARN [NPC_Police] Failed to extract default file (en_def-npcpolice.yml)
    22.04 19:27:58 [Server] INFO [NPC_Police] MC Version found (MC: 1.16.5)
    22.04 19:27:58 [Server] INFO [NPC_Police] Citizens (2.0.27-SNAPSHOT (build 2290)) found, NPC trait enabled.
    22.04 19:27:58 [Server] WARN [NPC_Police] BetonQuest not found, quest support disabled
    22.04 19:27:58 [Server] INFO [NPC_Police] HolographicDisplays V(2.4.6) found, Holograms now supported
    22.04 19:27:58 [Server] WARN [NPC_Police] Loaded class org.mcmonkey.sentinel.targeting.SentinelTargetingHelper from Sentinel v2.2.6-SNAPSHOT (build 408) which is not a depend, softdepend or loadbefore of this plugin.
    22.04 19:27:58 [Server] INFO [NPC_Police] Sentinel (2.2.6-SNAPSHOT (build 408)) was found, adding support for sentinel in locations.
    22.04 19:27:58 [Server] ERROR [NPC_Police] Worldguard not found, region support disabled
    1. Nutty101
      Author's Response
      Can you msg me on my discord, or in the discussion with mc build etc? Not sure why its failing to write the language file out.
  3. U-ENERGYoff
    Version: 2.4.5
    Too hard to understand this plugin. Wiki has no extra information I need. "RespawnArrest" option does not work.
  4. heyybro
    Version: 2.4.3
    Are there placeholders to set in a scoreboard? like featherboard or quickboard? If you responde me i'll put 5 stars
    1. Nutty101
      Author's Response
      Not to be rude, but saying you will reward 5 stars for responding on here is umm childish. Yes, there are placeholders on the WIKI, no I cannot put the link in here. Hit me up on discord, or in the discussion forums. Be amazed quick of support you get by just asking in the proper channels.
  5. oldmandan777
    Version: 2.3.4
    Developer is amazing. Super friendly, quick response. Love this plugin, adds depth to NPCs and the jail system is easy to navigate!
  6. kashten
    Version: 2.3.2
    why is my language setting not changing its going back to default? please get back to me thanks
    1. Nutty101
      Author's Response
      Replied to your PM The issue is that you cannot edit the en-def file. You need to make your own and then only apply the lines and sections you want to change. I will then read the default language if it does not exist in the new language file. Also, reviews are not for support :)
  7. jfdkjfakdkm
    Version: 2.2.140
    Yes, the plugin works, but it wasn't what I expected, I wanted players to be cops as well, and moderators to jail other players that I don't see any sense in the plugin. I don't know if you could upgrade to make it more fun
    1. Nutty101
      Author's Response
      That is the #1 request of this plugin. It's in the works, but it's not going to be a simple update on this plugin. Due to where this plugin started as it was really only for NPC's, i am re-writing it all ground up to allow for things like this. The down side, is that the upgrade path will be not be straight forward. I will maintain both versions for a while though to allow others to utilize this one in future MC versions.

      For staffers you can use commands like /np setbounty # and /np jailplayer to send them to jail. Setjailseconds is handy to ensure they cannot just pay their way out.
  8. LoJoSho
    Version: 2.2.138
    A unique, fun, and amazing plugin that my players both love and hate! It is an amazing addition as it provides so many more possibilities for an RPG such as ours!

    Thank you so much!
    1. Nutty101
      Author's Response
      Glad to hear it! Always good to see people finding a fun use of the plugin.
  9. Jwguy
    Version: 2.2.123
    A wonderful plugin, and with one of the most supportive authors I've had the pleasure of working with. Clean Code, Good Support, and a unique and novel idea that I've personally had a lot of fun with on our Survival RPG server.
    1. Nutty101
      Author's Response
      Sorry for the delay, been busy. Thanks for the review and hopefully its added a bit to your server's environment.
  10. attila1405
    Version: 2.2.123
    Hi, At server startup, it gives me no error. When the first player enters, he gives me this error:

    [14:28:05 WARN]: at net.livecar.nuttyworks.npc_police.database.Database_MySql.getUserData(
    [14:28:05 WARN]: at net.livecar.nuttyworks.npc_police.database.Database_MySql.processQueue(
    [14:28:05 WARN]: at
    [14:28:05 WARN]: at
    1. Nutty101
      Author's Response
      Put this in the discussion area for me. Reviews are not a place I can assist you.