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

NameTypeDescription
exec exec Fires on every tick interval.
tick number The current server tick count at the time of firing.

Properties

KeyTypeDefaultDescription
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.

  1. Set Interval to 6000 (5 × 60 × 20)
  2. Connect exec → Broadcast Message
  3. Set the broadcast message text