mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
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:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user