Run a console command
run_commandExecute any vanilla or plugin command from the server console and get its output. Optionally specify an online player to run the command as that player.
Instructions
Execute a vanilla or plugin command from the server console, without the leading slash (e.g. "say hello"). Returns the command output, possibly empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player | No | Online player name (defaults to the first online player) | |
| command | Yes | Command without the leading / |