So, i was looking for ways to verify if a server was migrated, so i can give back the data for my players, because if a player left the game, he will lose his data on my game, but if the server migrate, i don’t want the player losing it.
I just didn’t find a way to verify if a server was migrated to send the data back to them. Can someone help me?
I could check the game version (using game.PlaceVersion), save it in playerdata, and whenever the player joins the game, I could check if the game version has changed and compare it to the last time the player joined the game, and then if the time difference between the last time and the version changed was very small, I could provide the data back.