Added services manager framework. Services are interfaces that specifies capabilities to be implemented by providers. Example services include economy, <insert example 2>, etc.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
fb2e2b7dcd
commit
960732b9f0
6 changed files with 469 additions and 0 deletions
|
@ -11,6 +11,7 @@ import org.bukkit.command.PluginCommand;
|
|||
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.plugin.PluginManager;
|
||||
import org.bukkit.plugin.ServicesManager;
|
||||
import org.bukkit.scheduler.BukkitScheduler;
|
||||
|
||||
/**
|
||||
|
@ -118,6 +119,13 @@ public interface Server {
|
|||
*/
|
||||
public BukkitScheduler getScheduler();
|
||||
|
||||
/**
|
||||
* Gets a services manager
|
||||
*
|
||||
* @return Services manager
|
||||
*/
|
||||
public ServicesManager getServicesManager();
|
||||
|
||||
/**
|
||||
* Gets a list of all worlds on this server
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue