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

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

Implement a justice system on your server / network



It's the little things that can also be the biggest influence
Fixes:
  • None
Changes:
  • Upon a player paying another users fine or their own, the jailed user will be sent to the jails exit point if one is set.
Additions:
  • Player interaction commands:
    • jailplayer [--player <name>] [--jail <jail>] [Seconds]
      • This sends a player to a jail, omit the jail option to send to the closest jail. Otherwise, it will send them to the jail you select, or are standing in.
      • If you omit the seconds argument, it will use whatever bounty they have. If you add seconds, the command will calculate the time based on world settings, jail etc to figure out the bounty to add to the user to equal that time.
      • @Dard gets credit for this request
    • unjailplayer [--player <name>]
      • Releases a player from jail. This removes their bounty as well as sets them to a free status.
      • @Dard gets credit for this request
  • WorldGuard Flags:
    • np-af-cooldown:
      • This flag stacks onto the np-af-bounty flag, with this you can provide a cooldown for the bounty. Setting it to 60 would only apply the bounty amount every 60 seconds while in the specific region.
  • API
    • PlayerManager.releasePlayer()
      • Use this to release the player from jail. It will clear bounty, send them to the exit point if set, remove from all groups, and set the status to free.
    • PlayerManager.getBountyPerSecond()
      • This will return the bounty that could be awarded to a player per second for the region they are currently standing in.
----------, Feb 11, 2017
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