Skip to content

Disconnect

Packet IDDirectionMojang NameMCP Name
0xFFBothDisconnectPacketPacket255KickDisconnect

This packet is used by the server to disconnect the client with a reason, after which it will close the connection. Due to this, when the server disconnects the client, the client often doesn't even receive the Disconnect Message*.

* please verify this

Clientbound

FieldTypeDescription
ReasonString16The reason for disconnecting the client

Serverbound

FieldTypeDescription
ReasonString16The reason the client disconnected

Example Packet

FieldValue
ReasonThe server is full!