matches
constmatches:PluginFactory<[MatchesOptions],PluginMade<readonly [SystemDefinition<"rules",false,Server,"takeRequests">,SystemDefinition<"rules",false,Both,"advance">],Readonly<Record<never,never>>,Readonly<Record<never,never>>,never, {forfeit:CommandDeclaration<{isVoting:BooleanCommandField;serial:NumberCommandField; },NotInMatch|ForfeitOff,undefined,false,false,false,true>;join:CommandDeclaration<{match:EntityCommandField&object;queue:ListCommandField<OneOfCommandField<string>>; },"closed"|"game-rule"|"already-in-match"|"no-match"|"party-too-large"|"not-party-leader"|"party-member-busy"|"queue-full", {isQueued:BooleanCommandField;position:NumberCommandField; },false,false,false,false>;leave:CommandDeclaration<{serial:NumberCommandField;spectatorSerial:NumberCommandField; },NotInMatch,undefined,false,false,false,false>;ready:CommandDeclaration<{isReady:BooleanCommandField;serial:NumberCommandField; },NotWaiting|NotInMatch,undefined,false,false,false,true>;reset:CommandDeclaration<{match:EntityCommandField&object; },NotEnded|HasQueue,undefined,false,false,false,false>;restart:CommandDeclaration<{ },NotEnded|NoScene|HasQueue,undefined,false,false,false,false>;spectate:CommandDeclaration<{following:EntityCommandField&object;match:EntityCommandField&object;serial:NumberCommandField; },"game-rule"|"spectators-full"|"already-in-match"|"not-eliminated"|"no-match"|"cannot-follow"|"not-spectating",undefined,false,false,false,false>;start:CommandDeclaration<{automatic:BooleanCommandField;match:EntityCommandField&object; },NotWaiting|HasQueue,undefined,false,false,false,false>; },Readonly<Record<never,never>>,Record<never,never>>>
The match: its members, its queue, its score, its clock, how it ends
and how it resets. List it in a game’s plugins beside machines(),
then mount <Match> in a scene. A scene’s one <Match> with no queue
holds every player, as a round does; several <Match queue> run side
by side in one room, each a court with its own members, as NBA 2K’s
park runs its courts. Its handles are on the factory:
matches.systems.advance for a system to run before or after, and
matches.commands for what a page sends.