sendMatchJoin
sendMatchJoin(
world,target):Promise<SettledCommandResult<CommandHandle<{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,"join",false,false>>>
Asks the room to put this page’s player, with the player’s party
where the player leads one, in the line target names: a shared
queue, or a match’s. Resolves with whether the player waits and the
player’s place, or a MatchJoinRefusal.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
target |
MatchJoinTarget |
Returns
Section titled “Returns”Promise<SettledCommandResult<CommandHandle<{ 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, "join", false, false>>>