ConditionEntity

CompareValues

since v5.9.1

Compares two values based on a specified operation

Aliases

comparevalue

Examples & Notes

Examples

  Conditions:
  - comparevalues{value1=%server_online%;operator=>=;value2=1/3*%bungee_total%}

Will return true if the amount of players on the server are more or equal to 1/3th of the total players on the network.

Universal Condition Options

Author:
Lxlp
Community-maintained documentation for the Mythic plugin ecosystem.