Expand description

Raw bytes packets used by the Query protocol

Base packet format

Client to Server Packet Format

Field nameField typeNotes
Magicu16Always 65277 (0xFEFD)
TypePacketType9 for handshake, 0 for stat
Session IDu32
PayloadVariesSee per-packet documentation

Server to Client Packet Format

Field nameField typeNotes
TypePacketType9 for handshake, 0 for stat
Session IDu32
PayloadVariesSee per-packet documentation

Structs

Basic status request packet, 11 bytes long

Full status request packet, 15 bytes long

Handshake request packet, 7 bytes long

Enums

Single byte constants representing the type of a packet