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

NameplateProps

What a nameplate draws from: the engine’s Nameplate and a game’s own plate receive the same props.

Property Type Description
background boolean Whether the plate draws a dark pill behind the name, from the setting’s background.
color string The CSS colour the other player’s name draws in: that player’s team colour where the player has a team and the setting’s teamColors is TeamColorMode.Team, else the setting’s color.
entity Entity What stands for the other player in the world, the other player’s presence: a character in most games, a dragon in a dragon game.
name string The name the other player joined the room as.
player Entity The other player’s own entity, which PlayerTrait names.
size number CSS pixels the name’s letters stand at, from the setting’s size.
speaking boolean Whether the other player is speaking in the room’s voice now, as useSpeaking reads it.
teammate boolean Whether the other player is on the local player’s team, by the team question. False where either has no team, as with no teams().