MZ [CGMZ] Plugin Commands

[CGMZ] Plugin Commands
By: Casper Gaming
Last Update: February 14, 2026
Latest Version: 1.8.0
​
Forum-Header-Introduction.png

Adds some plugin commands that are meant to make some things with the default editor easier, such as turning a switch on/off if an event is within certain xy coordinates or controlling self switches for any event and much more.
Forum-Header-Features.png

  • Adds lots of plugin commands for controlling switches, timer, and more
  • Control any event's self switch
  • Request autosaves or call scenes
Forum-Header-Screenshots.png

Spoiler: Screenshots
Event knows which region ID it is in
pc1.png

Event can call scenes individually without needing to go through main menu
pc2.png
Forum-Header-Video.png


Forum-Header-HowTo.png

Import into plugin manager and enable the plugin. Some customization options are able to be altered. Further instructions in plugin.

Online documentation can be found on my website.
User documentation can be found on the Casper Gaming Wiki.
Forum-Header-Download.png

Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmz/plugincommands/
Requires CGMZ Core plugin: https://www.caspergaming.com/plugins/cgmz/core/

Also available on Itch.io:
Forum-Header-CreditAndTerms.png

https://www.caspergaming.com/terms-of-use/
Forum-Header-VersionHistory.png

Spoiler: Version History
Version 1.1.0
  • Added plugin command to set variable to text
  • Added plugin command to set variable to float (decimal) number
  • Added plugin command to check variable against text/decimals constants
Version 1.2.0
  • Added plugin command to select weapons
  • Added plugin command to select armors
  • Added plugin command to select skills
Version 1.3.0
  • Added plugin command to allow the player to lose battle without gameover
  • Added plugin command to stop all sound (BGM/BGS/ME/SE)
  • Added plugin command to erase all pictures
  • Added Spanish language help documentation
Version 1.4.0
  • Added plugin command to wait within a given range
  • Added plugin command to wait for an amount of frames by variable
Version 1.5.0
  • Added plugin command to get BGM position
  • Added plugin command to get BGS position
Version 1.6.0
  • Added plugin command to change boolean options
  • Added plugin command to change volume options
  • Reorganized plugin commands
Version 1.7.0
  • Added plugin command to wait for player input
Version 1.8.0
  • Added plugin command to add or subtract weather power
  • Added plugin command to add or subtract screen tint values
Hi all,

Added a demo for this plugin today in case anyone was confused on how to use it (will be going through all my plugins and making demos over the next few weeks), you can play it in-browser or download it from the plugin's main page on my website: https://www.caspergaming.com/plugins/cgmz/plugincommands/
Hi all, update today to let you store some more data types instead of just integer numbers in variables (without needing to know any javascript).

Version 1.1.0:
- Added plugin command to set variable to text
- Added plugin command to set variable to float (decimal) number
- Added plugin command to check variable against text/decimals constants
Hi all, update for this plugin today which adds select commands for armors, weapons, and skills which function similarly to the Select Item event command and will store the selected weapon/armor/skill's ID in a variable.

Version 1.2.0:
- Added plugin command to select weapons
- Added plugin command to select armors
- Added plugin command to select skills
version-130.png

Hi all, this plugin received an update today to version 1.3.0. 👋

This update adds a few new plugin commands. There are some quality of life ones, such as Stop All Sound which will stop BGM/BGS/SE/ME in one command, and Erase All Pictures which will erase every picture in one command.

There is also a new plugin command, Change Battle Lose, which allows you to configure if the player receives a gameover after losing a random battle or not. This will only affect random battles.

This update also added Spanish language help documentation.

Version 1.3.0
  • Added plugin command to allow the player to lose battle without gameover
  • Added plugin command to stop all sound (BGM/BGS/ME/SE)
  • Added plugin command to erase all pictures
  • Added Spanish language help documentation
version-140.png

Hi all, today this plugin was updated to version 1.4.0! 👋

This version adds some new plugin commands for a more flexible wait command than the built in event wait.

The first new plugin command is called Wait (Range) and you provide a min and max amount of frames to wait. The plugin will choose a random value in the given range to wait.

The second plugin command is called Wait (Variable) and allows you to wait for an amount of frames based on the value of a game variable.

Version 1.4.0
  • Added plugin command to wait within a given range
  • Added plugin command to wait for an amount of frames by variable
version-150.png

Hi all, today this plugin was updated to version 1.5.0! 👋

This version adds some new plugin commands for BGM/BGS.

Get BGM Pos - Stores the current BGM position into a variable, in case you want certain effects to happen in time to your BGM.

Get BGS Pos - Stores the current BGS position into a variable, in case you want certain effects to happen in time to your BGS.

Version 1.5.0
  • Added plugin command to get BGM position
  • Added plugin command to get BGS position
version-160.png

Hi all, today this plugin was updated to version 1.6.0! 👋

This version adds some new plugin commands for changing options for the player. You can now turn on/off always dash, touch ui, or command remember for the player. You can also now set the volume options via plugin command.

Since there are starting to be quite a few plugin commands now, I have also re-organized them and added separating commands to help you find the command you want.

Version 1.6.0
  • Added plugin command to change boolean options
  • Added plugin command to change volume options
  • Reorganized plugin commands
version-170.png

Hi all, today this plugin was updated to version 1.7.0! 👋

This version adds a plugin command to wait for user input. This used to be in RPG Maker 2003 and I thought it was pretty useful, so I added it for MZ too.

Version 1.7.0
  • Added plugin command to wait for player input
version-180.png

Hi all, today this plugin was updated to version 1.8.0! 👋

This version adds a plugin command to change the weather power and screen tint values by adding or subtracting from the current value. By default, you can only set a new power (for example, snow 6 or snow 9). Sometimes, you may want to add or subtract from this value, and you may not always know what to set it to without some complex event or scripting.

These new plugin commands allow you to simple add or subtract 1, 2, 3, etc from the current weather value. The tint plugin command allows you to add or subtract red, green, blue, or gray. The tints have safety checks to ensure you do not go out of range (-255 to 255 or 0 to 255 for gray). The weather has a safety check to ensure you do not go below 0, but you can exceed the default limit of weather power 9 by adding more to your weather if you want.

Version 1.8.0
  • Added plugin command to add or subtract weather power
  • Added plugin command to add or subtract screen tint values

Original thread: https://forums.rpgmakerweb.com/threads/cgmz-plugin-commands.127742/