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

WorldsOptions

WorldsOptions = WorldsBase & { play?: WorldPlay.Fill | "fill"; playerWorlds?: PlayerWorlds | "none" | "private" | "listed"; } | { play: WorldPlay.Own | "own"; playerWorlds: PlayerWorlds.Private | PlayerWorlds.Listed | "private" | "listed"; }

What a game declares of the worlds it keeps, in one place whether it plays in rooms or alone, as defineGame’s worlds: the settings each world is made with, and, for a game with rooms, what Play does with worlds and who makes them. Play fills a listed world, or opens the player’s own world, which needs players to make worlds. A game played alone keeps the player’s worlds as save slots the player makes, renames and deletes, and takes settings alone.