|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
com.quartercode.quarterbukkit.QuarterBukkit
public class QuarterBukkit
The main class of the QuarterBukkit API. This is for easy API loading.
| Constructor Summary | |
|---|---|
QuarterBukkit()
The default constructor for Bukkit. |
|
| Method Summary | |
|---|---|
static void |
exception(GameException exception)
Handles an GameException in the correct ExceptionHandler. |
Config |
getConfig()
|
static ExceptionHandler |
getExceptionHandler(org.bukkit.plugin.Plugin plugin)
Returns the registered ExceptionHandler for a Plugin. |
static java.util.List<ExceptionHandler> |
getExceptionHandlers()
Returns all registered ExceptionHandlers. |
static org.bukkit.plugin.Plugin |
getPlugin()
Returns the current Plugin. |
void |
onDisable()
This method is called when the plugin gets disabled. |
void |
onEnable()
This method is called when the plugin gets enabled. |
void |
onLoad()
This method is called when the plugin loads. |
static void |
removeExceptionHandler(org.bukkit.plugin.Plugin plugin)
Unregisters the ExceptionHandler of a binding Plugin. |
static void |
setExceptionHandler(ExceptionHandler exceptionHandler)
Registers the ExceptionHandler for a binding Plugin. |
java.lang.String |
toString()
|
| Methods inherited from class org.bukkit.plugin.java.JavaPlugin |
|---|
getClassLoader, getCommand, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPluginLoader, getResource, getServer, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, onTabComplete, reloadConfig, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable |
| Methods inherited from class org.bukkit.plugin.PluginBase |
|---|
equals, getName, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QuarterBukkit()
| Method Detail |
|---|
public static org.bukkit.plugin.Plugin getPlugin()
Plugin.
Plugin.public static java.util.List<ExceptionHandler> getExceptionHandlers()
ExceptionHandlers.
ExceptionHandlers.public static ExceptionHandler getExceptionHandler(org.bukkit.plugin.Plugin plugin)
ExceptionHandler for a Plugin.
plugin - The binding Plugin.
ExceptionHandler.public static void setExceptionHandler(ExceptionHandler exceptionHandler)
ExceptionHandler for a binding Plugin.
exceptionHandler - The ExceptionHandler to register.public static void removeExceptionHandler(org.bukkit.plugin.Plugin plugin)
ExceptionHandler of a binding Plugin.
plugin - The Plugin to unregister.public static void exception(GameException exception)
GameException in the correct ExceptionHandler.
exception - The GameException to handle.public void onLoad()
onLoad in interface org.bukkit.plugin.PluginonLoad in class org.bukkit.plugin.java.JavaPluginpublic void onEnable()
onEnable in interface org.bukkit.plugin.PluginonEnable in class org.bukkit.plugin.java.JavaPluginpublic void onDisable()
onDisable in interface org.bukkit.plugin.PluginonDisable in class org.bukkit.plugin.java.JavaPluginpublic Config getConfig()
getConfig in interface org.bukkit.plugin.PlugingetConfig in class org.bukkit.plugin.java.JavaPluginpublic java.lang.String toString()
toString in class org.bukkit.plugin.java.JavaPlugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||