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

Team

A team a game declares, such as defineTeam("red", { name, color }) in teams(): a handle compared by identity, never by its key. “No team” is null, as Fortnite Verse’s GetTeam fails and Lyra’s NoTeam is no team at all.

Property Modifier Type Description
color readonly string A CSS colour, which nameplates wear.
key readonly string Unique among a game’s teams; what a trait, an event and the switch command name it by.
name readonly string What a scoreboard and a nameplate show.