Where to store temporary data?

Hi there.
I am making a plugin that involves playing around with the battler order, and the like as a temporary measure. I have two commands, a setup command and a breakdown command.

I would like the setup one to save the positions before it changes them, and the breakdown command to reset them to how it was before, I was wondering is there anywhere specific I can store data and have it persist as needed until it is removed?
$gameTemp
$gameTemp
I may be being dumb, but does that persist through saves? The way my plugin is meant to be used, shouldn't allow save inbetween (Setup command, battle, then end command in the same event) , but I want to be sure.
I don't think it persists through saves. For that you may want to use $gameSystem instead.
I don't think it persists through saves. For that you may want to use $gameSystem instead.
Thank you very much!
Or just make your own global variable, that will never be saved into the save file unless you tell the game to do it

Original thread: https://forums.rpgmakerweb.com/threads/where-to-store-temporary-data.102562/