| Modifier and Type | Field and Description |
|---|---|
protected boolean |
reloading |
| Constructor and Description |
|---|
BukkitPlugin() |
| Modifier and Type | Method and Description |
|---|---|
NotificationCenter |
getNotificationCenter() |
RunnableFactory |
getRunnableFactory() |
protected boolean |
isNewVersionAvailable(String versionStringUrl) |
boolean |
isReloading() |
void |
log(String level,
String s) |
void |
onDisable() |
void |
onEnable() |
void |
registerCommand(String name,
SubCommand command) |
void |
registerListener(org.bukkit.event.Listener... listeners) |
void |
reloadPlugin(boolean full) |
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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDataFolder, getVersion, onReloadpublic void onEnable()
public void onDisable()
public void registerListener(org.bukkit.event.Listener... listeners)
public void registerCommand(String name, SubCommand command)
protected boolean isNewVersionAvailable(String versionStringUrl) throws IOException
IOExceptionpublic NotificationCenter getNotificationCenter()
public RunnableFactory getRunnableFactory()
public void reloadPlugin(boolean full)
reloadPlugin in interface IPluginpublic boolean isReloading()
isReloading in interface IPluginCopyright © 2018. All rights reserved.