[HELP] How to save your stats permanently (after you leave the server)

So, i want to make sure my stats on the pause menu are saved, so all the player can keep track of what they do on my server. and it work fine to set the stats, but when i leave the server and join again. It’s all gone, and nothing is saved inside “stats”

So i wonder if anyone might have an idea how to save stats perm?