Cobblemon Mod - Saving Party Information to a global Variable/ Referencing it?

So, I want to basically let players interact with a button that runs a command that checks their cobblemon party member's levels, saves it to a variable of some sort that is specific to their character, then reference those saved values later on to revert their pokemons levels back to their original levels.

Is there even a way to store values specific to each player?

this is on a server
Was this page helpful?