Requirements
Requirements enables conditional checks based on various parameters, such as player permissions, numeric values, and custom conditions. can be used on click or view on requirements of buttons
Requirement object is the same for view and click requirements, which means you can put it anywhere you need
Operators
EXISTS (exists)
"%balance% exists"
GREATER_THEN (>)
"%balance% > 10"
GREATER_THAN_OR_EQUAL (=> , >=)
"%balance% >= 10"
LESS_THAN_OR_EQUAL (<= , = <)
"%balance% =< 10"
LESS_THAN (<)
"balance% > 10"
EQUALS (= , == , ===)
"balance% = 10"
NOT_EQUALS (!= , !== , !===)
"balance% != 10"
CONTAINS (contains)
"%status% contains afk"
NOT_CONTAINS (!contains)
"%status% !contains afk"
IS (:)
permission: "permission.needed" permission: "!permission.user.shouldnt.have"
Last updated