Skip to content

Send to Server

Mqx edited this page Oct 21, 2025 · 16 revisions

Send Command to Console

POST /console/send

Send a Minecraft command to the server console.

Warning

Commands are not validated, parsed or checked for permission. This should be handled by an other layer on top of this mod!

Body parameters

{
  command : string
}

Response fields

{
  errors : Array<{
    message : string,
    stacktrace : string
  }>
}

Example

POST /console/send
Content-Type: application/json

{
  "command": "say Hello World!"
}

Response

200 OK

{
  "errors": []
}
400 ERROR

{
  "errors": [
    {
      "message": "Internal Server Error",
      "stacktrace": "..."
    }
  ]
}

Clone this wiki locally