is_expression_true

Passes when the given mathematical expression evaluates to 1.

Categories: meta

Required arguments

Key(s)DescriptionType
expressionA mathematical expression or placeholder that must evaluate to 1 for the condition to pass.EXPRESSION

Example

conditions:
  - id: is_expression_true
    args:
      expression: %player_level% >= 10