| Modifier and Type | Field and Description |
|---|---|
protected boolean |
reloading |
| Constructor and Description |
|---|
BungeePlugin() |
| 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(net.md_5.bungee.api.plugin.Listener... listeners) |
void |
reloadPlugin(boolean full) |
getDataFolder, getDescription, getExecutorService, getFile, getLogger, getProxy, getResourceAsStream, onLoadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataFolder, getVersion, onReloadpublic void onEnable()
public void onDisable()
public void reloadPlugin(boolean full)
reloadPlugin in interface IPluginpublic void registerListener(net.md_5.bungee.api.plugin.Listener... listeners)
public void registerCommand(String name, SubCommand command)
protected boolean isNewVersionAvailable(String versionStringUrl) throws IOException
IOExceptionpublic NotificationCenter getNotificationCenter()
public RunnableFactory getRunnableFactory()
public boolean isReloading()
isReloading in interface IPluginCopyright © 2018. All rights reserved.