Requirements
Everything about DeluxeMenus requirements!
Syntax
# Other available requirement types: # open_requirement: # view_requirement: # left_click_requirement: # right_click_requirement: # shift_left_click_requirement: # shift_right_click_requirement: click_requirement: # Minimum requirements are optional. # If they are not set, then all # requirements will be needed for the # click commands to be executed. # In this example, only one of the # requirements will be needed. minimum_requirements: 1 # This option is good for when you use minimum_requirements. # Instead of the plugin checking all the requirements, # it will stop when it has enough. stop_at_success: true requirements: # You can define multiple requirements. # Each requiremnt should have a unique name. requirement_name: type: TYPE # These commands will be exeucted if # the requirement they're set for is # met even if the others are not. # You should be careful and not confuse # these with click_commands: !!! success_commands: - "[ACTIONTYPE] ACTION" - "[ACTIONTYPE] ACTION" # These commands will be executed if # the requirement they're set for is # not met even if the others are. deny_commands: - "[ACTIONTYPE] ACTION" - "[ACTIONTYPE] ACTION" # This option is only required if you # want ot use minimum_requirements: # Minimum requirements will only work # for the optional requirements optional: true # This can only be defined for open and # left/right click requirement deny_commands: - "[ACTIONTYPE] ACTION" - "[ACTIONTYPE] ACTION"
Requirements
Type
Description
Deny Commands
Success Commands
Minimum Requirements
Stop At Success
Requirement types
Has permission
Has permissions
Has money
Has Item
Has Meta
Has Exp
Is Near
JavaScript
String Equals
String Equals Ignore Case
String Contains
String Length
Is Object
Regex matches
Comparators
Available options
Comparator
Description
Examples
Open Requirement
View Requirement
Left/Right Click Requirement
Minimum Requirements
Last updated
Was this helpful?