DataStoreService MetaData

I’m a little confused on the MetaData in the DataStoreService. What exactly is it and when might/will I have to use it?

1 Like

They’re mostly for categorization, let’s say you a shop of clothing in your game where players can buy clothes from other players (and that can also list clothes of offline players).

A player might be looking for a specific category, so we let our players place their clothes in a specific category, and rather than creating 1 data store for every category, we can just check the metadata on the key to tell which category it is

2 Likes

If you’re looking to know how you can retrieve and set metadata, here’s a guide on it: Data Stores | Documentation - Roblox Creator Hub

2 Likes