OverviewPacketsCommandRequest
ID 0x4D · 77Client → ServerUI
CommandRequest
Player or server origin request to run a slash command; the command line includes the leading slash.
command-request.bin
struct CommandRequest {
string Command;
CommandOriginData Origin;
bool InternalSource;
string Version;
}Structure
| Field | Type | Description |
|---|---|---|
| Command | string | |
| Origin | CommandOriginData | |
| Internal Source | bool | |
| Version | string |
Structure of CommandOriginData
| Field | Type | Description |
|---|---|---|
| Type | string | |
| Uuid | uuid.UUID | |
| Request Id | string | |
| Player Id | int64 (LE) |
Notes
- Origin types include Player, DevConsole, Test, AutomationPlayer and others.
- The server replies with CommandOutput.
