Package me.hackware.api.module
Class ModuleManager
java.lang.Object
me.hackware.api.module.ModuleManager
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleManagerget()<T extends Module>
TgetModulesByCategory(Category category) voidvoidunregister(Module module) Removes a module, disabling it first so itsonDisableruns and any event subscriptions are torn down.
-
Method Details
-
get
-
register
-
unregister
Removes a module, disabling it first so itsonDisableruns and any event subscriptions are torn down. Used to roll back a plugin's modules when it is unloaded or disabled after an error. -
getModules
-
getModulesByCategory
-
getModule
-
getModule
-