|
| 29 Jun 2016 05:00 AM |
So I have a few questions about DataStores which I cannot seem to find the answer to in the Wiki page of it, so do not link me to it.
Are DataStores like variables which hold information which is parsed through servers? And, are DataStores linked together as a whole, or can you make as many as you like? Example being: local DataStore = game:GetService("DataStoreService"):GetDataStore("Points") local DataStore = game:GetService("DataStoreService"):GetDataStore("XP")
Would those two have their own data limits out of the 260000, or is the 260000 shared between them?
That is all.
-=[ RAP: 344,150 || DurstAuric; the narb of ROBLOX ]=- |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2016 05:03 AM |
Per key per data store, not per data store or across all data stores.
And they're just a way you can, well, "store data" so it persists even after your game shuts down. Imagine there being some sort of big table that consists of more table (data stores) that consist of key-value pairs.
local DS = { DataStore1 = { ["Key 1"] = "value1", ["Key 2"] = "value2" }, DataStore2 = { ["Key 1"] = "value3", ["Key 2"] = "value4" } } |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2016 05:25 AM |
I see, that makes sense.
-=[ RAP: 344,064 || DurstAuric; the narb of ROBLOX ]=- |
|
|
| Report Abuse |
|
|