Confusion with Saving blocks in private servers

I have been working on a game thats sort of like Elected Admin / The Survival Game

right now I am confused at how I would save all blocks built by the player,
so that all blocks placed by the player saves each time the private server opens/closes
like minecraft

1 Like

well first to save loop through all placed blocks in the game (probably put them all in a folder) and save their details to a dictionary which you then save in a datastore.
Then when a server is created check if its a private server and see who owns it, then get the right datastore for it.

Thx will test this out and say if I figured it out

1 Like