Scheduler

By: Raphfrk <raphfrk@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-02-02 23:51:52 +00:00
parent d7e0bed36b
commit a5886d6edc
3 changed files with 101 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import org.bukkit.entity.Player;
import java.util.List;
import org.bukkit.plugin.PluginManager;
import org.bukkit.scheduler.BukkitScheduler;
/**
* Represents a server implementation
@@ -75,6 +76,13 @@ public interface Server {
*/
public PluginManager getPluginManager();
/**
* Gets the Scheduler for managing scheduled events
*
* @return Scheduler for this Server instance
*/
public BukkitScheduler getScheduler();
/**
* Gets a list of all worlds on this server
*