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

EmitRecipientOptions

The players whose pages receive an event, which an emit names in to: one player, or a list of them.

Property Type Description
to? PlayerEntity | readonly PlayerEntity[] The players whose pages receive it, and no other page: one, or a list, such as a team’s. Every system of the world that emits it still reads it. A player in the list who left before the emit receives nothing, an empty list reaches no page, and left out it reaches every page that holds its entity.