schedule Sync Delayed Task
Schedules getClassById once off task to occur after getClassById delay.
This task will be executed by the main server thread.
Return
Task id number (-1 if scheduling failed)
Parameters
plugin
Plugin that owns the task
task
Task to be executed
delay
Delay in server ticks before executing task
Schedules getClassById once off task to occur as soon as possible.
This task will be executed by the main server thread.
Return
Task id number (-1 if scheduling failed)
Parameters
plugin
Plugin that owns the task
task
Task to be executed