Skip to main content

Authentication Packets

Packets in the com.hypixel.hytale.protocol.packets.auth package.

Status (10)

Bound: Clientbound | State: Status

Returns server information for the server list ping.

FieldTypeNotes
motdStringMessage of the Day.
playerCountIntCurrent players.
maxPlayersIntMax slots.
membersOnlyBooleanIf true, restricts access.

AuthGrant (11)

Bound: Clientbound | State: Login

Server provides the OAuth grant to the client.

FieldTypeNotes
grantStringThe authorization grant code (Max 4096).
identityStringThe server's identity JWT (Max 8192).

AuthToken (12)

Bound: Serverbound | State: Login

Client sends the obtained access token back to the server.

FieldTypeNotes
nullBitsByteBitmask.
accessTokenStringOptional (Mask 0x1). The raw access token.
serverGrantStringOptional (Mask 0x2). The grant code.

ServerAuthToken (13)

Bound: Clientbound | State: Login

Finalizes the login process.

FieldTypeNotes
serverTokenStringThe confirmed server session token.

ConnectAccept (14)

Bound: Clientbound | State: Login

Used when falling back to password authentication.

FieldTypeNotes
saltByte[]Salt for hashing the password.
challengeByte[]Random challenge bytes.

PasswordResponse (15)

Bound: Serverbound | State: Login

FieldTypeNotes
hashByte[]The hashed password response.

PasswordAccepted (16)

Bound: Clientbound | State: Login

Payload is empty. Signals successful password login.

PasswordRejected (17)

Bound: Clientbound | State: Login

FieldTypeNotes
attemptsLeftIntRemaining retries allowed.

ClientReferral (18)

Bound: Serverbound | State: Login

FieldTypeNotes
sourceHostAddressHostname/IP used to join.