So basically I’ve run into a problem with Roblox Data Stores. I want to make a website that would manage custom user accounts. I want to keep those account data on Roblox so I can easily access them from the game. Thanks to Open Cloud API I can do that.
However I got used to Firebase system of saving data, which works like your File Explorer. You wanna get data from Accounts/{AccountID}/Profile
? No problem, Firebase returns exactly that value. You wanna get Accounts/{AccountID}/Activity
? Again, no problem. Everything seems to be working with Roblox Data Stores too! But what if I want to get all the data of that user? Accounts/{AccountID}
would return nil
(null) in Roblox Data Stores, but Firebase would return an array (dictionary), containing both Profile
and Activity
data. Is this possible in Roblox Data Stores or does it work just like SQL (from what I’ve seen in my IT lessons so far)? I’m very confused as how Scopes
and Keys
works but from what I’ve read and tested, it doesn’t seem to work like it does in Firebase.
Here is an example of how Firebase Datastore looks like, basically a JSON file:
{
"AccountID": {
"Profile": {},
"Activity": {}
}
}
I was pretty excited to be able to use Open Cloud API as this really opens Roblox to other useful platforms too but if there is no solution to this, I have to return to services not hosted by Roblox itself. Not happy with that but whatever.