-
Notifications
You must be signed in to change notification settings - Fork 1
playerpos
Daedalus1400 edited this page May 16, 2017
·
5 revisions
The playerpos condition checks the position of the player in one dimension.
Added in release version 0.1.0
Must be "playerpos".
Accepts a string. Valid values are "x", "y", and "z".
Accepts a string. Valid values are "<", and ">".
Accepts any number.
The following example represents a check on the players Y location:
{"type": "playerpos", "dimension": "y", "comparison": ">", "value": 100}
This is will evaluate as:
player.posY > 100;