Is it possible to remove Created Place (which is created with script and now is shown in the created places tab in game configuration)?
If script creates place every minute, is it possible to destroy it via the script?
Should i worry about the number of Created Places?
Well you can destroy them manually
But I’m not really familiar with the api that manages places, perhaps you can check the wiki?
Hay so an update, I checked through the assert service which is the one that manages places, and it turns out there is no method that removes places
Apparently, places that are created with a script using :CreatePlaceAsync()
(which I assume is what you’re doing) are automatically removed after a player leaves them (of course when the player is teleported there).
Places that are saved using SavePlaceAsync()
aren’t removed after the player leaves, and can be retrieved back to the their last state.
No, that’s not true. I have places created using CreatePlaceAsync
that have been around for months. It creates a new place under the “Created By: My Games” section of the develop page, and it’ll be there permanently.
SavePlaceAsync
just saves everything in the place so it’ll be the same next time. If you don’t use it, it’ll just be a baseplate (or whatever you copied) next time you join.
You can’t even delete them manually, since trying to edit them will just open up the template place in studio. I don’t think there’s any way you can remove them.
Thanks for the response.
No, i dont think that manual deleting is possible. On your screenshot you are deleting place created in studio, not through script.
Created places are not deleted after some time. This was one of the first things i tried. They are persistently located in created places tab.
I tried destroy () on game in that place with no success too.
Wiki was not useful either.
Does that mean developers should not worry about the number of created places? Or there is any limitations?
How many created places have you got in your game
Yeah, sorry for the wrong info!