Triggers
trigger/timer
Timer Trigger
Fires the graph repeatedly on a Bukkit scheduler task.
Note: The timer is started when the graph is enabled and cancelled when disabled. 20 ticks = 1 second, 200 ticks = 10 seconds, 1200 ticks = 1 minute.
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Fires on every tick interval. |
tick |
number | The current server tick count at the time of firing. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
delay |
number | 20 |
How many ticks to wait before the first execution (20 ticks = 1 second). |
period |
number | 20 |
How many ticks between each execution. |
async |
boolean | false |
Run off the main thread. Useful for heavy work but you must not call Bukkit API from async context. |
Examples
Announce every 5 minutes
Broadcast a server tip every 5 minutes.
- Set Interval to 6000 (5 × 60 × 20)
- Connect exec → Broadcast Message
- Set the broadcast message text