SavePlaceAsync Help

I have a straight forward goal, make a building system and be able to save the builds and load builds. I’m not using data store service because it might exceed the data limit in some cases.

I have not a single clue about how to use SavePlaceAsync(). I looked here, but I don’t understand what the “state” of a place is, or how do I retrieve the saved data? Does SavePlaceAsync save all the objects in-game (like Workspace, Serverstorage, etc)?

I hope you understood it, if I said something incorrect, please correct me
Thanks for reading

If you were to use CreatePlaceAsync() it will clone the specified place to a new template. From there you could modify the place and use SavePlaceAsync(). If you are doing a build system for a game, this should definitely NOT be used. In terms of space limitations with datastores, your best bet would be to use Datastore2 and attempt to serialize the data if possible to make it shorter. If not, an external web service would be needed. For info on datastore2 serialization, check here: Serialization - DataStore2

Cheers!

3 Likes

Hi Mr. Bob, you do not recommend SavePlaceAsync. Can you pls share your reasons not to use it?

1 Like

I have the exact same question. I’ve been looking everywhere for answers to similar questions: If i do create a place, will it be a separate place from the template and if i update the template, will that created place also update? Does doing SavePlace make that place different from the template with no way of reverting?

I’m also creating a building game but i want to answer these questions before i continue working on the system using AssetService.

The Created Place becomes independent from the template place. You can edit each of them in Studio, separately.

2 Likes

Oh i see. Not what i want then. Thank you so much!