Class ADPBungeeBootstrap
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Plugin
-
- com.alessiodp.core.bungeecord.bootstrap.ADPBungeeBootstrap
-
- All Implemented Interfaces:
com.alessiodp.core.common.bootstrap.ADPBootstrap
public abstract class ADPBungeeBootstrap extends net.md_5.bungee.api.plugin.Plugin implements com.alessiodp.core.common.bootstrap.ADPBootstrap
-
-
Field Summary
Fields Modifier and Type Field Description protected com.alessiodp.core.common.ADPPluginplugin
-
Constructor Summary
Constructors Constructor Description ADPBungeeBootstrap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteCommand(@NotNull String command)voidexecuteCommandByUser(@NotNull String command, @NotNull com.alessiodp.core.common.user.User user)@NotNull StringgetAuthor()@NotNull com.alessiodp.core.common.bootstrap.ADPBootstrapgetBootstrap()@NotNull PathgetFolder()@Nullable com.alessiodp.core.common.user.OfflineUsergetOfflinePlayer(@NotNull UUID uuid)@NotNull List<com.alessiodp.core.common.user.User>getOnlinePlayers()@NotNull com.alessiodp.core.common.bootstrap.PluginPlatformgetPlatform()@Nullable com.alessiodp.core.common.user.UsergetPlayer(@NotNull UUID uuid)@Nullable com.alessiodp.core.common.user.UsergetPlayerByName(@NotNull String name)@Nullable InputStreamgetResource(@NotNull String resource)@NotNull Set<String>getServersList()Returns the list of server names of this network@NotNull StringgetVersion()@NotNull com.alessiodp.core.common.logging.logger.ADPLoggerinitializeLogger()booleanisPluginEnabled(@NotNull String pluginName)voidonDisable()voidonEnable()voidonLoad()voidregisterListener(@NotNull Object object)voidstopPlugin()voidunregisterListener(@NotNull Object object)
-
-
-
Method Detail
-
onLoad
public void onLoad()
- Overrides:
onLoadin classnet.md_5.bungee.api.plugin.Plugin
-
onEnable
public void onEnable()
- Overrides:
onEnablein classnet.md_5.bungee.api.plugin.Plugin
-
onDisable
public void onDisable()
- Overrides:
onDisablein classnet.md_5.bungee.api.plugin.Plugin
-
getBootstrap
@NotNull public @NotNull com.alessiodp.core.common.bootstrap.ADPBootstrap getBootstrap()
- Specified by:
getBootstrapin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
initializeLogger
@NotNull public @NotNull com.alessiodp.core.common.logging.logger.ADPLogger initializeLogger()
- Specified by:
initializeLoggerin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
getFolder
@NotNull public @NotNull Path getFolder()
- Specified by:
getFolderin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
getAuthor
@NotNull public @NotNull String getAuthor()
- Specified by:
getAuthorin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
getPlatform
@NotNull public @NotNull com.alessiodp.core.common.bootstrap.PluginPlatform getPlatform()
- Specified by:
getPlatformin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
getVersion
@NotNull public @NotNull String getVersion()
- Specified by:
getVersionin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
stopPlugin
public void stopPlugin()
- Specified by:
stopPluginin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
isPluginEnabled
public boolean isPluginEnabled(@NotNull @NotNull String pluginName)- Specified by:
isPluginEnabledin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
getResource
@Nullable public @Nullable InputStream getResource(@NotNull @NotNull String resource)
- Specified by:
getResourcein interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
getPlayer
@Nullable public @Nullable com.alessiodp.core.common.user.User getPlayer(@NotNull @NotNull UUID uuid)- Specified by:
getPlayerin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
getPlayerByName
@Nullable public @Nullable com.alessiodp.core.common.user.User getPlayerByName(@NotNull @NotNull String name)- Specified by:
getPlayerByNamein interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
getOfflinePlayer
@Nullable public @Nullable com.alessiodp.core.common.user.OfflineUser getOfflinePlayer(@NotNull @NotNull UUID uuid)- Specified by:
getOfflinePlayerin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
getOnlinePlayers
@NotNull public @NotNull List<com.alessiodp.core.common.user.User> getOnlinePlayers()
- Specified by:
getOnlinePlayersin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
executeCommand
public void executeCommand(@NotNull @NotNull String command)- Specified by:
executeCommandin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
executeCommandByUser
public void executeCommandByUser(@NotNull @NotNull String command, @NotNull @NotNull com.alessiodp.core.common.user.User user)- Specified by:
executeCommandByUserin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
registerListener
public void registerListener(@NotNull @NotNull Object object)- Specified by:
registerListenerin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
unregisterListener
public void unregisterListener(@NotNull @NotNull Object object)- Specified by:
unregisterListenerin interfacecom.alessiodp.core.common.bootstrap.ADPBootstrap
-
-