Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Variable Common - VariableCommon.js
Plugin desc : Shared Variable Switch Plugin
License : MIT License
Author : Triacontane
Website : https://triacontane.blogspot.com
Desc page : https://github.com/triacontane/RPGMakerMV/tree/mz_master/VariableCommon.js
Download Page : https://raw.githubusercontent.com/munokura/triacontane-MZ-plugins/refs/heads/main/VariableCommon.js
File name : VariableCommon.js
Help of plugin :
@target MZ @url https://github.com/triacontane/RPGMakerMV/tree/mz_master/VariableCommon.js @plugindesc Shared Variable Switch Plugin @author Triacontane @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/triacontane-MZ-plugins ). Original plugin by Triacontane. Please check the latest official version at: https://triacontane.blogspot.com ----- VariableCommon.js You can define variables and switches that can be shared between different save data. Variables and switches within the specified range will retain their values even when loading another save data or returning to the title screen. To maintain performance, please execute the command explicitly when saving. Shared variable data is saved in config.rmmzsave. Deleting this file will also erase the shared variable data. This plugin requires the base plugin ”PluginCommonBase.js.” ”PluginCommonBase.js” is located in the following folder in the RPG Maker MZ installation folder: dlc/BasicResources/plugins/official Terms of Use: You may modify and redistribute this plugin without permission from the author, and there are no restrictions on its use (commercial, R18+, etc.). This plugin is now yours. @param startVariableId @text Shared Variable ID (Start) @desc Variables within the specified range will be treated as shared variables. @type variable @default 0 @param endVariableId @text Shared variable ID (end) @desc Variables within the specified range will be treated as shared variables. @type variable @default 0 @param variableList @text Shared Variables List @desc This is a list of IDs for variables to be treated as shared variables. Set this when you want to specify variables individually. @type variable[] @default [] @param startSwitchId @text Shared Switch ID (Start) @desc Switches within the specified range will be treated as shared switches. @type switch @default 0 @param endSwitchId @text Shared Switch ID (End) @desc Switches within the specified range will be treated as shared switches. @type switch @default 0 @param switchList @text Shared Switch List @desc This is a list of switch IDs to be treated as shared switches. Set this when you want to specify individual switches. @type switch[] @default [] @command SAVE_COMMON_VARIABLE @text Saving Shared Variables @desc Save the modified shared variable.