-
Notifications
You must be signed in to change notification settings - Fork 0
Proto
github-actions[bot] edited this page Aug 27, 2025
·
31 revisions
Sent when the player joins the server.
| Field | Type | Label | Description |
|---|---|---|---|
| tokens | int32 | The amount of tokens the player has. | |
| tickets | int32 | The amount of tickets the player has. | |
| ticket_bundles | PlayerCurrency.TicketBundle | repeated | The unclaimed ticket bundles the player has. |
| sparks | int32 | The amount of sparks the player has. |
Represents an unclaimed ticket bundle.
| Field | Type | Label | Description |
|---|---|---|---|
| event_name | string | The name of the event the bundle is from. | |
| prize_name | string | The name of the prize the bundle is for. | |
| ticket_amount | int32 | The amount of tickets in the bundle. |
Sent when the player joins the server.
| Field | Type | Label | Description |
|---|---|---|---|
| mode | PlayerMode.Mode | The mode the player is in. |
Sent when the player joins the server.
| Field | Type | Label | Description |
|---|---|---|---|
| protocol_version | string | The version of the protocol in semver format. | |
| bungee_name | string | The identifier of the server. | |
| patch_version | string | The patch version of the server. | |
| server_type | ServerInfo.DFServerType | The type of the server. |
| Name | Number | Description |
|---|---|---|
| PLAY | 0 | Play mode. |
| BUILD | 1 | Build mode. |
| DEV | 2 | Dev mode. |
| SPY | 3 | Code-spectate mode. |
| VANISH | 4 | Mod vanish mode. |
| IDLE | 5 | Spawn mode. |
| VERIFY | 6 | Bot check mode. |
Represents a server type.
| Name | Number | Description |
|---|---|---|
| MAIN | 0 | Main nodes. |
| BETA | 1 | Node beta. |
| DEV | 2 | Dev nodes. |
| PUBLIC_TEST | 3 | Unused. |
| PUBLIC_EVENT | 4 | Event node. |
| LOCAL_DEV | 5 | Local dev servers. |
| PRIVATE | 6 | Private nodes. |
Warning
This repository is a work in progress, packets may be changed, added, and removed at any time, and this repository may go unmaintained for long periods of time. No promises are made.