Completely delete a Data Store

Due to bad coding practices, I have number of experiences that were created many years ago where I saved player datas using a wide variety of keys and data stores. And I have found myself spending an unreasonable amount of time and resources in complying with GDPR requests.

In some experiences, I have to dig around in several DataStores in order to find a user, e.g. PlayerData, PlayerData_1 or PlayerData_2. In other experiences, I need to delete a user using a variety of keys, e.g. userid, userid_1, userid_2 or userid2. Some experiences even used the popular backup method using OrderedDataStore and timestamps, requiring me to delete hundreds of data for a single user.

Now I know Roblox has added metadata to DataStores which might be used for GDPR in the future. But this request is for old experiences that I assume won’t benefit from such update. I also know about DataStoreService:ListDataStoresAsync() and DataStore:ListKeysAsync(); I run the script for 12 hours and could not even finish deleting the data for 1 experience.

That’s why I’m requesting for a way to erase all Data Stores in an experience.

If this issue is addressed, it would improve my development experience as I would no longer have to maintain codebases and support or deal with GDPR for abandoned/archived experiences with no active player base.

18 Likes

I don’t think they have a method for deleting data stores fully because is too dangerous. Sometimes I have thought about having this as a feature but I always wonder:

:warning: If an account that owns any game with a high amount of players gets hacked, the hacker could potentially cause harm to this individual and clear all data stores from within the game. Then when the owner of the account gets back needs to request Roblox some sort of backup of his data store. (Which means the data is still in place just not accessible after deletion)

Have in mind that accounts getting hacked are common as far as I know in Roblox.


If I understood wrong about deleting data stores, let me know to delete this reply.

1 Like

A solution to that would be if the datas are marked, and deleted after 30 days instead of being deleted immediately. So you would have 30 days to recover your account. Just like how backups/versions last 30 days even if you use RemoveAsync().

6 Likes

Massive support of this

Some of my games used a free model data saving script that saved userd s dats as an entire datastore but I am currently unable to delete it meaning I can’t comply with GDPR.

2 Likes

I found myself in exact same situation and it’s really tiresome to deal with those GDPR requests. However, I think what Roblox should do is add methods that allow batching requests. It shouldn’t take forever to delete like 300K entries.