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
6 Replies
IDK about cobblemon specifically but that sounds like you'd need a custom mod
I might :c I was kind of hoping there was just like a scoreboard function I didn't know about that could store individual values per player
why exactly do you need this.?
So my goal with this is, players can hit a button, which will run a command and save their pokemon party's current levels, then set them all to 50 so they can have a balanced pvp match, then it sets their levels back to their original value
you might wanna ask the cobblemon devs if they can assist you with that one
I might just make it cost currency and set any pokemon over level 50, to 50. So people can pvp easier but also can't use it to power level em up, plus it seems like storing those values would be a headache
They have that feature baked into their newest update, but most folks on my server like the mods we currently have and most aren't up to date/compatible with the newest cobblemon, so I'm just gonna bake it in myself somehow