-
Notifications
You must be signed in to change notification settings - Fork 0
Proto
github-actions[bot] edited this page Sep 1, 2025
·
27 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 switches modes.
| Field | Type | Label | Description |
|---|---|---|---|
| mode | Mode | The mode the player is in. |
Sent when the player joins the server, admins will have all permissions set to their highest level.
| Field | Type | Label | Description |
|---|---|---|---|
| donor | int32 | The donor rank level of the player. (Noble, Emperor, Mythic, Overlord) | |
| support | int32 | The support rank level of the player. (JrHelper, Helper, SrHelper) | |
| mod | int32 | The mod rank level of the player. (JrMod, Mod, SrMod) | |
| admin | int32 | The admin rank level of the player. (Dev, Admin, Owner) |
Sent when the player joins a plot.
| Field | Type | Label | Description |
|---|---|---|---|
| id | int32 | The identifier of the plot. | |
| name | string | The name of the plot as a serialized component in JSON format. | |
| owner_name | string | The name of the owner of the plot. | |
| owner_uuid | string | The UUID of the owner of the plot (36 characters including dashes). | |
| plot_size | int32 | The size of the plot (1 = Basic, 2 = Large, 3 = Massive, 4 = Mega). | |
| plot_min_x | int32 | The minimum X coordinate of the plot. | |
| plot_min_z | int32 | The minimum Z coordinate of the plot. | |
| spawn_pos_x | int32 | The spawn X coordinate of the plot. | |
| spawn_pos_y | int32 | The spawn Y coordinate of the plot. | |
| spawn_pos_z | int32 | The spawn Z coordinate of the plot. | |
| is_owner | bool | Whether the player is the owner of the plot. | |
| is_developer | bool | Whether the player has developer permissions on the plot. | |
| is_builder | bool | Whether the player has builder permissions on the plot. | |
| tags | string | repeated | The tags of this plot (e.g. "adventure", "combat", ...). |
| handle | string | The handle of the plot, or empty if none is set. | |
| players | PlotInfo.PlotPlayer | repeated | The players currently on the plot. |
Represents a player in a plot.
| Field | Type | Label | Description |
|---|---|---|---|
| user_name | string | The name of the player. | |
| user_uuid | string | The UUID of the player (36 characters including dashes). | |
| is_owner | bool | Whether the player is the owner of the plot. | |
| is_developer | bool | Whether the player has developer permissions on the plot. | |
| is_builder | bool | Whether the player has builder permissions on the plot. | |
| mode | Mode | The mode the player is in. |
Sent when the player joins the server.
| Field | Type | Label | Description |
|---|---|---|---|
| is_active | bool | Whether a booster is currently active. | |
| active_booster | ServerBooster.ActiveBooster | optional | The active booster, if any. |
Represents an active booster.
| Field | Type | Label | Description |
|---|---|---|---|
| tipped | bool | Whether the booster was tipped by the player. | |
| multiplier | int32 | The multiplier of the booster (e.g. 2 for 2x). | |
| time_remaining | int64 | The time remaining of the booster in milliseconds. | |
| user_name | string | The name of the player who activated the booster. | |
| user_uuid | string | The UUID of the player who activated the booster (36 characters including dashes). |
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. |
Represents a player's mode.
| Name | Number | Description |
|---|---|---|
| PLAY | 0 | Play mode. |
| BUILD | 1 | Build mode. |
| CODE | 2 | Dev (code) mode. |
| STALK | 3 | Code spectate (stalk) mode. |
| VANISH | 4 | Mod vanish mode. |
| SPAWN | 5 | Spawn (idle) mode. |
| VERIFY | 6 | Account check (verify) 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.