Any way to send server-sided data over to reserved servers?

Hey, so at some point I’ll be working on a game lobby, where players teleport to reserved servers based on who’s in their party.

I thought of adding lobby configurations such as map, difficulty, etc. However, I don’t know how I could do this without making a bunch of separate places within the root place (universe.) Ideally, there’s just one game players teleport to, but based on the passed data a map gets created and any other configurations get applied automatically.

I know there’s the local teleport setting, but that’s only for the client so if the server relies on that information that could be bad…

Not sure on this one. I guess I could make it so it reads the party owner’s teleport setting, but then again there’s the issue of determining who the party owner is… :confused:

Thanks for any help.

You could use datastores. In the lobby, when the players teleport, make a datastore for server data with the new server id and all the data needed. In the reserved server, get that datastore. If it isn’t there, retry a few times before assuming that the datastore set on the other end failed and kick the players.

1 Like