Type alias PluginManagerOptions

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

PluginManager options.

Type declaration

  • Optional noEventAdd?: boolean

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

  • Optional noEventDestroy?: boolean

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

  • Optional noEventRemoval?: boolean

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

  • Optional noEventSetEnabled?: boolean

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

  • Optional noEventSetOptions?: boolean

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

  • Optional throwNoMethod?: boolean

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

  • Optional throwNoPlugin?: boolean

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