Package | Description |
---|---|
io.github.bananapuncher714.cartographer.core | |
io.github.bananapuncher714.cartographer.core.api.command.executor | |
io.github.bananapuncher714.cartographer.core.api.events.module |
Events relating to modules.
|
io.github.bananapuncher714.cartographer.core.command.validator.module | |
io.github.bananapuncher714.cartographer.core.module |
Contains module loading for a custom addon system.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Module> |
ModuleManager.modules |
Modifier and Type | Method and Description |
---|---|
Module |
ModuleManager.getModule(java.lang.String name) |
Module |
ModuleManager.loadModule(java.io.File file) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Module> |
ModuleManager.getModules() |
Modifier and Type | Method and Description |
---|---|
boolean |
ModuleManager.disableModule(Module module) |
boolean |
ModuleManager.enableModule(Module module) |
void |
ModuleManager.loadModule(Module module,
ModuleDescription description) |
void |
ModuleManager.registerAndEnable(Module module) |
void |
ModuleManager.registerModule(Module module) |
boolean |
ModuleManager.unloadModule(Module module,
boolean reloadLocale) |
Modifier and Type | Field and Description |
---|---|
protected Module |
CommandExecutableMessageLocale.module |
Constructor and Description |
---|
CommandExecutableMessageLocale(Module module,
java.lang.String key,
java.lang.Object... params) |
Modifier and Type | Field and Description |
---|---|
protected Module |
ModuleEvent.module |
Modifier and Type | Method and Description |
---|---|
Module |
ModuleEvent.getModule()
The
Module involved in this event. |
Constructor and Description |
---|
ModuleDisableEvent(Module module)
The
Module after it is disabled. |
ModuleEnableEvent(Module module)
The
Module after it has been enabled. |
ModuleEvent(Module module)
Construct a new ModuleEvent with the provided
Module . |
ModuleLoadEvent(Module module)
The
Module that has been loaded. |
Modifier and Type | Method and Description |
---|---|
Module |
InputValidatorModuleEnabled.get(java.lang.String input) |
Module |
InputValidatorModule.get(java.lang.String input) |
Modifier and Type | Method and Description |
---|---|
Module |
ModuleClassLoader.getModule() |
Module |
ModuleLoader.load(ModuleDescription description)
Load a module with the given description.
|
Modifier and Type | Method and Description |
---|---|
void |
ModuleLoader.disable(Module module)
Disable the module and remove whatever it may be trying to do.
|
ModuleClassLoader |
ModuleLoader.getClassLoaderFor(Module module)
Get the
ModuleClassLoader for the given module. |
boolean |
ModuleLoader.unload(Module module)
Unload the given module and all their classes, does not guarantee that the module's classes are not be in use.
|
Constructor and Description |
---|
ModuleLogger(Module module) |