Class OlziePluginAPI
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
com.olziedev.playerbusinesses.api.OlziePluginAPI
- All Implemented Interfaces:
CommandExecutor
,TabCompleter
,TabExecutor
,Plugin
The main class for accessing and using the API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Debugs a message to the console, if debugging is enabled.abstract void
Debugs a message to the console, if debugging is enabled.abstract ClassLoader
abstract ExpansionRegistry
abstract PluginScheduler
<?, ?> Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, isEnabled, isNaggable, onCommand, onDisable, onEnable, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
-
Constructor Details
-
OlziePluginAPI
public OlziePluginAPI()
-
-
Method Details
-
getExpansionRegistry
- Returns:
- The expansion manager.
-
getPluginScheduler
- Returns:
- The plugin scheduler.
-
getClazzLoader
- Returns:
- The class loader of the plugin.
-
debug
Debugs a message to the console, if debugging is enabled.- Parameters:
message
- The message to debug.
-
debug
Debugs a message to the console, if debugging is enabled.- Parameters:
message
- The message to debug.logLevel
- The log level of the message.
-