Adds a player to the node.
Kicks a player from the node and the whole server. When a player is disconnected from the node using this packet the hub will not send the Remove packet.
Removes a player from the node. If the player is removed using Kick or Transfer this packet is not sent.
Transfers a player to another node. When a player is transferred from the node the hub will not send the Remove packet and there's no way, for the node, to know whether the player was disconnected or successfully transferred, if not using messages through a user-defined protocol.
Updates the player's display name when it is changed. When this packet is sent by the node a copy is always sent back by the hub.
Updates the player's language when the client changes it.
Updates the latency between the player and the hub.
Updates the packet loss between the player and the hub.
Update the player's permission level. When this packet is sent by the node a copy is always sent back by the hub.
Notifies the node that the player's view distance has been updated client-side. The node may decide to not accept the new view distance and not send the required chunks.
Updates the player's world. The player's dimension should be updated by the hub using worldId to identify the world added with AddWorld and removed with RemoveWorld.
MIT
Copyright (c) 2017-2019 sel-project
Packets related to a player. The first field of every packet is an hub id that uniquely identifies a player in the hub and never changes until it disconnects.