MV Write and read switch/ variable from external file plugin?

Howdy, so I'm having a hard time searching for something like this, if it helps I'll describe exactly what I need from this.

So how it works is when the player gets to a point in the game, whether or not they have even or ever saved, I'd like to use a command that sets a switch or variable, and if the player were to exit out the game and revert to their last save or even if they have never saved at all, the switch and or variable would remain the value that was set, basically how undertale does things, feel free to roll yer eyes

Anyone know plugins that fit the bill, I'd appreciate it.
it's usually called persistent variables or persistent switches, and there are plugins under that name that do this.

although they usually use an extra savefile instead of an extra text file for this.
E.g.
Olivia_MetaControls which I love and very easy to use, yet powerfull
to only affect local save files or global ones.

Original thread: https://forums.rpgmakerweb.com/threads/write-and-read-switch-variable-from-external-file-plugin.152301/