Type Alias PluginManagerOptions
noEventAdd?: boolean;
noEventDestroy?: boolean;
noEventRemoval?: boolean;
noEventSetEnabled?: boolean;
noEventSetOptions?: boolean;
throwNoMethod?: boolean;
throwNoPlugin?: boolean;
}
Properties
OptionalnoEventAdd
If true this prevents plugins from being added by plugins:add and
plugins:add:all events forcing direct method invocation for addition.
OptionalnoEventDestroy
If true this prevents the plugin manager from being destroyed by
plugins:destroy:manager forcing direct method invocation for destruction.
OptionalnoEventRemoval
If true this prevents plugins from being removed by plugins:remove and
plugins:remove:all events forcing direct method invocation for removal.
OptionalnoEventSetEnabled
If true this prevents the plugins from being enabled / disabled
from the eventbus via plugins:set:enabled.
OptionalnoEventSetOptions
If true this prevents setting options for the plugin manager by
plugins:set:options forcing direct method invocation for setting options.
OptionalthrowNoMethod
If true then when a method fails to be invoked by any plugin an exception will be thrown.
OptionalthrowNoPlugin
If true then when no plugin is matched to be invoked an exception will be thrown.
PluginManager options.