Tasks
Custom tasks executed at the set interval for the time whenthe menu is opened

Example

1
#
2
# Custom menu periodic tasks
3
#
4
5
Tasks:
6
# Task identifier
7
tikTok:
8
# Execution interval (In Ticks)
9
period: 20
10
# Actions executed
11
task:
12
- requirement: 'isOperator.'
13
actions:
14
- 'sound: BLOCK_NOTE_BLOCK_BIT-1-2'
Copied!

Note

  • Each task is made of 3 parts: the identifier, the interval, and the actions.
  • After opening the menu, all tasks will start and then stop when the menu is closed.
Last modified 1yr ago
Copy link
Contents
Example
Note