Clarafication on saved data and local testing

I wasnt sure where to place this because this isn’t really asking for help, but really just asking for an answer to a question.

For me when I do a local server test, there are 2 players, Player1 and Player2. Suppose this game had saved data for those 2 players. If a player who coincidentally had these usernames joined my game, would these players have the data that was given to Player1 or Player2?

No, the saved data for Player1 and Player2 would not automatically be accessible to other players who have the same usernames. The saved data is stored on the server and is typically tied to a specific account or user ID, not just a username. So even if another player has the same username as Player1 or Player2, they would not automatically have access to the saved data associated with those accounts.

If you want to allow other players to access this saved data, you would need to implement a system for saving and loading the data, and you would need to make sure that the data is tied to a specific account or user ID so that it can be retrieved correctly. This can be done by using a database or data storage service that provides a way to associate data with specific accounts or user IDs.

Thanks a lot!

30charrrs minimum

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.