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

parties

const parties: PluginFactory<[PartiesOptions], PluginMade<readonly [SystemDefinition<"rules", false, Server, "takeRequests">], Readonly<Record<never, never>>, Readonly<Record<never, never>>, never, { accept: CommandDeclaration<{ party: EntityCommandField & object; }, PartyFull | AlreadyInParty | NoInvite, undefined, false, false, false, false>; invite: CommandDeclaration<{ player: EntityCommandField & object; }, NotLeader | PartyFull | AlreadyInParty | Self, undefined, false, false, false, false>; kick: CommandDeclaration<{ player: EntityCommandField & object; }, NotLeader | NotInParty | Self, undefined, false, false, false, false>; leave: CommandDeclaration<{ }, NotInParty, undefined, false, false, false, false>; }, Readonly<Record<never, never>>, Record<never, never>>>

Room parties: a player invites another, who accepts, and the two queue and stay together, as Fortnite’s and Rocket League’s parties do; a party’s leader joins a match for it. A party lives in its room, and answers the core’s party question, which a platform’s party can answer instead later. Its handles are on the factory: parties.commands.