World / Server
paper/console_command
Console Command
Runs a command as the server console (with full permissions).
Note: Runs on the main server thread. Do not use with commands that return large amounts of output.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Incoming execution. | |
command |
string | Command without leading /. |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after running. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
command |
string | "say Hello!" |
Default Command |