hi, i want to make a CustomDataStore sistem that saves better than normal data store, i added what a normal data store should do:
1: create the leaderstats
2: create the value(not add to player but put it in ServerStorage)
3: copy the Value from ServerStorage to the leaderstats
4: can Increment(or change) the Value
i want something u all to say:
what ideas u have to add to my CustomDataStore?
edit: not only a DataStore sistem and a leaderstats creator and values creator
Im not really sure how this relates to a datastore?
I would expect a CustomDataStore to include utilities and a framework to build from similar to DataStore2. Functionality like beforeSave, afterSave, beforeLoad and afterLoad.
You can read more about how these methods are used in DataStore2 from the DataStore2 API page: API - DataStore2
A really useful feature would be to have a way to save back ups of players data. The biggest use case for having back ups is the ability to recover lost data. It is currently impossible to make back ups using the Roblox data store API in it’s intended way so having a way to make back ups would be really useful. Back ups would also allow you to roll back players data.
Another useful feature would be to be able to save data whenever it changes similar to the way DataStore2 saves data. If you are using the Roblox data store API you would have to keep a cache of the players data somewhere for this to work. Otherwise you will be hitting the data store limits very quickly.
Lastly it will be really nice to have an easy way to compact your data before it saves. This is called serialization and then deserialization. Having a feature like this built in would make this process easier and allow you to save more data.
It depends on how your system is set up and how you want to do serialization. I don’t really think there is any need to use HttpService though because all you are doing is compressing data.
As you are making your own data store system I would look into how DataStore2 handles serialization. You can find the page here: Serialization - DataStore2
Depending on how you have set up your data store system you may want to look into being able to transfer data between games not in the same universe. However this is only possible if you have your own database because Roblox data stores don’t support this sort of thing.