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

RoomId

RoomId = string & object

A running room’s id, as the platform names it: readRoomId(world), a teleport’s answer, and the { roomId } a teleport takes. A string, branded, so a world’s or a player’s id never passes for one; text from outside, such as a command’s payload, becomes one through requireRoomId.

Name Type
[roomIdBrand] true