Package com.tomkeuper.bedwars.api.addon
Interface IAddonManager
public interface IAddonManager
The manager responsible for handling addons.
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of registered addons.getAddonsByAuthor(String author) Get the list of addons created by a specific author.Get the list of loaded addons.Get the list of unloaded addons.voidLoad an addon.voidLoad every addonvoidregisterAddon(Addon addon) Register an addon.voidunloadAddon(Addon addon) Unload an addon.voidUnload every addon
-
Method Details
-
getAddons
Get the list of registered addons.- Returns:
- The list of registered addons.
-
getLoadedAddons
Get the list of loaded addons.- Returns:
- The list of loaded addons.
-
getUnloadedAddons
Get the list of unloaded addons.- Returns:
- The list of unloaded addons.
-
getAddonsByAuthor
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
Load an addon.- Parameters:
addon- The addon to load.
-
unloadAddon
Unload an addon.- Parameters:
addon- The addon to unload.
-
unloadAddons
void unloadAddons()Unload every addon -
loadAddons
void loadAddons()Load every addon -
registerAddon
Register an addon.- Parameters:
addon- The addon to register.
-