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
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Incoming execution. | |
sender |
sender | Player or CommandSender to run the command as. | |
command |
string | Command without leading /. |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after running. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
command |
string | "spawn" |
Default Command |