settings:requirements:list: minimumRequirements: Integer # the minimum amount of requirements a player must pass (default: -1, all) (OPTIONAL)
'unique requirement name':# use !<type> to negate a requirement, for example '!string equals'type:String# the name of a valid requirement (see 'Types' below) (REQUIRED)optiona:Boolean# whether a requirement is optional (default: false) (OPTIONAL)failActions:List<Action># actions executed if the requirement fails (OPTIONAL)
Format: world;x;y;zExample: world_the_end;25;100;30 - The End at 25/100/30
Examples
Check if the player has ≤ 10 HP
# %player_health% ≤ 10left:'%player_health%'type:'<='right:10failActions: - '[message] <red>You can not use this item at full HP'
Check if the player is the owner of the WorldGuard region he's standing in
left:'%worldguard_region_owner%'type:string equalsright:'%player_name%'failActions: - '[message] <red>You can use this item only in your own protection'