Triggers
trigger/player_move
Player Move Trigger
Fires when a player moves. Use BLOCK mode to avoid extremely high event rates.
Note: In BLOCK mode this fires at most once per block crossed, which is suitable for most use cases. ANY mode can fire dozens of times per second per player and should only be used for precision tracking.
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Fires on movement. |
player |
player | The player who moved. |
from |
location | Location before the move. |
to |
location | Location after the move. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
mode |
string | "BLOCK" |
BLOCK = only fires when crossing a block boundary; ANY = fires on any position change (very frequent). |
Examples
Detect entry into a region
Check when a player walks into a specific block area.
- Player Move Trigger → to → Get Block
- Compare location to a specific coordinate range