Skip to content

2026.01.17 4b0f30090 connection

github-actions[bot] edited this page Jan 18, 2026 · 1 revision

Connection Packets

Version: 2026.01.17-4b0f30090

This category contains 4 packet(s).

Packet Index

ID Name Package Compressed Max Size
0x00 Connect com.hypixel.hytale.protocol.packets.connection No 37.3 KB
0x01 Disconnect com.hypixel.hytale.protocol.packets.connection No 15.6 MB
0x02 Ping com.hypixel.hytale.protocol.packets.connection No 29 bytes
0x03 Pong com.hypixel.hytale.protocol.packets.connection No 20 bytes

Connect

Property Value
Packet ID 0x00 (0)
Compressed No
Fixed Block Size 82 bytes
Variable Field Count 5
Max Size 37.3 KB
Nullable Bit Field 1 byte(s)
Variable Block Start 102

Fields

Name Type Offset Size Encoding Nullable
protocolHash String 1 64 fixed_string:64 No
clientType ClientType 65 1 byte No
language String -1 var var_string:ascii Yes
identityToken String -1 var var_string:utf8 Yes
uuid UUID 66 16 uuid No
username String -1 var var_string:ascii No
referralData byte[] -1 var byte[] Yes
referralSource HostAddress -1 var nested:HostAddress Yes

Layout Notes: Fixed block contains nullable bits at offset 0, offsets to variable data at offset + 102 + int32 LE values

clientType enum values:

  • 0 = Game
  • 1 = Editor

Disconnect

Property Value
Packet ID 0x01 (1)
Compressed No
Fixed Block Size 2 bytes
Variable Field Count 1
Max Size 15.6 MB
Nullable Bit Field 1 byte(s)
Variable Block Start 2

Fields

Name Type Offset Size Encoding Nullable
reason String -1 var var_string:utf8 Yes
type DisconnectType 1 1 byte No

Layout Notes: Fixed block contains nullable bits at offset 0, type byte at offset 1; variable data (reason string) at offset 2+ when present

type enum values:

  • 0 = Disconnect
  • 1 = Crash

Ping

Property Value
Packet ID 0x02 (2)
Compressed No
Fixed Block Size 29 bytes
Variable Field Count 0
Max Size 29 bytes
Nullable Bit Field 1 byte(s)
Variable Block Start 29

Fields

Name Type Offset Size Encoding Nullable
id int 1 4 int32_le No
time InstantData -1 var nested:InstantData Yes
lastPingValueRaw int 17 4 int32_le No
lastPingValueDirect int 21 4 int32_le No
lastPingValueTick int 25 4 int32_le No

Layout Notes: Fixed block contains nullable bits at offset 0; fields are at fixed offsets as specified in the deserialize method.


Pong

Property Value
Packet ID 0x03 (3)
Compressed No
Fixed Block Size 20 bytes
Variable Field Count 0
Max Size 20 bytes
Nullable Bit Field 1 byte(s)
Variable Block Start 20

Fields

Name Type Offset Size Encoding Nullable
id int 1 4 int32_le No
time InstantData -1 var nested:InstantData Yes
type PongType 17 1 byte No
packetQueueSize short 18 2 int16_le No

Layout Notes: Fixed block contains nullable bits at offset 0, id at 1-4, optional time at 5-16, type at 17, packetQueueSize at 18-19

type enum values:

  • 0 = Raw
  • 1 = Direct
  • 2 = Tick

Back to Home

Clone this wiki locally