Conditionals

circle-info

It is recommended to read first the actions page.

Conditionals are used to execute an action only if certain conditions for the player are fullfilled as true. You can put as many conditions as you want in a single statement.

Syntax:

conditional;<placeholder><operator><value>;<action>;<parameters>

Examples: (They don't present the actual usage you may give to this feature)

conditional;%player_name%=CubicLemming749;message;<color:#2284F0>You are CubicLemming749!
conditional;%checkitem_mat:netherite_sword%=yes|%player_ping%>100;title;<color:#2284F0>You have a netherite sword and your ping is more than 100ms.!

You can group many conditions with | , if all of them are true, the action will be executed.

conditional;<expression1>|<expression2>|<expression3>;<action>;<parameters>

If the 3 expressions are true, the action will execute.

Possible operators:

  1. = : Numbers and text.

  2. !=: Numbers and text.

  3. > : Numbers.

  4. <: Numbers

  5. >= : Numbers.

  6. <= : Numbers.

Last updated