Closed rogeriodec closed 4 years ago
I'm not sure this is a good idea for Roblox in general. You're going to have issues where multiple servers set the data, and override each other, or I believe Roblox will also throttle all the servers trying to access the same key.
You'd be better off designating this to some personal external service.
Currently in DataStore2 the data is saved for each player. Ex:
local myData = DataStore2("myData", player)
.In addition to the data for each player, I would like to store ONE generic table that will serve ALL players ( a dictionary conversion data, for compressing all data for the player).
I tried to use a "generic" player (zero) but I got an error:
ServerScriptService.DataStore2:483: DataStore2() API call expected {string dataStoreName, Instance player}, got {string, number}
.How to save this unique table in DataStore2 for (not using the player)?