ID 0x6C · 108Server → ClientUI
Sets the scoreboard which is used for 3rd party content.
set-score.bin
struct SetScore {
varuint32 [] · RemoveScore | ChangePlayerScore | ChangeEntityScore | ChangeFakePlayerScore[] ScoreInfo;
}Structure
| Field | Type | Description |
|---|
| Score Info | varuint32 count + RemoveScore | ChangePlayerScore | ChangeEntityScore | ChangeFakePlayerScore[] | Length-prefixed sequence. |
Structure of RemoveScore
| Field | Type | Description |
|---|
| Action | constant 'remove' | Fixed tag written on the wire. |
| Scoreboard Id | ScoreboardId | |
| Objective Name | optional byte + string | Presence flag on the wire; value omitted when absent. |
Structure of ChangePlayerScore
| Field | Type | Description |
|---|
| Action | constant 'changeplayer' | Fixed tag written on the wire. |
| Scoreboard Id | ScoreboardId | |
| Objective Name | string | |
| Score Value | int32 (LE) | |
| Player Id | PlayerScoreboardId | |
Structure of ChangeEntityScore
| Field | Type | Description |
|---|
| Action | constant 'changeentity' | Fixed tag written on the wire. |
| Scoreboard Id | ScoreboardId | |
| Objective Name | string | |
| Score Value | int32 (LE) | |
| Entity Id | ActorUniqueID | |
Structure of ChangeFakePlayerScore
| Field | Type | Description |
|---|
| Action | constant 'changefakeplayer' | Fixed tag written on the wire. |
| Scoreboard Id | ScoreboardId | |
| Objective Name | string | |
| Score Value | int32 (LE) | |
| Fake Player Name | string | |
Structure of ScoreboardId
| Field | Type | Description |
|---|
| Raw Id | varint64 | |
Structure of PlayerScoreboardId
| Field | Type | Description |
|---|
| Actor Unique Id | varint64 | |
Notes