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.
UTA Common Save MZ - UTA_CommonSaveMZ.js
Plugin desc : Share state of game switches and variables between each save data.
License : MIT License
Author : t-akatsuki
Website : https://github.com/t-akatsuki/UTA_CommonSaveMZ/blob/master/dest/plugin/UTA_CommonSaveMZ.js
Desc page : https://www.utakata-no-yume.net
Download Page : https://raw.githubusercontent.com/t-akatsuki/UTA_CommonSaveMZ/master/dest/plugin/UTA_CommonSaveMZ.js
File name : UTA_CommonSaveMZ.js
Help of plugin :
* @target MZ * @plugindesc Share state of game switches and variables between each save data. * * @author t-akatsuki * @url https://www.utakata-no-yume.net * * @param targetSwitches * @text Share target switches * @desc Set target switches number you want make shared. * Using "-", the range can be specified. * @default [] * @type string[] * * @param targetVariables * @text Share target variables * @desc Set target variables number you want make shared. * Using "-", the range can be specified. * @default [] * @type string[] * * @param applyOnLoad * @text Apply common save on load game * @desc Automatically loading common save on load game timing. * ON(true): enabled, OFF(false): disabled * @default true * @type boolean * * @param applyOnSave * @text Save common save on save game * @desc Automatically saving common save on save game timing. * ON(true): enabled, OFF(false): disabled * @default true * @type boolean * * @param applyOnNewGame * @text Apply common save on new game * @desc Automatically loading common save on start new game. * ON(true): enabled, OFF(false): disabled * @default true * @type boolean * * @param applyOnAutoSave * @text Save common save on auto-save * @desc Automatically saving common save on auto-save timing. * ON(true): enabled, OFF(false): disabled * @default false * @type boolean * * @param applyOnGameover * @text Save common save on gameover * @desc Automatically saving common save on gameover timing. * ON(true): enabled, OFF(false): disabled * @default true * @type boolean * * @param saveFileName * @text Save file name * @desc Definition of common save file name, * which not contained extension. * @default uta_common * @type string * * @command load * @text Load common save * @desc Loading shared target switches/variables from common save. * This command used when you want to load common save. * * @command save * @text Save common save * @desc Saving shared target switches/variables to common save. * This command used when you want to save common save. * * @command remove * @text Remove common save * @desc Remove common save data. * This command used when you want to reset common save. * * @command check * @text Check shared switches/variables number * @desc Output shared target switches/variables numbers to console. * This command for test. * * @help # Overview * UTA_CommonSaveMZ plugin creates shared save data and shares the state of * the specified switches/variables between game save data. * You can have it applied automatically at the time of save/load * according to your settings. * * The "common save data" can be manipulated at any time by * using plugin commands. * * This plugin creates shared save data as "common save data" separately * from game save datas. * In the local version, "common save data" files are created in * the save directory. * In web version, the "common save data" is saved in LocalStorage. * * # Plugin Parameters * ## Share target switches * Set target switches number you want make shared. * You can specify multiple settings. * Using "-", the range can be specified. * (ex1) 10 * => switch of number (10) will be set shared target. * (ex2) 10-15 * => switches of number (10,11,12,13,14,15) will be set shared targets. * * ## Share target variables * Set target variables number you want make shared. * You can specify multiple settings. * Using "-", the range can be specified. * The rules for specifiying the number is the same as for * "Share target switches". * * ## Apply common save on load game * Automatically loading common save on load game timing. * ON(true) : enabled(default) * OFF(false): disabled * * ## Save common save on save game * Automatically saving common save on save game timing. * ON(true) : enabled(default) * OFF(false): disabled * * ## Apply common save on new game * Automatically loading common save on start new game. * ON(true) : enabled(default) * OFF(false): disabled * * ## Save common save on auto-save * Automatically saving common save on auto-save timing. * ON(true) : enabled * OFF(false): disabled(default) * * ## Save common save on gameover * Automatically saving common save on gameover timing. * ON(true) : enabled(default) * OFF(false): disabled * * ## Save file name * Definition of common save file name, * which not contained extension. * Do not use the same name as the existing save data * (file0, global, confid, etc...). * (default: uta_common) * * # Plugin Commands * ## Load common save * Loading shared target switches/variables from common save. * This command used when you want to load common save. * * ## Save common save * Saving shared target switches/variables to common save. * This command used when you want to save common save. * * ## Remove common save * Remove common save data. * This command used when you want to reset common save. * * ## Check shared switches/variables number * Output shared target switches/variables numbers to console. * This command for test. * * # Plugin Informations * Version : 0.9.1 * Last Updated : 2020/11/11 * Author : t-akatsuki * Web Site : https://www.utakata-no-yume.net * GitHub : https://github.com/t-akatsuki * Twitter : https://twitter.com/T_Akatsuki * License : MIT License * * # Changelog * ## 0.9.1 (2020/11/11) * Fixed a bug that it doesn't work when the plugin parameter * "Share target switches" or "Share target variables" is not specified. * Added English annotation and README_EN.txt. * * ## 0.9.0 (2020/08/22) * Beta version. * Remake for RPG Maker MV based on UTA_CommonSave plugin for RPG Maker MV. * Supports auto-save function.