TaskBuilder
DSL for building and scheduling tasks.
This class provides methods to define the execution timing and environment (synchronous/asynchronous) of a task.
Parameters
plugin
the Plugin instance to schedule tasks under
Types
Functions
Link copied to clipboard
Schedules a task to run after the specified delay.
Link copied to clipboard
Runs the task asynchronously.
Link copied to clipboard
Launches a coroutine on the Bukkit main thread.
Link copied to clipboard
Launches a coroutine asynchronously.
Link copied to clipboard
Runs the task on the next tick (synchronously on the main thread).