Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

LeaveReason

Why a player left, which onPlayerLeave receives: a game tells a player who quit from one who lost the player’s connection.

HoldEnded: "hold-ended"

The player’s connection dropped and did not come back within the hold.


Kicked: "kicked"

A game removed the player with kick.


Left: "left"

The player’s page sent a leave: the player quit on purpose.


RoomClosing: "room-closing"

The room closed, for a restart, for good or on an error.