What are some good tips for DataStore Management?

I’m new to Roblox’s DataStore Management.

I’ve used custom onFile Data in other engines, so I know how it works so it works, but I don’t know the optimal practices for Roblox’s DataStores.

Right now I am almost finished a giant dictionary table full of everything, from money-to-items in the inventory-to-achievements and their progress-to-custom settings toggled, and etc… But as I’ve gone through multiple posts that tackle my questions on the subject I’ve begun to doubt if this is optimal.

The kind of questions I would like to ask are like:

  • Would it be better to use multiple DataStores for specific groups of data? Or is one big dictionary fine? (items and achievements in their own dictionary datastores)
  • Is it a good idea to make a data structure version and updating system? (This would involve a function that checks if the saved data structure it up-to-date, and if not it goes through old-version update by old-version update, adding and/or removing the elements that are out of date, until it’s up-to-date)
  • Is it wise to have a data system that creates a folder structure full of values, updates it based on live player activity, packages the folder structure into a dictionary table format so it can be saved to a data store, and then unpackages when the player rejoins?

These are questions I am constantly asking, and really anything similar. Again just my first time using Roblox’s DataStores so I am unfamiliar with the best practices.

Any feedback or suggestions are greatly appreciated!

2 Likes

just use and learn profile service and forget about anything else

1 Like