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

sendPartyKick

sendPartyKick(world, player): Promise<SettledCommandResult<CommandHandle<{ player: EntityCommandField & object; }, NotLeader | NotInParty | Self, undefined, false, false, "kick", false, false>>>

Asks the room to take player out of this page’s player’s party, which the player leads.

Parameter Type
world World
player PlayerEntity

Promise<SettledCommandResult<CommandHandle<{ player: EntityCommandField & object; }, NotLeader | NotInParty | Self, undefined, false, false, "kick", false, false>>>