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 her connection.

HoldEnded: "hold-ended"

Her connection dropped and did not come back within the hold.


Kicked: "kicked"

A game removed her with kick.


Left: "left"

Her page sent a leave: she quit on purpose.


RoomClosing: "room-closing"

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