Class AddonManager

    • Constructor Detail

      • AddonManager

        public AddonManager​(BetterGUI plugin)
    • Method Detail

      • getAuthors

        @NotNull
        public static @NotNull List<@NotNull String> getAuthors​(@NotNull
                                                                @NotNull ExpansionClassLoader loader)
        Get the authors of the loader
        Parameters:
        loader - the loader
        Returns:
        the authors
      • getDescription

        @NotNull
        public static @NotNull String getDescription​(@NotNull
                                                     @NotNull 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:
        enable in interface Loadable
      • disable

        public void disable()
        Specified by:
        disable in interface Loadable