Broadcast the movement to a defined player
Optional
dist: numberRemoves a player from other players list
Optional
player: PlayerOptional
attributes: AttributesSend gamemode to a client.
Optional
gamemode: Gametypethe numeric gamemode ID.
@TODO: Implement this.
Send a chat message to the client.
The options for the message.
The message to send.
Optional
needsTranslation?: booleanWhether the message needs translation.
Optional
parameters?: string[]The parameters for the message.
Optional
platformChatId?: stringThe platform chat ID.
Optional
sourceName?: stringThe source of the message.
Optional
type?: TextTypeThe type of the message.
Optional
xuid?: stringThe XUID of the player.
A promise that resolves when the message is sent.
Optional
metadata: MetadataSends the full player list to the player.
Notify a client about change(s) to the adventure settings.
Optional
player: PlayerThe client-controlled entity
Spawn the player for another player
the player to send the AddPlayerPacket to
Send the current tick to a client.
The tick
Set the client's maximum view distance.
The view distance
Adds the client to the player list of every player inside the server and also to the player itself.