run_command
Runs one or more commands as the console when triggered.
Categories: chat
Required arguments
| Key(s) | Description | Type |
|---|---|---|
commands \| command | The command or list of commands to run as console. Use %player% and %victim% as placeholders. | STRING_LIST |
Example
effects:
- id: run_command
args:
commands:
- "say %player% used an ability!"
- "effect give %player% speed 5 1"
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |
| Permanent | false |