public final class AdminAnything
extends org.bukkit.plugin.java.JavaPlugin
implements org.bukkit.event.Listener
Constructor and Description |
---|
AdminAnything() |
Modifier and Type | Method and Description |
---|---|
void |
onDisable()
Called by the server when a plugin needs to be unloaded.
|
void |
onEnable()
Called by the server when a plugin is loaded
and ready for some action.
|
void |
reload(AAReloadEvent e)
React to the custom ReloadEvent which is fired when /aa_reload gets executed
or when we enable AA for the first time.
|
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
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 void reload(AAReloadEvent e)
e
- The actual reload event with message that says who is this reload for.