Award Stats
Play 0x03, server → client.
play · 0x03 · clientbound (server → client)
Sends the player’s statistics (category, statistic id, and value) to the client. The server sends it in response to a serverbound ClientCommand with the ‘request stats’ action. The client updates the statistics screen with the given entries.
Sent by the server, read by the client. Listen for it with client.on("AwardStats", (data) => …) on the receiving side.
Fields
| Field | Type | Notes |
|---|---|---|
entries |
Array | also statistics |
Send it
await client.sendPacket("AwardStats", {
entries: /* Array */,
});
Field aliases listed under Notes are accepted as alternative keys when writing.
Source: src/Core/Versions/776/Packets/play/clientbound/AwardStats.ts