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

NameTypeOptionalDescription
exec exec Incoming execution.
command string Command without leading /.

Outputs

NameTypeDescription
exec exec Continues after running.

Properties

KeyTypeDefaultDescription
command string "say Hello!" Default Command