runTaskLater

fun runTaskLater(plugin: Plugin, delay: Long): ScheduledTask

Schedules this to run after the specified number of server ticks.

Return

{@link MyScheduledTask}

Parameters

plugin

the reference to the plugin scheduling task

delay

the ticks to wait before running the task

Throws

if plugin is null

if this was already scheduled