View on GitHub

Soupply

Automatically generated libraries for encoding and decoding Minecraft protocols

home / bedrock261 / play / disconnect

Disconnect

Encode/decode this packet in Sandbox

Id: 5

Id (hex): 05

Id (bin): 00000101

Clientbound: ✔️

Serverbound: ✖️

Disconnects the player from the server.

Fields

Name Type When
hide disconnection screen bool  
message string hide disconnection screen is false

hide disconnection screen

Indicates whether to display the main menu screen or a disconnection message.

message

The message to display in the disconnection screen. If the message is in the game’s language file it will be translated client-side.