Scheduler

This commit is contained in:
Raphfrk
2011-02-02 23:51:52 +00:00
committed by Erik Broes
parent e7b3e77e2d
commit 83d2d304ba
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
*