๐Requirements
All requirements and examples of use
open_requirements: These requirements are used to determine whether a player can or cannot open a menu."
open_requirements:
type: "has_permission"
permission: "mapmenu.custom_menu"
deny_actions:
- "[message] &cYou do not have permission to do this action"requirements: layer requirements. These requirements are used to determine whether a player can select a button or not."
day:
type: "button"
texture_outline: "examples/button_outline.png"
position: "[5, 64]"
actions:
requirements:
type: "has_permission"
permission: "essentials.time.set"
deny_actions:
- "[message] &cYou do not have permission to do this action"
actions:
- "[console] day"view_requirements: view_requirements is used so that a player, if they do not meet these requirements, cannot see the layer
Available types for requirements
Last updated