|
|||||||||
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)
Deprecated. This method is deprecated. Use ExceptionManager.exception(GameException) instead. |
Config |
getConfig()
|
static ExceptionHandler |
getExceptionHandler(org.bukkit.plugin.Plugin plugin)
Deprecated. This method is deprecated. Use ExceptionManager.getExceptionHandler(Plugin) instead. |
static java.util.List<ExceptionHandler> |
getExceptionHandlers()
Deprecated. This method is deprecated. Use ExceptionManager.getExceptionHandlers() instead. |
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)
Deprecated. This method is deprecated. Use ExceptionManager.removeExceptionHandler(Plugin) instead. |
static void |
setExceptionHandler(ExceptionHandler exceptionHandler)
Deprecated. This method is deprecated. Use ExceptionManager.setExceptionHandler(ExceptionHandler) instead. |
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
.@Deprecated public static java.util.List<ExceptionHandler> getExceptionHandlers()
ExceptionManager.getExceptionHandlers()
instead.
ExceptionHandler
s.
ExceptionHandler
s.@Deprecated public static ExceptionHandler getExceptionHandler(org.bukkit.plugin.Plugin plugin)
ExceptionManager.getExceptionHandler(Plugin)
instead.
ExceptionHandler
for a Plugin
.
plugin
- The binding Plugin
.
ExceptionHandler
.@Deprecated public static void setExceptionHandler(ExceptionHandler exceptionHandler)
ExceptionManager.setExceptionHandler(ExceptionHandler)
instead.
ExceptionHandler
for a binding Plugin
.
exceptionHandler
- The ExceptionHandler
to register.@Deprecated public static void removeExceptionHandler(org.bukkit.plugin.Plugin plugin)
ExceptionManager.removeExceptionHandler(Plugin)
instead.
ExceptionHandler
of a binding Plugin
.
plugin
- The Plugin
to unregister.@Deprecated public static void exception(GameException exception)
ExceptionManager.exception(GameException)
instead.
GameException
in the correct ExceptionHandler
.
exception
- The GameException
to handle.public void onLoad()
onLoad
in interface org.bukkit.plugin.Plugin
onLoad
in class org.bukkit.plugin.java.JavaPlugin
public void onEnable()
onEnable
in interface org.bukkit.plugin.Plugin
onEnable
in class org.bukkit.plugin.java.JavaPlugin
public void onDisable()
onDisable
in interface org.bukkit.plugin.Plugin
onDisable
in class org.bukkit.plugin.java.JavaPlugin
public Config getConfig()
getConfig
in interface org.bukkit.plugin.Plugin
getConfig
in class org.bukkit.plugin.java.JavaPlugin
public 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 |