Type Alias PluginManagerOptions

PluginManagerOptions: {
    noEventAdd?: boolean;
    noEventDestroy?: boolean;
    noEventRemoval?: boolean;
    noEventSetEnabled?: boolean;
    noEventSetOptions?: boolean;
    throwNoMethod?: boolean;
    throwNoPlugin?: boolean;
}

PluginManager options.

Type declaration

  • OptionalnoEventAdd?: boolean

    If true this prevents plugins from being added by plugins:add and plugins:add:all events forcing direct method invocation for addition.

  • OptionalnoEventDestroy?: boolean

    If true this prevents the plugin manager from being destroyed by plugins:destroy:manager forcing direct method invocation for destruction.

  • OptionalnoEventRemoval?: boolean

    If true this prevents plugins from being removed by plugins:remove and plugins:remove:all events forcing direct method invocation for removal.

  • OptionalnoEventSetEnabled?: boolean

    If true this prevents the plugins from being enabled / disabled from the eventbus via plugins:set:enabled.

  • OptionalnoEventSetOptions?: boolean

    If true this prevents setting options for the plugin manager by plugins:set:options forcing direct method invocation for setting options.

  • OptionalthrowNoMethod?: boolean

    If true then when a method fails to be invoked by any plugin an exception will be thrown.

  • OptionalthrowNoPlugin?: boolean

    If true then when no plugin is matched to be invoked an exception will be thrown.