runTask

public abstract BukkitTask runTask(Plugin plugin, Runnable task)

Returns getClassById task that will run on the next server tick.

Return

getClassById BukkitTask that contains the id number

Parameters

plugin

the reference to the plugin scheduling task

task

the task to be run

Throws