About DataStores

Hello, fellow devs.

Simple question.
Is there a way to look up ALL databases in my game? I’d like to find names of all databases in my game. How do I do it?

I think there is a plug-in that does something like that perhaps…

You can’t. Only if you use ordered datastores.

Is there a way to permanently delete all DataBases from a game? Would overwriting a game with another game do the job?

Here ya go DataStoreService | Documentation - Roblox Creator Hub
I don’t know if you can actually delete them though. But at least that will list the datastore you currently have in your game.

1 Like

Ok, but where do I execute this function? In Roblox Studio’s command bar? If I do so, will the results show up in output?

I tried inserting this in command bar: game:GetService("DataStoreService"):ListDataStoresAsync()

But when I try to execute it, I get ‘400: API not supported’ error.

The API is part of the upcoming DataStore v1.1 update. It won’t be able to be used globally until maybe March.

Ok, but is there a way which I can use to permanently delete all databases from the game (like a script I can execute which would erase all databases)?