Condition Types
Find the default condition types here!
Effect Condition
Check potion effects on the user.
effects, effect, e
The effects that should be checked.
{e=luck}
{e=blindness,wither}
Example
Gamemode Condition
Check the gamemode of the user.
gamemodes, gamemode, gm
The gamemodes that should be checked.
{gm=survival}
{gm=creative,spectator}
Example
Placeholder Condition
Compare placeholders of the user.
1, ph, placeholder
The first value to compare.
{ph=100}
{ph=%player_health%}
{ph=%player_allow_flight%}
2, v, val, value
The second value to compare.
{ph=50}
{ph=%player_health%}
o, oper, operation
{o=>=}
{o==}
If only 1
is defined, the condition will check if it is true/false. If both are defined and numbers, they will be compared with the operation. If they are not numbers, they will be checked to see if their strings are equal.
Example
Progress Condition
Compare progress of a certain layer on your hud.
layer, lay, l
The key of the layer to read.
{l=fill}
v, val, value
The value to compare the layer progress to. This can include a percent.
{v=20}
{v=50%}
o, oper, operation
{o=>=}
{o==}
Example
Last updated