generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

DataStore questions.

Previous Thread :: Next Thread 
DurstAuric is online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
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
Flux_Capacitor is not online. Flux_Capacitor
Joined: 07 Apr 2008
Total Posts: 45720
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
DurstAuric is online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
29 Jun 2016 05:25 AM
I see, that makes sense.


-=[ RAP: 344,064 || DurstAuric; the narb of ROBLOX ]=-
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image