MV Need to keep track of one variable across saves

I've been trying to figure this out for six hours with no luck. I want to keep track of a single variable across saves but I'm new to javascript and can't get anything to work. I've been trying to write a script to edit a JSON file, but none of the solutions I've found work, I always get a syntax error no matter what. Unfortunately I can't find out what the syntax errors are because chrome won't open the page that would presumably tell me I really don't want to have to use a plugin for one stupid variable
Look for plugins geared toward New Game+ or meta-variables.

Ex:
Look for plugins geared toward New Game+ or meta-variables.

Ex:
I'm trying to learn javascript and how to make plugins. Unfortunately I'm terrible at it
...okay? Then you use the work that's already been done?

I'm terrible at drawing, so I use art assets made by other people.

I'm not sure what else you need: I don't know how that plugin specifically does it, but I imagine you could write it to the ConfigManager since that saves and is accessed regardless of the game's save file...but if you're terrible at JavaScript, that probably doesn't mean much to you.

You didn't show any of your existing code nor the error message/trace for it, so we have no way of instructing you as to what you might've done wrong.

Good luck!
I really don't want to have to use a plugin for one stupid variable

I'm trying to learn javascript and how to make plugins. Unfortunately I'm terrible at it
You don't want to use a plugin for "one stupid variable", where the work has already been done, so your solution is to spend hours making your own plugin?
I would go with Olivia_MetaControls as its very easy to use, widerange, even
for 1 variable.

I wanted to try it, but I use it for my TitleRewardIcons so I dont have to figure
out how exactly to make it work, so it's usefull if you add plugins if you cannot
code on your own, as I have mechanics and use plugins other made.

like the save scene I made is really complex and 1 build it endless way for them
to use it like that.

so dont spend time coding if it does exist 🙂

Original thread: https://forums.rpgmakerweb.com/threads/need-to-keep-track-of-one-variable-across-saves.160679/