Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How could I send data to a server when I create it using CreateSavePlaceAPI?

Asked by 9 years ago

I am creating an ingame server brower, and in doing so I ran into a problem. I have a datastore for the servers set up like this

DataStore"Test"
    Key->"Servers" Value-> [Table]
                                Key->"Server2" Value->[ServerStatTable]
                                Key->"Server5" Value->[ServerStatTable]
                                Key->"Server16" Value->[ServerStatTable]

When I make a new place using the CreateSavePlaceApi, I make the name of the place "Server3" or whatever it is. Problem is, I don't know how the place that was created can identify whether it is server 3 or 5. I was wondering if there was a way to send a string or some data to the server after I create it. Or, is there a way for the place to figure out the places name? Ideas? Help? Thanks in advance.

Answer this question