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

TextChatOptions

What defineTextChat takes.

Type Parameter
Channels extends Record<string, TextChannel>
Property Type Description
channels? Channels The channels a player writes to, by name, the first the one a page writes to unless it names another. One all channel when left out.
shouldDeliver? TextChatDeliveryRule The game’s rule for every message on every channel, run before a channel’s own: ghosts receive everyone, the living never receive ghosts. Every player when left out.