OverviewPacketsAvailableCommands ID 0x4C · 76Server → ClientUI
The command tree the client renders for autocomplete: enums, soft enums, constraints and per-command overloads with argument types.
available-commands.bin
struct AvailableCommands {
varuint32 [] · string[] EnumValues;
varuint32 [] · string[] ChainedSubcommandValues;
varuint32 [] · string[] Postfixes;
varuint32 [] · EnumData[] Enums;
varuint32 [] · ChainedSubcommandData[] ChainedSubcommands;
varuint32 [] · CommandData[] Commands;
varuint32 [] · SoftEnumData[] SoftEnums;
varuint32 [] · ConstrainedValueData[] Constraints;
}Structure
| Field | Type | Description |
|---|
| Enum Values | varuint32 count + string[] | Length-prefixed sequence. |
| Chained Subcommand Values | varuint32 count + string[] | Length-prefixed sequence. |
| Postfixes | varuint32 count + string[] | Length-prefixed sequence. |
| Enums | varuint32 count + EnumData[] | Length-prefixed sequence. |
| Chained Subcommands | varuint32 count + ChainedSubcommandData[] | Length-prefixed sequence. |
| Commands | varuint32 count + CommandData[] | Length-prefixed sequence. |
| Soft Enums | varuint32 count + SoftEnumData[] | Length-prefixed sequence. |
| Constraints | varuint32 count + ConstrainedValueData[] | Length-prefixed sequence. |
Structure of EnumData
| Field | Type | Description |
|---|
| Name | string | |
| Values | varuint32 count + uint32[] | Length-prefixed sequence. |
Structure of ChainedSubcommandData
| Field | Type | Description |
|---|
| Name | string | |
| Values | varuint32 count + ChainedSubcommandRelationship[] | Length-prefixed sequence. |
Structure of CommandData
| Field | Type | Description |
|---|
| Name | string | |
| Description | string | |
| Flags | uint16 (LE) | |
| Permission | string | |
| Alias Enum | int32 (LE) | |
| Chained Subcommand Indexes | varuint32 count + uint32[] | Length-prefixed sequence. |
| Overloads | varuint32 count + OverloadData[] | Length-prefixed sequence. |
Structure of SoftEnumData
| Field | Type | Description |
|---|
| Name | string | |
| Values | varuint32 count + string[] | Length-prefixed sequence. |
Structure of ConstrainedValueData
| Field | Type | Description |
|---|
| Enum Value Symbol | uint32 (LE) | |
| Enum Symbol | uint32 (LE) | |
| Constraints | varuint32 count + uint8[] | Length-prefixed sequence. |
Structure of ChainedSubcommandRelationship
| Field | Type | Description |
|---|
| Sub Command First Value | varuint32 | |
| Sub Command Second Value | varuint32 | |
Structure of OverloadData
| Field | Type | Description |
|---|
| Is Chaining | bool | |
| Params | varuint32 count + ParamData[] | Length-prefixed sequence. |
Structure of ParamData
| Field | Type | Description |
|---|
| Name | string | |
| Parse Symbol | uint32 (LE) | |
| Optional | bool | |
| Param Options | uint8 | |
Notes
- Sent on join and whenever permissions or the command set change.
- Argument types include int/float/value/wildcard/operator targets with their own enum suffixes.