sync

Executes the given block via the plugin synchronized with the server tick.
fun sync(plugin: KotlinPlugin, delayTicks: Long, repeatingTicks: Long, block: () -> Unit): BukkitTask