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

EndCompetitiveMatchOptions

How endMatch ends a match of teams or a free-for-all: its winner.

Property Type Default value Description
outcome? undefined undefined -
reason? string "" Why, as useMatch() reads it back.
winner PlayerEntity | Team | null undefined The side that won, a team, or in a free-for-all a member; null for a draw.