Note: As with every update, it's recommended that you make a backup before upgrading to a new version. Also, if you encounter any issue or bug with any of these updates, please join the discord server so we can sort it out as fast as possible.
Thanks for being a user of RealScoreboard!
Added conditions. Conditions can be defined in config.yml in the conditions section, for example:
Conditions:
xp:
Condition: '%xp% > 3'
Met: '%aXP is bigger than 3!'
Not-Met: '&cYou need to get 3 XP!'
low_hp:
Condition: '%life% <= 5'
Met: '&cWatch out!'
Not-Met: '&aYou are fine!'
You can use $skip in order to avoid showing a line in a condition, like:
Not-Met: '$skip'
You can call a condition in the scoreboard by using: %cond:low_hp%
The conditions can evaluate Integers (5, -10), Doubles (5.5, 10, 3.14), Booleans (true/false).
The supported operators are ==, !=, >, <, >=, <=
Some examples are:
"5 > 3" -> true
"5.5 > 3" -> true
"5.0 == 5" -> true
"name == name" -> true
"not == equal" -> false
"not != equal" -> true
"true == false" -> false
"10.5 < 20.5" -> true
"5 != 3" -> true