A parameter is an option that can be set in a condition and influence how the condition functions. Parameters are separated by a semi-colon(;)
.
You can view all conditions here.
Example Parameters
conditions:
- condition{parameter1=value1;parameter2=value2}
Default Parameters
These parameters are included in condition condition.
Parameter | Aliases | Description | Type | Default Value |
---|---|---|---|---|
match |
m, default, d |
What the condition will match to. This condition gamemode{gm=creative;m=true} will be true if the player is in creative, while this condition gamemode{gm=creative;m=false} will be false. |
Boolean |
true |
Comparison Parameters
These parameters are included in every comparison condition.
Parameter | Aliases | Description | Type | Default Value |
---|---|---|---|---|
operator |
oper, op |
Which operator to use for comparing the values. | greater, g, equal, e, less, l |
N/A |
equalto |
et |
If set to true less or greater will also resolve as true if both of the values equal each other. |
Boolean |
false |