Reactor Globals for Plugins

Besides RPG Maker MZ's own ($gameParty, Game_Actor, Scene_Map, PluginManager and the rest), the RPG Reactor runtime gives its systems names a plugin can reach. The Plugin API Reference lists the functions meant for plugins, one by one; the Engine API Reference lists everything in the runtime.

Which Engine Is This

NameValue
Utils.REACTOR_NAME"Reactor": check it before using anything of RPG Reactor's in a plugin that also runs in RPG Maker
Utils.RPGMAKER_NAMEAlways "MZ", so plugins written for several RPG Maker versions take their MZ path
RPG_REACTOR_RUNTIME_REVISIONThe runtime's build stamp, for example "20261122.1"

RPG Reactor's Systems

NameDefined inWhat it is
ReactorEventsreactor_core.jsA feed of what happens in battles, on doors and in vehicles, to listen to instead of replacing methods. See Runtime Events.
Reactor3Dreactor_3d.js3D maps: the view, models, lighting, effects, elevation
ReactorUIreactor_ui.jsCustom user interfaces made in Database › User Interfaces
ReactorQuestsreactor_quests.jsQuests and their progress
ReactorVehiclesreactor_vehicles.jsVehicles and driving
ReactorOnlinereactor_online.jsOnline worlds: the connection, the players, what they share
ReactorSteamreactor_steam.jsSteam achievements and stats for a game on Steam. See Steam for games.
ReactorFeaturesreactor_features.jsWhich of RPG Reactor's own versions of plugin features a project has on. See Reactor Features.

Staying Compatible

  • A plugin written for RPG Reactor says @target Reactor. One that should also run in RPG Maker says @target MZ Reactor and checks Utils.REACTOR_NAME === "Reactor" before using these.
  • Functions whose names start with _ are the engine's own and can change between releases. The functions in the Plugin API Reference are the ones meant for plugins.
  • Named, ordered hooks in place of replacing methods, and version requirements, are planned: see the Plugin API Roadmap.