Data Persistence (DP) is the legacy data storage service offered by Roblox to save player data and has been deprecated since 2014. We have decided to sunset the system entirely by Tuesday 6/1/2021.
What does this mean for existing APIs?
The deprecated DP APIs, e.g. Player:SaveNumber(), and Player:LoadNumber(), can still be called, but will no longer have access to the actual backend data. All the write APIs such as Player:SaveNumber() will do nothing under the hood, and all the read APIs such as Player:LoadNumber() will return nil.
Below is the list of APIs that will be retired:
- Player:SaveBoolean(key, value)
- Player:SaveNumber(key, value)
- Player:SaveString(key, value)
- Player:SaveInstance(key, value)
- Player:SaveData(key, value)
To make sure the change does not break any games, no error exceptions will be thrown, but you will see warning messages on both the Studio and developer console when calling the APIs. We’ll delete the data shortly afterwards for legal compliance reasons, and you don’t need to worry about handling GDPR requests for such data anymore!
Using the DataStores system
We encourage you to solely rely on DataStore service for persistent storage. The DataStore system is stable and we are also continually making improvements to it.
Currently the next generation DataStore v1.1 update is in private beta. It has a number of updates to support major improvements such as automatic versioning, attributes, listing, etc. We’ll let you know when they’re available for everyone! Stay tuned!
The Roblox Developer Services Team