public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MZVariablePlus - Improved performance of variables and switches

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: VariablePlus - Improved performance of variables and switches
  • Original author: Awayamatana
  • Original date: August 7, 2025
  • Source thread: https://forums.rpgmakerweb.com/threads/variableplus-improved-performance-of-variables-and-switches.179419/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMZ)

Summary

Improve variable and switch functionality. Its main purpose is to reduce the load in parallel processing. { "lightbox_close": "Close",

Archived First Post

Improve variable and switch functionality.
Its main purpose is to reduce the load in parallel processing.
1754552692864.png


Download
VariablePlus.js Ver.1.0.0
MIT License

How to Use
"Optimization" and "No-Refresh Variables" are primarily intended to reduce the load on parallel processing.
Whenever a value is assigned using an event command or the setValue function, the map will be refreshed and all conditions will be re-verified.
When used in conjunction with parallel processing this is done every frame, which is inefficient.
Optimization:
Reduce the refresh frequency.
If the current and new values are the same, do not refresh the map.

For example, if you created a parallel processing event that constantly retrieves a region ID, previously it would be refreshed even if the retrieved region ID did not change, but by using this function it will no longer be refreshed unless the region ID changes.
I think it is also suitable for managing character XY coordinates.

No-Refresh Variables:
Not refreshing at all.
This is ideal for variables that are not used for conditions at all, but are used only for conditional branching or numerical calculations.
Initial Variables:
You can manage the initial values all at once.
This is usually done at events, but if you absolutely need it, go ahead.

This is also useful when performing a battle test when using v[n] in the damage calculation formula.
The value function corrects the initial value of undefined to 0 before returning it, but v[n] returns the contents of the variable directly, so undefined will not be corrected to 0.
Since undefined is not a number, the calculation formula will be incorrect.
By using this function to enter correct values beforehand, you can perform a battle test with a minimum number of events.

Specifications
I think it would be better to place this plugin lower in the plugin list.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

MIT License How to Use "Optimization" and "No-Refresh Variables" are primarily intended to reduce the load on parallel processing. Whenever a value is assigned using an event command or the setValue function, the map will be refreshed and all conditions will be re-verified.

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rmmz#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar