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

CharacterRespawnContext

What onCharacterRespawn receives: the authority the respawn runs under, which reaches the character, and its entity, the same one standing again.

Property Type Description
character PredictedEntity The character’s entity, whose predicted traits the hook may write.
player PlayerEntity | null The player whose character it is; null for one no player plays.
writer EntityAuthority The authority to write the character with, outside a tick.