Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

DataStoreService. Storing a JSON table over 16^2 chars?

Asked by
Nickoakz 231 Moderation Voter
9 years ago

I need to be able to store a max of 500 userids or close to 5002 characters into DataStore for all servers to access and read. If anyone has a handy function that stores userids and reads it when it updates. I would like to see.

I looked on the wiki and roblox limits DataStore string saving to 16^2 characters.

1 answer

Log in to vote
1
Answered by
Defaultio 160
9 years ago

Check again; it's actually 2^16 characters, not 16^2. Big difference! A JSON table of 500 userIds won't exceed that. You'll be fine!

0
I was having panic attacks and brain farts as I kept attempting to split 5000 characters into like 80 data stores. I couldn't believe my brain went ahead and registered 16^2 instead of 2^16. Nickoakz 231 — 9y
Ad

Answer this question