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
 

Re: Is there a wave to save data to the server.

Previous Thread :: Next Thread 
3DReality is not online. 3DReality
Joined: 08 Mar 2015
Total Posts: 150
17 Feb 2016 12:50 AM
So I am wondering if it would be possible to save certain data to the server. Like StringValues ect.

So for example I want to save the name "Guest" I make a script that makes a StringValue and have Guest as its value. How can I save that to the server so next time the server starts up the StringValue I saved will be there.

Sorry if I explained it weird. I am a bit tired
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
17 Feb 2016 12:51 AM
Datastoreeessssssssssssssssssssss

http://wiki.roblox.com/index.php?title=Data_store



Report Abuse
3DReality is not online. 3DReality
Joined: 08 Mar 2015
Total Posts: 150
17 Feb 2016 12:59 AM
Doesn't that just save via player?
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
17 Feb 2016 01:00 AM
Yes BUT you can just set a false async or something that you know won't be taken (there might be alternative methods I'm unaware of).

datastore:SetAsync("NameWhichHasBeenTakenAndWontBeUSed", value)



Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
17 Feb 2016 01:02 AM
No the data store has nothing to do with players

It saves data by keys

Keys can be anything

I could tell the data store to save a key called "hello_Im_a_key" and retrieve that value at any time.

When a datastore is used to save player data all its really doing is saving it like it would any other key, and the person who made the script just uses the players userId as the key so no players can have the same key.
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