Class in reactor_managers.js
PluginManager
10 public functions in 4 groups · show internal (_) functions
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 sourcePluginManager.setup(plugins)
Setup. (Same as the RPG Maker MZ method of this name.)
loadScript
static sourcePluginManager.loadScript(filename)
Loads the script. (Same as the RPG Maker MZ method of this name.)
makeUrl
static sourcePluginManager.makeUrl(filename)
Makes the url. (Same as the RPG Maker MZ method of this name.)
registerCommand
static sourcePluginManager.registerCommand(pluginName, commandName, func)
Register command. (Same as the RPG Maker MZ method of this name.)
Actions
setParameters
static sourcePluginManager.setParameters(name, parameters)
Sets the parameters. (Same as the RPG Maker MZ method of this name.)
callCommand
static sourcePluginManager.callCommand(self, pluginName, commandName, args)
Call command. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onError
static sourcePluginManager.onError(e)
Called when error happens. (Same as the RPG Maker MZ method of this name.)
Other
parameters
static sourcePluginManager.parameters(name)
Parameters. (Same as the RPG Maker MZ method of this name.)
checkErrors
static sourcePluginManager.checkErrors()
Check errors. (Same as the RPG Maker MZ method of this name.)
throwLoadError
static sourcePluginManager.throwLoadError(url)
Throw load error. (Same as the RPG Maker MZ method of this name.)