World / Server paper/run_command_as

Run Command As

Runs a command as a specific player or command sender.

Note: The command runs with the permissions of the provided sender.

Inputs

NameTypeOptionalDescription
exec exec Incoming execution.
sender sender Player or CommandSender to run the command as.
command string Command without leading /.

Outputs

NameTypeDescription
exec exec Continues after running.

Properties

KeyTypeDefaultDescription
command string "spawn" Default Command