Interface IAddonManager


public interface IAddonManager
The manager responsible for handling addons.
  • Method Details

    • getAddons

      List<Addon> getAddons()
      Get the list of registered addons.
      Returns:
      The list of registered addons.
    • getLoadedAddons

      List<Addon> getLoadedAddons()
      Get the list of loaded addons.
      Returns:
      The list of loaded addons.
    • getUnloadedAddons

      List<Addon> getUnloadedAddons()
      Get the list of unloaded addons.
      Returns:
      The list of unloaded addons.
    • getAddonsByAuthor

      List<Addon> getAddonsByAuthor(String author)
      Get the list of addons created by a specific author.
      Parameters:
      author - The author of the addons.
      Returns:
      The list of addons created by the specified author.
    • loadAddon

      void loadAddon(Addon addon)
      Load an addon.
      Parameters:
      addon - The addon to load.
    • unloadAddon

      void unloadAddon(Addon addon)
      Unload an addon.
      Parameters:
      addon - The addon to unload.
    • unloadAddons

      void unloadAddons()
      Unload every addon
    • loadAddons

      void loadAddons()
      Load every addon
    • registerAddon

      void registerAddon(Addon addon)
      Register an addon.
      Parameters:
      addon - The addon to register.