![[CGMZ] Global Data for RPG Maker MZ](https://img.itch.zone/aW1nLzYzODY0OTIucG5n/original/zcd56U.png)
[CGMZ] Global Data for RPG Maker MZ
Hi all,
Ever wanted to save things in one game, and have them available to all other saved games? Now you can. It supports saving a string of text, a number, a switch, or a variable. You can load the data in another saved game, or clear the data if you don't want other saves to have access to it any more.
You can also specify certain variable and switch IDs as global in the plugin parameters, and those will be global without needing to use any plugin commands.
Please see terms of use here: Terms of Use
Requires CGMZ Core plugin: CGMZ Core
Happy RPG Making!
Download
Download NowName your own price
Click download now to get access to the following files:
CGMZ Global Data
External
Development log
- Version 1.0.1 Release Notes30 days ago

Comments
Log in with itch.io to leave a comment.
Hello, the game that I'm currently developing requires a function that stores the player data such as name, number of hours played, level, and a certain item, with this plugin, will it allow me to implement this function to my game?
Hi, this plugin allows you to save variables and switches globally automatically. You can also save custom data in the form of a string, which you can check in other save files. With some eventing you could accomplish what you want.
Hi there,
this plugin is great. Just have a little question. How do I save globally the amount of items I got? Let's say, I have 50 potions, I use 4 of them, which gives me 46 left. Now I close the game and when loading the (only) save game, it's back to 50.
Any tips?
It would be a little difficult, you could use a global variable to track the number of potions the player has, and then increase/decrease it whenever they get a potion or use a potion. Then when a game is loaded you could check that variable and set the player's number of potions to that amount. If you want to do this for multiple items, it might get a bit tedious.
Found a little workaround. I'm using right now Yanflys Save Core, and setted it on every map as a parallel event to save the game every 10 frames. This gives the feeling of the game permanently saving, the same goes for using potions and other consumables. Also, I've limited the game to one save slot.
It really starts feeling like Ragnarok Online, maybe you've heard about it.
Perhaps your next plugin would be a "permanent saver" or something similar. Probably with excluding some maps where the permanent saving is disabled. ;)
Greetings
P. s. pretty sure there's another way instead of spamming on every map a parallel event to trigger the hidden saving function, but for now it's working and I'm happy.
If it works, that's all that matters :)
Glad you got it working. I can look into making things like item counts global in a future update, but as those counts can be changed in many different ways it might be a bit tricky.
Hi! Is it possible to use this with the achievements plugin?
Well that depends, what are you trying to do?
I’m trying to make achievements global, for example, making achievements for different endings in the game
Let’s say I beat the game and get the bad ending, then I beat it again and get the good ending, and the achievements screen will display both as completed
You should be able to do this with global switches/variables, and make your achievements track those switches or variables. For example, by turning a global switch ON when the bad ending is unlocked, and having an achievement track that switch.
Thank you! I think this will work