You can now do math in placeholders like {player.location.x}! For example:
Code (YAML):
action
: sendMessage
messages
:
-
"Hey there, {player}!"
-
"Your y position is {player.location.y}!"
-
"If we add five to that, we get {player.location.y + 5}!"
-
"If we multiply it by two, we get {player.location.y * 2}"
-
"If we divide by three, we get {player.location.y / 3}!"