| Package | Description | 
|---|---|
| com.destroystokyo.paper.exception | |
| org.bukkit.scheduler | 
 Classes dedicated to letting  
plugins run
 code at specific time intervals, including thread safety. | 
| Modifier and Type | Method | Description | 
|---|---|---|
BukkitTask | 
ServerSchedulerException.getTask() | 
 Gets the task which threw the exception 
 | 
| Constructor | Description | 
|---|---|
ServerSchedulerException(String message,
                        Throwable cause,
                        boolean enableSuppression,
                        boolean writableStackTrace,
                        BukkitTask task) | 
|
ServerSchedulerException(String message,
                        Throwable cause,
                        BukkitTask task) | 
|
ServerSchedulerException(Throwable cause,
                        BukkitTask task) | 
| Modifier and Type | Method | Description | 
|---|---|---|
BukkitTask | 
BukkitRunnable.runTask(Plugin plugin) | 
 Schedules this in the Bukkit scheduler to run on next tick. 
 | 
BukkitTask | 
BukkitScheduler.runTask(Plugin plugin,
       Runnable task) | 
 Returns a task that will run on the next server tick. 
 | 
BukkitTask | 
BukkitScheduler.runTask(Plugin plugin,
       BukkitRunnable task) | 
 Deprecated.
 
 | 
BukkitTask | 
BukkitRunnable.runTaskAsynchronously(Plugin plugin) | 
 Asynchronous tasks should never access any API in Bukkit. 
 | 
BukkitTask | 
BukkitScheduler.runTaskAsynchronously(Plugin plugin,
                     Runnable task) | 
 Asynchronous tasks should never access any API in Bukkit. 
 | 
BukkitTask | 
BukkitScheduler.runTaskAsynchronously(Plugin plugin,
                     BukkitRunnable task) | 
 Deprecated.
 
 | 
BukkitTask | 
BukkitRunnable.runTaskLater(Plugin plugin,
            long delay) | 
 Schedules this to run after the specified number of server ticks. 
 | 
BukkitTask | 
BukkitScheduler.runTaskLater(Plugin plugin,
            Runnable task,
            long delay) | 
 Returns a task that will run after the specified number of server
 ticks. 
 | 
BukkitTask | 
BukkitScheduler.runTaskLater(Plugin plugin,
            BukkitRunnable task,
            long delay) | 
 Deprecated.
 
 | 
BukkitTask | 
BukkitRunnable.runTaskLaterAsynchronously(Plugin plugin,
                          long delay) | 
 Asynchronous tasks should never access any API in Bukkit. 
 | 
BukkitTask | 
BukkitScheduler.runTaskLaterAsynchronously(Plugin plugin,
                          Runnable task,
                          long delay) | 
 Asynchronous tasks should never access any API in Bukkit. 
 | 
BukkitTask | 
BukkitScheduler.runTaskLaterAsynchronously(Plugin plugin,
                          BukkitRunnable task,
                          long delay) | 
 Deprecated.
 
 | 
BukkitTask | 
BukkitRunnable.runTaskTimer(Plugin plugin,
            long delay,
            long period) | 
 Schedules this to repeatedly run until cancelled, starting after the
 specified number of server ticks. 
 | 
BukkitTask | 
BukkitScheduler.runTaskTimer(Plugin plugin,
            Runnable task,
            long delay,
            long period) | 
 Returns a task that will repeatedly run until cancelled, starting after
 the specified number of server ticks. 
 | 
BukkitTask | 
BukkitScheduler.runTaskTimer(Plugin plugin,
            BukkitRunnable task,
            long delay,
            long period) | 
 Deprecated.
 
 | 
BukkitTask | 
BukkitRunnable.runTaskTimerAsynchronously(Plugin plugin,
                          long delay,
                          long period) | 
 Asynchronous tasks should never access any API in Bukkit. 
 | 
BukkitTask | 
BukkitScheduler.runTaskTimerAsynchronously(Plugin plugin,
                          Runnable task,
                          long delay,
                          long period) | 
 Asynchronous tasks should never access any API in Bukkit. 
 | 
BukkitTask | 
BukkitScheduler.runTaskTimerAsynchronously(Plugin plugin,
                          BukkitRunnable task,
                          long delay,
                          long period) | 
 Deprecated.
 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
List<BukkitTask> | 
BukkitScheduler.getPendingTasks() | 
 Returns a list of all pending tasks. 
 | 
Copyright © 2019. All rights reserved.