An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Plugin Base Function - PluginBaseFunction.js

Plugin desc : Plugin Common Functions

License : MIT License

Author : Triacontane

Website : https://www.rpgmakerweb.com/products/rpg-maker-mz

Desc page : https://raw.githubusercontent.com/triacontane/RPGMakerMZ/master/js/plugins/PluginBaseFunction.js

Download Page :  C:Program Files (x86)SteamsteamappscommonRPG Maker MZdlcBasicResourcespluginslaunch PluginBaseFunction.js

File name : PluginBaseFunction.js

Help of plugin :

* @target MZ
 * @plugindesc Plugin Common Functions
 * @author Triacontane
 * @base PluginCommonBase
 * @orderAfter PluginCommonBase
 * @url https://raw.githubusercontent.com/triacontane/RPGMakerMZ/master/js/plugins/PluginBaseFunction.js
 *
 * @help PluginBaseFunction.js
 *
 * It is a base plugin that provides common functions.
 * Provides only functions, methods and does not affect the existing processing.
 * Also, additions to the function may increase but do not reduce or change the IO.
 *
 * - Added Functions
 * Returns whether the map needs to be reloaded or not.
 * $gamePlayer.isNeedMapReload();
 *
 * Returns the first event whose event name matches the argument.
 * $gameMap.findEventByName(eventName);
 *
 * Returns the first value that matches the specified
 * name from the memo field of the database with the feature.
 * Game_BattlerBase.prototype.findTraitMetaFirst(names);
 *
 * Returns the largest value that matches the specified name
 * from the notes field of the database with the feature.
 * Game_BattlerBase.prototype.findTraitMetaMax(names);
 *
 * Returns the total value that matches the specified name
 * from the notes field of the database with the feature.
 * Game_BattlerBase.prototype.findTraitMetaSum(names);
 *
 * Returns whether one of the windows is active.
 * Scene_Base.prototype.isAnyWindowActive();
 *
 * Returns whether the current scene matches a scene of the specified class.
 * SceneManager.isCurrentScene(sceneClass);
 *
 * Searches the database for exact matches on a given condition and returns the first one matched.
 * DataManager.searchDataItem(dataArray, columnName, columnValue);
 *
 * Stop all systems SE.
 * AudioManager.stopAllStaticSe();
 *
 * Stop the specified system SE.
 * AudioManager.stopStaticSe(se);
 *
 * User Agreement:
 *  You may alter or redistribute the plugin without permission. There are no restrictions on usage format
 *  (such as adult- or commercial-use only).
 *  This plugin is now all yours.

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.