Package me.hsgamer.bettergui.manager
Class ExtraAddonManager
- java.lang.Object
-
- me.hsgamer.hscore.addon.AddonManager
-
- me.hsgamer.hscore.bukkit.addon.PluginAddonManager
-
- me.hsgamer.bettergui.manager.ExtraAddonManager
-
public class ExtraAddonManager extends PluginAddonManager
-
-
Field Summary
-
Fields inherited from class me.hsgamer.hscore.addon.AddonManager
addons
-
-
Constructor Summary
Constructors Constructor Description ExtraAddonManager(org.bukkit.plugin.java.JavaPlugin javaPlugin)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Integer>getAddonCount()Get addon countstatic List<String>getAuthors(Addon addon)Get the authors of the addonstatic StringgetDescription(Addon addon)Get the description of the addonprotected booleanonAddonLoading(@NotNull Addon addon)protected @NotNull Map<String,Addon>sortAndFilter(@NotNull Map<String,Addon> original)-
Methods inherited from class me.hsgamer.hscore.bukkit.addon.PluginAddonManager
getPlugin, onAddonDisabled, onAddonEnabled
-
Methods inherited from class me.hsgamer.hscore.addon.AddonManager
callPostEnable, callReload, disableAddon, disableAddons, enableAddon, enableAddons, findClass, getAddon, getAddonDescriptionLoader, getAddonsDir, getLoadedAddons, getLogger, isAddonLoaded, loadAddons, onAddonDisable, onAddonEnable
-
-
-
-
Method Detail
-
getAuthors
public static List<String> getAuthors(Addon addon)
Get the authors of the addon- Parameters:
addon- the addon- Returns:
- the authors
-
getDescription
public static String getDescription(Addon addon)
Get the description of the addon- Parameters:
addon- the addon- Returns:
- the description
-
sortAndFilter
@NotNull protected @NotNull Map<String,Addon> sortAndFilter(@NotNull @NotNull Map<String,Addon> original)
- Overrides:
sortAndFilterin classAddonManager
-
onAddonLoading
protected boolean onAddonLoading(@NotNull @NotNull Addon addon)- Overrides:
onAddonLoadingin classAddonManager
-
-