MatchSpectatorOptions
What <Match spectators> takes: whether and how players outside the
match watch it.
Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
canSpectate? |
(world, player, match) => boolean |
undefined |
The game’s rule for whether player may watch, asked as the player asks: only the player’s party, only those it eliminated. |
follow? |
"none" | "everyone" | Everyone | None |
MatchFollow.Everyone |
Whom an outside spectator’s camera may follow: any member, or none, which watches the court, the match’s own entity. |
freeCamera? |
boolean |
false |
Whether the spectator’s page may fly a free camera while the spectator watches, which useSpectatedMatch() reads: a page’s camera is the page’s own, so the setting is what a spectator’s view mounts <FreeCamera> by. |
max? |
number |
16 |
Spectators it takes at once; 0 for none. |