# command

### Action Syntax

```yaml
actions:
  - id: command
    command: 'time set day'
    use-console: false # optional, runs in the console
```

{% hint style="info" %}
To get the target playername, use #player# in the command String
{% endhint %}

{% hint style="info" %}
All messages here are compatible with our Nexus Placeholder API and PlaceholderAPI.
{% endhint %}

{% hint style="warning" %}
If the player has no permission for the target command, it will **not** be executed!
{% endhint %}
