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 |
|
|
|
| 17 Feb 2016 12:51 AM |
Datastoreeessssssssssssssssssssss
http://wiki.roblox.com/index.php?title=Data_store
|
|
|
| Report Abuse |
|
|
3DReality
|
  |
| Joined: 08 Mar 2015 |
| Total Posts: 150 |
|
|
| 17 Feb 2016 12:59 AM |
| Doesn't that just save via player? |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|