EasyDataStores Module

EasyDataStores Module

Documentation | EasyDataStores(V4.2).rbxm (18.8 KB)

*DLP stands for DataLossPrevention Version, This version is unavailable on the Creator Marketplace so an alternative will be released soon!


What is this module?

EasyDataStores is a new data stores module that makes creating player datastores so much easier and in terms of setting up player data, REQUIRING 0 CODE and primarily utilising instances instead! This module also utilises DataStores2 (By @Kampfkarren) for data loss prevention to further better the module. I understand that DataStores2 is considered outdated however the module works perfectly and as expected for this module. If you run into any issues with it while using this module then contact me and I’ll look into replacements and/or fixes!

How to use?

You can simply download the module and import it into your Roblox Studio project and add values and set them to what you want their default value to be before moving them to PublicPlayerData (leaderstats) and/or HiddenPlayerData. HiddenPlayerData can also include having folders for saving tables of data!

Additionally, You can customize your player datastores using the settings feature. Here you can save the player backpack (including death and rejoin), Customise what propriety’s inside of a folder (in HiddenPlayerData) is saved or even putting the new Roblox Analysis Service Economy Tab to use with the EnableEconomyTracking setting and so much more!

How is this useful?

This is useful to both newly starting Roblox Developers to more experienced developers on the Roblox platform. Suddenly what used to require lot’s of code and constent debugging is suddenly fixed and you don’t need to programme much of it!

Known Limitations:

  • If you have been using the normal Roblox DataStoresService then this version will not be able to integrate as expected due to the introduction of DataStores2 module. For now you may need to do some additional programming to get this to work until I can intergrate the feature
  • You can only update values or move instances to player data by a server script. Local scripts will NOT work as the server cannot see changes made by the client.

Whats to come?

  • Better enable developers to intergrate from the Roblox DataStoresService to this datastore (DataStores2)
  • Allow for developers to have a set team of users that can view and edit other players data. I was hoping to include this on release but I ran into a few problems.
  • Fix any issues with the module that arise. Please let me know any issues or feedback about the module on this post

Video Explanation Version


For more infomation on how to use this module, Please refer to the documentation: Roblox EasyDataStores | EasyDataStores-RBLX
EasyDataStores(V4.2).rbxm (18.8 KB)
Check out the demo: EasyDataStores Demo - Roblox

*DLP stands for DataLossPrevention Version, This version is unavailable on the Creator Marketplace so an alternative will be released soon!

Extra information: Version 4.2, DLP version’s only

3 Likes

The bug that would occasionally stop equipped tools from saving is now fixed and available on the Creator Store: https://create.roblox.com/store/asset/106705620802068/Easy-DataStores

1 Like

Implemented new additional attribute settings to CanSaveBackpack. The new settings are ‘SaveOnDeath’ and ‘SaveOnRejoin’ to allow for better customisations over player backpack saving.

1 Like

Just released version 1.3! This new version fixes issues with content in folders (StarterContent) inside HiddenPlayerData being duplicated every time a player joins the game. This issue should no longer continue!

Next year, I plan on allowing specific values and folders to either not save or save based on spesific conditions. Along side that I also plan on allowing for a non data loss prevention version being released as well as available on the creator store. Expect these changes early January!

Will be using this. I love that you implemented EconomyTracking abilities. Thank you for this module! Looks great!

1 Like

Just released version 4. What’s new?

  • You can now add “SaveOnDeath” and “SaveOnRejoin” boolean attributes to values and folders in PublicPlayerData and HiddenPlayerData. You don’t need to do this as by default both are set to true and this can be changed during gameplay via the player instence even if you did not add this yourself.
  • Fixed saving issues when CanSaveBackpack was enabled. You should now no longer see issues or errors when saving with this setting enabled. Additionally, This should also fix issues where player data would get fixed up.
  • Implemented an update alert, When a new version of EasyDataStores is released, you’ll see a warning in the output console telling you that there is a new version.

Hope you like this update! Get this version here: EasyDataStores(V1.4).rbxm (18.8 KB)