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

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

Implement a justice system on your server / network




1.19 support, and support for older or newer versions of Citizens. Fixes the assumepose method missing error.
----------, Jun 27, 2022

Just adding support for 1.18.2.
----------, Apr 18, 2022

What else is there to say?
----------, Dec 4, 2021

Thanks to @Whydoidothis on discord for pointing out another one :)

Fixes:
  • The stats were a tad borked. This resolves capturing the attacks, between sessions. /np mystats
----------, Oct 18, 2021

Thanks to @Whydoidothis on discord for pointing it out and poking me to get this fix out.

Fixes:
  • The chat system might error our and not send anything to the players. This was due to it not using the correct method to send the messages.
  • Turns out the menu was broken when a user was allowed to be a bounty hunter and you were on < MC 1.13
----------, Sep 13, 2021

Thanks to @Whydoidothis on discord for pointing it out and poking me to get this fix out.

Fixes:
  • The chat system might error our and not send anything to the players. This was due to it not using the correct method to send the messages.
----------, Sep 13, 2021

Additions :
  • Added /np menu to allow users to access the GUI menu from anywhere. Add npcpolice.gui.command to perms for access. Credit for the request goes to IzzyVale from my discord.
Fixes :
  • Fixed an issue with the language file not self updating.
----------, Jun 19, 2021

Fixes :
  • 1.17 works as well as it can work at the moment.
  • An issue with the MySql side not storing data correctly. Thanks to @地方的小哥哥 for pointing it out.
----------, Jun 15, 2021

  • Fixes:
    • Users were unable to pay their own fine's even when they were given the 'npcpolice.fines.payown.always' permission.
      • The gold bar would show up in the menu, but upon clicking it would tell the user they couldn't pay for various reasons. This has been resolved.
        Credit for pointing this one out goes to @Enderslayer1938 off my discord channel.
----------, Apr 19, 2021

Fixes :
  • There are load issues with Denizen and this. If you have issues with Denizen and this, contact me for some help. If I add citizens as a depends then Denizen will not detect Citizens.
----------, Feb 3, 2021

Additions :
  • Bounty hunters
    • Players can now take a job and hunt other players
    • There are no checks on the last player that arrested a player, so there can be balance issues with this feature if a player gets bounty and has a friend capture them over and over.
    • Just grant the permission: 'npcpolice.jobs.bountyhunter'
  • API Events (You can use them to stop NPC Police from processing the damage event)
    • PlayervsEntityEvent
      PlayervsNPCEvent
      PlayervsPlayerEvent
    • NPCvsEntityEvent
      NPCvsNPCEvent
      NPCvsPlayerEvent
Fixes :
  • If you are running Denzien, Depenizen, and Multiverse there was a load order issue that could cause citizens to no longer load in the correct order causing Depenizen to break. This has been resolved.
----------, Jan 9, 2021

Additions :
  • 1.16.4 Support
Fixes :
  • Fixes an issue where a cast error comes up if an NPC is shot be a dispenser/block. Thanks to @RavanelloMarrone for pointing it out.
----------, Nov 6, 2020

Additions :
  • 1.16.2/3 Support
Changes :
----------, Sep 14, 2020

Additions :
  • 1.16.1 Support
  • LOS support for new blocks in 1.16 added
----------, Jun 27, 2020

Fixes:
  • Git Issue #54 - Auto flagging was spamming users not matter what the cool down was set for.
    Credit goes to (Bunkky on my Discord for reporting this one)
----------, May 15, 2020

Fixes:
  • Git Issue #33 - Inventory was being returned in the wrong location due to consolidation. This has been resolved.
    Credit to (I forgot :( )
[​IMG]
----------, May 3, 2020

Fixes:
  • Git Issue #51 - Attacking an NPC while wanted will show the warning message.
Additions:
  • 1.15 Supported
----------, Dec 14, 2019

Fixes:
  • Git Issue #50 - An issue with the LOS function for versions 1.8 > 1.12. This has been resolved. Credit for alerting me to this one comes from @nellemar.
----------, Oct 14, 2019

Fixes:
  • Git Issue #42 - Killing an NPC with a bow may not return the player as the murderer. This was reported by @CodedoctorDE on github.
  • Git Issue #30 - Attacking someone wearing something enchanted with thorns would trigger them for PVP attacks. This was reported a bit ago by @NazzyDragon on Github.
Additions:
  • Git Issue #48 - Added the ability to set bypass permissions to users to block them from triggering NPCPolice actions. This request came in from @ishopify.
    Code (YAML):
    npcpolice.bypass.*
    npcpolice.bypass.assault
    npcpolice.bypass.assault.npc
    npcpolice.bypass.assault.player
    npcpolice.bypass.murder
    npcpolice.bypass.murder.npc
    npcpolice.bypass.murder.player
    npcpolice.bypass.arrest
    npcpolice.bypass.escape
    npcpolice.bypass.kick
----------, Oct 14, 2019

Additions :
  • npcignore - Command to flag an NPC to be ignored by NPC Police. All assaults and damage will not register with the plugin. The request goes to @dunem666 on my Discord.
----------, Sep 11, 2019

Additions :
  • losdebug - Command to view the LOS paths for debugging.
  • Placeholders
    • npcpolice_user_lastspotted_name - Displays the name of the NPC guard that last saw the player
    • npcpolice_user_lastspotted_time - Displays the date/time the player was last spotted by a guard

Changes:
  • LOS overhaul for 1.14, Now supports hitbox detection for better results.

upload_2019-6-16_23-18-38.png
upload_2019-6-16_23-20-23.png
----------, Jun 17, 2019

Fixes:
  • Git Issue #38 - PlaceHolderAPI - version 102 never registered the placeholder API. My bad :) Thanks goes out to Caleez on Discord.
----------, Jun 7, 2019

Fixes:
  • Git Issue #37 - 1.14.2 removed the ability to pull the server name from the config. This is now utilized via BungeeCord if you are using that.
  • PlaceHolderAPI - Now utilizes the new PlaceHolderExpansion class.
Additions:
  • Random look - This feature was added purely for the future release of the minigame addon for this plugin (TheJail). You can set the maximum viewing angle that the NPC will look around. This is based on the yaw the NPC had when it stopped moving. I also allow for a min and max interval (in whole seconds).
upload_2019-6-3_17-4-44.png
----------, Jun 3, 2019

Fixes:
  • Git Issue #24 - Wanted bounty is not being modified when set on the Global or World setting menus. Issue credit goes to @NazzyDragon
  • Git Issue #26 - Time left always shows 00:00:00 in placeholders and /np command.
  • Git Issue #27 - NPC Gui shows users have prior escape status when they do not. Issue credit goes to @NazzyDragon
  • Git Issue #28 - Paying another user's bail shows arguments in messages to both players. @NazzyDragon
  • Git Issue #29 - When a user escapes, I forgot to add the escaped group to the user.

Additions:
  • Git Issue #25 - Ability to change the functionality of when a user escapes from jail. Request credit goes to @NazzyDragon

    Clicking on Escape text under bounties will allow you to cycle the setting to change the escape functionality. upload_2019-1-1_18-7-59.png
----------, Jan 2, 2019

Fixes:
  • Git Issue #23 - Global settings were not getting saved when the server closed. Credit goes to @NazzyDragon for discovering this rather large issue.
----------, Dec 18, 2018

Fixes:
  • Git Issue #21 - Invalid column data type for dates. Reported by Salt42
  • Git Issue #22 - Sentinel made changes in 1.7.5+ that cause the NPC's to continue attacking. I now support the old and newer versions. Credit partially goes to @NazzyDragon for letting me log onto her server and discover the changes.
----------, Dec 17, 2018

Fixes:
  • Git Issue #14 - Blocked Items being returned to users after being arrested.
  • Git Issue #15 - Passing invalid arguments will always show /npcpolice help
  • Git Issue #18 - Clicking on a double chest only shows inventory for the block defined, not the entire chest
  • Git Issue #19 - Nullpointer on sending jail removed message to players
----------, Dec 8, 2018

This version adds 1.13 compatibility.

Fixes:

  • Many many fixes and a ton of code rewritten.
    • API reworked, old plugins might not function right off
    • Command arguments fixed
    • Tab complete resolved
    • Line of sight fixes
Additions:
  • listjails
    • Added a new command that will show the distance to each jail on the server as well as the ability to click the jail for config, as well as info on the region.
----------, Dec 3, 2018

Fixes:
  • Multiverse / World loaders
    • Thanks to @Phela1 for pointing this one out. It seems there was a timing issue that could cause the plugin to delete your jail settings is the world was not fully loaded when I loaded the jail settings. This should be resolved by my changing the timing of the worlds getting loaded. Let me know if you run into any issues.
----------, Mar 15, 2018

Changes:
----------, Jan 11, 2018

Fixes:
  • Damage calculation on NPC / PVP
    • Thanks to @melodicaxe for pointing this one out. In one of my last updates, i removed the multiplier on the damage to bounty. So the bounty was being set the same if you punched (1hp) vs a diamond sword (7hp). This has been fixed.
----------, Jan 3, 2018

Fixes:
  • Banned Items
    • The banned item system worked, unless the items were named different, enchanted, had lore, etc.. This release fixes that and add's some options for your choosing. Thanks to Boi#7744 on Discord for making me aware of this.
  • Minor language file cleanup
    • Text positioning
    • Moved some lines around, and other minor things
Changes:
  • Banned Items
    • You can now right click items in the banned item interface. This will cycle from 1-4 and causes the validation to review several levels on each item before saying it's a banned item.
    • 1 = Item type
    • 2 = Item type, and lore
    • 3 = Item type, lore, and enchantments
    • 4 = Item type, lore, enchantments, and the display name
----------, Dec 18, 2017

Additions:
  • Jail Time
    • Per request by @Coolkc456.
    • The system now supports two methods for extending someone's jail time.
      • Seconds
        • You can now assign seconds to an NPC to add to a users time in jail. This isn't part of a users bounty, but an extension of their time in jail. The seconds must be exhausted before the jail starts to remove bounty. So you can add seconds to a users time in jail via command or settings on an NPC.
      • Expire Time
        • This allows you to set a hard date (in seconds) for a user to be jailed until. This is more of an expiration date/time than seconds. It's just the date you want in seconds from when the command is set. Once the hard time is passed, it will exhaust whatever seconds the user has on them, then bounty before they are freed.
  • NPC's can now override the bounty settings for regions, worlds, and global settings.
  • Commands
    • setjailexpires Sets a date/time in the future (in seconds) from the current date/time to allow the user to obtain a free status. This date/time has to pass before extra seconds, or bounty starts getting subtracted.
    • setjailseconds Sets a total amount of seconds to add to a users jailtime. They have to exhaust time before the bounty starts to be lowered
  • npcdamagebounty Sets the bounty modifier for an assault on a single NPC. Overrides the world and global settings.
  • npcmurderbounty Sets the bounty modifier for murder on a single NPC. Overrides the world and global settings.
  • npcdamagetime Sets the time modifier for an assault on a single NPC. Overrides the world and global settings.
  • npcmurdertime Sets the time modifier for murder on a single NPC. Overrides the world and global settings.
----------, Dec 15, 2017

Fixes:
  • WG region transition issue
    • @Coolkc456 reported an issue with users being unable to traverse between WG regions. There was an issue where no jails setup it would block as it couldn't compare the jail / world settings. This should be resolved now.
----------, Dec 7, 2017

Fixes:
  • BetonQuest Fixes:
    • With 1.9.4+ the timing of registering custom events broke this plugin. I had to do a few things to ensure people with an older beton could still use the plugin. So it took a bit more to get it resolved. This should be good now.
----------, Dec 3, 2017

Additions:
  • Wanted Levels
    • The system has supported wanted levels but never stored with the user records. This was because it had not been fully implemented. Not there are several items added to support wanted levels.
    • You can set a range on a jail to restrict users from going to a specific jail when they have a specific wanted level,
    • You can assign a wanted range on the world, anyone outside that range, you can setup to be kicked to a different server or world.
  • Commands
    • global This command shows the global settings screen, and allows you to set the settings for the server. This replaces the settings in config.yml.
    • setwanted This command allows you to set the users current wanted level. Valid values are NONE,MINIMUM, LOW, MEDIUM, HIGH
    • sendlocation This command allows you to configure the forced send location when a user falls outside the minimum, and maximum wanted levels configured
    • kicktype Sets the action type and destination for kicking a user. Valid values are onchange-server, onchange-world, onarrest-server, onarrest-world.
    • setminwanted Sets the lower end of the wanted range allowed in the world, or server.
    • setmaxwanted Sets the upper end of the wanted range allowed in the world, or server.
Changes:
  • Global settings are now done via the plugin, not the config.yml. upload_2017-11-16_21-0-14.png
Fixes:
  • Wanted Status
    • When a player reached 0 bounty and they had a status of wanted, they would stay wanted. This has been fixed.
  • Language File
    • World and Jail settings showed maxdistance vs minbounty. So you never saw the correct setting.
  • Group Setting Commands
    • The group commands did not allow setting to blank, this is now the way to disable them from being used.
  • Configuration Saves
    • NPC Defaults for LOS attack were not getting saved upon the server shutting down.

Screens:

upload_2017-11-16_21-2-17.png

upload_2017-11-16_20-59-6.png
----------, Nov 17, 2017

Fixes:
  • Player storage Issue (Now with less alzheimer's!):
    • When a player was in jail and disconnected, they would come back in the jail and magically have all their time served, and be free to go. There was an issue upon records being loaded where I left the last calculation date as 1900. oops. Credit for alerting me to the issue goes out to @melodicaxe for reporting it to me on Discord and here!
----------, Oct 6, 2017

Fixes:
  • Language variables:
    • When a player killed another player, the plugin would say you are wanted for it, but rather than saying the user's name you killed. It showed <targetrecord.name>. This has been fixed. Credit for this goes out to @melodicaxe and @Superola for reporting it to me on Discord.
----------, Oct 4, 2017

Fixes:
  • COMMANDS:
    • If a user typed /np and did not have permissions, it would generate an error on the console and let the user know an internal error occurred. This has been resolved, though it does not give any result as to the command. Credit for this goes out to @melodicaxe for reporting it to me on the discussion board.
  • PVP MONITORS:
    • If a user attacks another user (PVP) and you had a region set use NP-MONITORS-PVP and NP-REGIONGUARD it wouldn't register that the PVP actions happened. Thus no bounty or warnings. This has been resolved. Credit to @melodicaxe for reporting this one to me as well.
----------, Oct 3, 2017

Fixes:
  • Worldguard fixes
    • np-noarrest was only working when an NPC attacked a player. Worthless really, but it was partially there. Now it functions when a player hits an NPC as well.
    • np-regionguard worked, but there were some message errors behind the scenes that would break it. See if this works now. Set it on a region and that region will become the guard without any NPC's around.
    • Credit goes to @Superola for this update. He has been requesting me to fix the flags for a while, and today I made some time for that. Huge thanks to him for poking, prodding and overall keeping in-touch with me to get this done.
  • Permissions issues
    • Some people use the default permissions inside spigot. With that, there is no group support. So the plugin was generating errors and overall not working 100%. So I have disabled all permission functions should you use the internal permissions
----------, Oct 1, 2017

Fixes:
  • Major issue with WorldGuard and the "__GLOBAL__" region.
    • If you did not have any custom flags inside the region, worldguard would return a null, thus causing issues. Took a bit to figure this out, but it's been resolved in this release. Huge thanks to all the people posting error logs for me.
  • The jail config commands were not letting you know that you were not in a jail location. So sometimes you would not get notice of that. This has been fixed. This was reported several times by many people so thanks to all the users in general for this one.
----------, Sep 19, 2017

Fixes:
  • MC versions less than 1.9.2 would produce errors on damage. This was due to checking for splash potion damage. Thanks to CaptainDan on Discord for letting me know.
----------, Aug 7, 2017

Fixes:
  • Seems that I never took into count Arrows, Splash Potions, or Lingering Potions as a damage source. Huge wonder how the heck I missed that one. Kudo's to @zorrowu for pointing this out to me.
----------, Jul 17, 2017

Fixes:
  • Console spam, as well as messages spammed users when you had users in multiple worlds. This has been fixed. Thanks go out to @Superola for the heads up!
----------, Jun 17, 2017

Fixes:
  • Left in a debugging message. Err opps. Thanks @Bizare
----------, Jun 17, 2017

Fixes:
  • Resolved an issue with the menus where it would only show your own head, not others. huge thanks to @Superola for pointing this out to me.
  • NPC's should stop attacking a user after they get arrested now. Again thanks to @Superola for this issue as well.
    • This should resolve the permissions issues I had with things like LuckyPerm and PermissionsEx. Let me know if not!

Additions:
  • None
Changes:
  • None
----------, Jun 17, 2017

Additions:
  • None
Changes:
  • None
Fixes:
  • Support for Sentinel 1.0.1.
    • I was using a decimal to track the version internally. This broke when a revision version was added. Fixed
----------, May 21, 2017

Additions:
  • None
Changes:
  • Plugin will sit disabled when the WorldGuard does not meet the minimum version requirements.
    upload_2017-5-15_17-52-55.png
Fixes:
  • No more unknown error due to an incorrect worldguard.
----------, May 16, 2017

Additions:
  • None
Changes:
  • MC 1.12 support
    • PLEASE NOTE: This is very untested as Citizens has not updated yet. I am putting it out for when they do, and I am busy / unable to update it at that moment.
Fixes:
  • None
----------, May 14, 2017

Additions:
  • None
Changes:
  • MC 1.12 support
    • PLEASE NOTE: This is very untested as Citizens has not updated yet. I am putting it out for when they do, and I am busy / unable to update it at that moment.
Fixes:
  • None
----------, May 14, 2017

Fixes:
  • Worldguard 6.2+ now supported.
Changes:
  • None
Additions:
  • None
----------, Feb 26, 2017

Fixes:
  • None
Changes:
  • If you have the player's inventory removed upon arrest, the plugin will now filter out items that have been added to the banned items list. They are destroyed and non-recoverable.
Additions:
----------, Feb 11, 2017

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

Fixes:
  • There were several issues with the version 1.8.8 and the plugin working. This update fixes quite a few things to get that issue resolved. Thanks to @Dard for pointing this out to me.
Changes:
  • None
Additions:
  • None
----------, Feb 7, 2017

Fixes:
  • The language files were loading, but having issues if you didn't have all the text from the main one in them. This has been resolved and you can add only the parts you want to change to them. Thanks to @Dard for pointing this out to me.
Changes:
  • I now do a more in-depth version check of world guard. If you have less than v6.1.3 it will let you know and not generate an error in the console. I would suggest that you update to the latest versions anyway.
Additions:
  • None
----------, Feb 7, 2017

Fixes:
  • The gui menu was borked for non-admin players. This has been fixed. Use npcpolice.gui.interact to allow your users to use it. Thanks to @sd_captain for pointing this out to me.
Changes:
  • None
Additions:
  • None
----------, Feb 7, 2017

Fixes:
  • None
Changes:
  • Players will now go back to a jailed status if they walk into the jail on their own.
Additions:
  • new worldguard flag:
    • np-extendedjail: Setting this with the shortname of a jail will cause that region to be an extended section of a jail. This is useful if your jail is not the same shape and sits on multiple levels. You can now stack the regions and the players will not be flagged as escaped.
  • Added a config option for the bounty notice interval. set to 9999 to really never see it. Unless you never log out. -- This is only in the config.yml and not in the world settings. So this would require editing the file.
----------, Jan 29, 2017

Fixes:
  • Right clicking an NPC that didn't have the NPCPolice trait could generate and error in the console logs.
  • Attacking non NPCPolice traited NPCs would show <npc.name> when they should show the NPCs name.
  • Notice settings would cause an error when a jail wasn't located in a location. (Thanks to PrivatePrius for this one)
Changes:
  • None
Additions:
  • None
----------, Jan 28, 2017

Fixes:
  • Right clicking an NPC that didn't have the NPCPolice trait could generate and error in the console logs.
  • Attacking non NPCPolice traited NPCs would show <npc.name> when they should show the NPCs name.
  • Notice settings would cause an error when a jail wasn't located in a location. (Thanks to PrivatePrius for this one)
Changes:
  • None
Additions:
  • None
----------, Jan 28, 2017

Fixes:
  • Right clicking an NPC that didn't have the NPCPolice trait could generate and error in the console logs.
  • Attacking non NPCPolice traited NPCs would show <npc.name> when they should show the NPCs name.
  • Notice settings would cause an error when a jail wasn't located in a location. (Thanks to PrivatePrius for this one)
Changes:
  • None
Additions:
  • None
----------, Jan 28, 2017

Fixes:
  • Right clicking an NPC that didn't have the NPCPolice trait could generate and error in the console logs.
  • Attacking non NPCPolice traited NPCs would show <npc.name> when they should show the NPCs name.
  • Notice settings would cause an error when a jail wasn't located in a location. (Thanks to PrivatePrius for this one)
Changes:
  • None
Additions:
  • None
----------, Jan 28, 2017

This update is really thanks to PrivatePrius, spending one heck of an amount of time working out some wacky issues with me. Thanks!

Fixes:
  • An issue where the np-af worldguard flag wouldn't actually work when you had more than two region 's in the same area.
  • Located two issues I had with Sentinal.
  • Fixed some MySql errors that were cropping while looking for some of the errors above. They have been fixed.
  • Fixed another issue where a user was wanted with 0 bounty, would never get out of wanted. They now correctly go to FREE.
Changes:
  • A bit of stuff under the hood.
Additions:
  • Per request from @PrivatePrius, I have added the ability to set an exit point to the jail. For people who do not have methods for players to exit.
  • ZQuest addon has been started (So you will see it in the logs).
    • It is not completed yet, but I wanted to get this fix out and really didn't want to run to code bases for it. So yeah, I'm lazy :)
    • This was a request by xH3LLRAIZ3Rx
Quick Video going over it.
----------, Jan 27, 2017

Fixes:
  • If a world never had a jail created, it would result in the /np world command looking rather ugly. This has been fixed.
  • PrivatePrius found an issue where attacking entities/NPCs can result in an error. The error should be resolved, but the reason for the error needs more research.
Changes:
  • Nothing this release
Additions:
  • Nothing this release.
----------, Jan 26, 2017

Fixes:
  • The help command produced an error in the console and wouldn't display the commands correctly. This has been fixed. Many thanks to @silverforte for all the log posts and pointing out where the issues were.
  • There was an issue with the database having a null for the lockedinventory. This has also been resolved thanks to @silverforte .
  • Setting your bounty to zero while wanted didn't return you to FREE. The system will fix that for the users now.
  • Attacking an NPC would auto add the NPCPolice trait. This is no longer the case.
Changes:
  • Removed some classes that were not needed and or used.
Additions:
  • Some items, but they will actually show up in the next release.
----------, Jan 25, 2017

Fixes:
  • The help command produced an error in the console and wouldn't display the commands correctly. This has been fixed. Many thanks to @silverforte for all the log posts and pointing out where the issues were.
  • There was an issue with the database having a null for the lockedinventory. This has also been resolved thanks to @silverforte .
  • Setting your bounty to zero while wanted didn't return you to FREE. The system will fix that for the users now.
  • Attacking an NPC would auto add the NPCPolice trait. This is no longer the case.
Changes:
  • None
Additions:
  • Some items, but they will actually show up in the next release.
----------, Jan 25, 2017

Fixes:
  • Nothing notable.
Changes:
  • None
Additions:
  • Inventory Management
    • You are now able to setup the plugin to take a users inventory on an arrest. This will store it in the police system until the player escapes, or becomes free.
    • You can configure the fate of the locked up inventory when they escape, do nothing, return it, or destroy it.
    • You can configure the fate of the locked up inventory when they are set free. Do nothing, return it, or destroy it.
    • You may also, let them get their inventory from a configured chest in the jail as well now. (Please see the video at the end for more information about this).
  • BetonQuest Events & Conditions

----------, Jan 24, 2017

Fixes:
  • The autoflag region flag wasn't working as it should have been. This has been resolved now.
Changes:
  • None
Additions:
  • None
----------, Jan 21, 2017

Fixes:
  • The API fired the PlayerSpotted event even when they were not. This affected the BetonQuest objective NPCSpotted.
  • the setstatus command would generate errors if you used lowercase on the names.
Changes:
  • None
Additions:
  • New commands
    • setnpclosattack
      • This command will set the world's default for NPCs to attack players when they have a line of sight on them. They do not need to have any targets added to sentinel for this to work. They just need the sentinel trait. (Sight is limited to 48 blocks)
    • npclosattack
      • This will set the trait on the NPC to use the global setting, not to attack when it has LOS, or to attack players with a wanted or escaped status when it can see them. (Sight is limited to 48 blocks)

----------, Jan 19, 2017

Fixes:
  • Seems I goofed on leaderheads and referenced the wrong plugin in getting the version. This has been fixed. Thanks to @ICEconchy for pointing this out to me.
Changes:
  • None
Additions:
  • None
----------, Jan 16, 2017

Fixes:
  • A bunch of fixes related to the in cell / out of cell time display. Wasn't always changing based on being in the cell or out.
Changes:
  • The placeholder %npcpolice_user_jailtime% will now show if they are in or out of a cell as well as the jailed status if there are no settings for in or out of the cell.
    upload_2017-1-13_12-32-3.png upload_2017-1-13_12-32-10.png
Additions:
  • Players with a jailed status will be teleported to a jail upon joining if they are not in one. If they were in a jail on the server previously, that jail will be used. Otherwise, it will locate the first jail closest to the spawn point. This ensures if your using MySQL and bungee, they will be teleported to jail when switching servers.
----------, Jan 14, 2017

Fixes:
  • The GUI showing Wanted / Jailed / Escaped users now shows the information and colors correctly.
  • One of the message flags was showing the wrong information.

Additions:
  • Added a new place holder flag %npcpolice_user_jailtime%. This shows the time a user has remaining to serve (Changes to match being in and out of cells), or when you are wanted it shows the remaining time.
----------, Jan 13, 2017

This is really the first run of this, so please test away with it and let me know of issues you run into.
----------, Jan 12, 2017

Please note that this version made some large changes. So please make sure you backup your Jailer plugin folder in-case you need to roll it back. This replaces 1.6 as I had a couple issues with the Sqlite side of things, and when users quit.

When this version kicks in it will auto roll your data to a sqlite database and delete the flat files.

Added:
  • LeaderHeads
    • I have added the ability to show stats via the LeaderHeads plugin. [​IMG]
    • The board names are as follows:
      1. jail-bounty (Top current bounties)
      2. jail-totalbounty (Top lifetime bounties)
      3. jail-arrests (Top arrests)
      4. jail-murders (Top murders)
      5. jail-escapes (Top escapes)
      6. jail-rcntarrests (Recent Arrests)
      7. jail-rcntescapes (Recent Escapes)
  • Sqlite & MySql Support
    • The plugin will auto migrate your data to sqlite when it starts up.
    • You can however select to go with MySQL. I would suggest you make a backup, then delete your config file. This will generate a new one and you can change the settings in there. Below is the section to add if you want to just update your config on your own.

    • Code (Text):
      ##########################################################
      # Database connection information  (DBType = sqlite,mysql)
      ##########################################################
      database:
        type: sqlite
        name: somedatabasename
        port: 3306
        host: 127.0.0.1
        login: login
        password: password
        table_prefix: nuJailer_

  • New Commands
    • You can now add or remove bounties from players. They have to be connected to the server, not offline.
    • /jailer addbounty {player} {Bounty#}
    • /jailer removebounty {player} {#}
Fixes:
  • Quite a few fixes were added to this. Been over a bit so i forget them all. However I would swap to Sentinel if you are on 1.9.2+ as sentry it will not jail the players (Cannot get the real amount of damage).
----------, May 2, 2016

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