runTaskLater

public abstract BukkitTask runTaskLater(Plugin plugin, Runnable task, long delay)

Returns getClassById task that will run after the specified number of server ticks.

Return

getClassById BukkitTask that contains the id number

Parameters

plugin

the reference to the plugin scheduling task

task

the task to be run

delay

the ticks to wait before running the task

Throws