Package me.hsgamer.bettergui.manager
Class AddonManager
- java.lang.Object
-
- me.hsgamer.hscore.expansion.common.ExpansionManager
-
- me.hsgamer.bettergui.manager.AddonManager
-
- All Implemented Interfaces:
io.github.projectunified.minelib.plugin.base.Loadable,io.github.projectunified.minelib.plugin.postenable.PostEnable
public class AddonManager extends me.hsgamer.hscore.expansion.common.ExpansionManager implements io.github.projectunified.minelib.plugin.base.Loadable, io.github.projectunified.minelib.plugin.postenable.PostEnable
-
-
Constructor Summary
Constructors Constructor Description AddonManager(BetterGUI plugin)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisable()voidenable()static @NotNull List<@NotNull String>getAuthors(@NotNull me.hsgamer.hscore.expansion.common.ExpansionClassLoader loader)Get the authors of the loaderstatic @NotNull StringgetDescription(@NotNull me.hsgamer.hscore.expansion.common.ExpansionClassLoader loader)Get the description of the loaderMap<String,Integer>getExpansionCount()Get expansion countBetterGUIgetPlugin()Get the pluginvoidpostEnable()-
Methods inherited from class me.hsgamer.hscore.expansion.common.ExpansionManager
addStateListener, call, call, clearExpansions, disableExpansions, enableExpansions, getClassLoaders, getEnabledExpansions, getExpansion, getExpansionClassLoader, getExpansionsDir, getParentClassLoader, loadExpansions, removeStateListener, setExceptionHandler, setExpansionFactory, setSortAndFilterFunction
-
-
-
-
Constructor Detail
-
AddonManager
public AddonManager(BetterGUI plugin)
-
-
Method Detail
-
getAuthors
@NotNull public static @NotNull List<@NotNull String> getAuthors(@NotNull @NotNull me.hsgamer.hscore.expansion.common.ExpansionClassLoader loader)
Get the authors of the loader- Parameters:
loader- the loader- Returns:
- the authors
-
getDescription
@NotNull public static @NotNull String getDescription(@NotNull @NotNull me.hsgamer.hscore.expansion.common.ExpansionClassLoader loader)
Get the description of the loader- Parameters:
loader- the loader- Returns:
- the description
-
getExpansionCount
public Map<String,Integer> getExpansionCount()
Get expansion count- Returns:
- the expansion count
-
getPlugin
public BetterGUI getPlugin()
Get the plugin- Returns:
- the plugin
-
enable
public void enable()
- Specified by:
enablein interfaceio.github.projectunified.minelib.plugin.base.Loadable
-
postEnable
public void postEnable()
- Specified by:
postEnablein interfaceio.github.projectunified.minelib.plugin.postenable.PostEnable
-
disable
public void disable()
- Specified by:
disablein interfaceio.github.projectunified.minelib.plugin.base.Loadable
-
-