BetonQuest Conditions - Nutty101/NPC-Police GitHub Wiki

np-currentbounty

Description:
Test to see if a player has a bounty of {value} or greater
Usage:
np-currentbounty 500 -- True if the user has 500 or greater in bounty.


np-currentstatus

Description:
Test to see if a player has a status of {value}. Valid values are WANTED, ESCAPED, ARRESTED, JAILED, FREE
Usage:
np-currentstatus WANTED -- True if the user is currently wanted.


np-distancetojail

Description:
Test to see if a player is {#} or greater in distance to a jail.
Usage:
np-distancetojail 50 -- True if the user is more than 49 blocks away from a jail


np-haslockedinv

Description:
Test to see if a player has inventory in lockup with the plugin.
Usage:
np-haslockedinv


np-priorstatus

Description:
Test to see if a player had a prior status of {value}. Valid values are WANTED, ESCAPED, ARRESTED, JAILED, FREE
Usage:
np-priorstats FREE -- True if the user had a prior status of free.


np-seclastarrest

Description:
Test to see if a player has not been arrested in the last {#} seconds.
Usage:
np-seclastarrest 60 -- True if the user has not been arrested in the last 60 seconds


np-seclastescape

Description:
Test to see if a player has not escaped from jail in the last {#} seconds.
Usage:
np-seclastescape 60 -- True if the user has not escaped from jail in the last 60 seconds