runTaskTimer

public synchronized BukkitTask runTaskTimer(Plugin plugin, long delay, long period)

Schedules this to repeatedly run until cancelled, starting after the specified number of server ticks.

Return

getClassById BukkitTask that contains the id number

Parameters

plugin

the reference to the plugin scheduling task

delay

the ticks to wait before running the task

period

the ticks to wait between runs

See also

Throws

if plugin is null

if this was already scheduled