event
onPlayerChangeChunk (server-side)
Available since version: 0.3.3
This event is triggered when player changes the world chunk (by moving on the world).
Parameters
int playerid, Vec2i chunk_index
int
playerid: the id of the player who changed the world chunk.Vec2i
chunk_index: the chunk index.