runTaskLater

open override fun runTaskLater(runnable: Runnable, delay: Long): BukkitScheduledTask

Schedules a task to be executed after the specified delay in ticks
Folia & Paper: ...on the global region
Bukkit: ...on the main thread

Parameters

runnable

The task to execute

delay

The delay, in ticks