Class in reactor_managers.js

PluginManager

10 public functions in 4 groups · show internal (_) functions

The Database: everything Core loads at boot.

Familiar territory. PluginManager keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.

Quick Reference

Setup & Creation 4

setup() Setup.
loadScript() Loads the script.
makeUrl() Makes the url.
registerCommand() Register command.

Actions 2

setParameters() Sets the parameters.
callCommand() Call command.

Events, Commands & Input 1

onError() Called when error happens.

Other 3

parameters() Parameters.
checkErrors() Check errors.
throwLoadError() Throw load error.

Setup & Creation

setup

static source
PluginManager.setup(plugins)

Setup. (Same as the RPG Maker MZ method of this name.)

loadScript

static source
PluginManager.loadScript(filename)

Loads the script. (Same as the RPG Maker MZ method of this name.)

makeUrl

static source
PluginManager.makeUrl(filename)

Makes the url. (Same as the RPG Maker MZ method of this name.)

registerCommand

static source
PluginManager.registerCommand(pluginName, commandName, func)

Register command. (Same as the RPG Maker MZ method of this name.)

Actions

setParameters

static source
PluginManager.setParameters(name, parameters)

Sets the parameters. (Same as the RPG Maker MZ method of this name.)

callCommand

static source
PluginManager.callCommand(self, pluginName, commandName, args)

Call command. (Same as the RPG Maker MZ method of this name.)

Events, Commands & Input

onError

static source
PluginManager.onError(e)

Called when error happens. (Same as the RPG Maker MZ method of this name.)

Other

parameters

static source
PluginManager.parameters(name)

Parameters. (Same as the RPG Maker MZ method of this name.)

checkErrors

static source
PluginManager.checkErrors()

Check errors. (Same as the RPG Maker MZ method of this name.)

throwLoadError

static source
PluginManager.throwLoadError(url)

Throw load error. (Same as the RPG Maker MZ method of this name.)