MCBE
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

FieldTypeDescription
Commandstring
OriginCommandOriginData
Internal Sourcebool
Versionstring

Structure of CommandOriginData

FieldTypeDescription
Typestring
Uuiduuid.UUID
Request Idstring
Player Idint64 (LE)

Notes

  • Origin types include Player, DevConsole, Test, AutomationPlayer and others.
  • The server replies with CommandOutput.