From my understanding, it wasn’t possible to teleport players into a player bought private server (not a reserve server). However, I’ve seen some games, namely Tower Defence Simulator and Anime Adventures being able to teleport players back into the vip server they started their games from after they end. Does anyone know how this can be replicated?
You can, if you know the Id. You can save the Id using a datastore and access it at a later time. Then you can also have the added bonus of being able to show every private server you have access to.
I think it’s worth mentioning you have to play the private server at least once to get the Id in the first place.
FWIW: a reserved server access code and a private server id are not the same. It is still impossible to teleport players into private servers and you cannot teleport a player to a reserved server if you don’t have the access code.
Developers have worked around this issue by creating a reserved server associated with a private server, so immediately upon joining a private server they are rerouted to an associated reserved server. You can check for a private server by making sure PrivateServerOwnerId is not zero and PrivateServerId is not an empty string. From there, you can check a DataStore for the PrivateServerId and retrieve the access code (or, if not existing, create a new reserved server and store the access code) and then you can teleport players to a reserved server.
For post clarity: private servers are what you buy on the site, reserved servers can be opened by developers using the right options in TeleportOptions or via the ReserveServer function.
Thanks! I managed to teleport players into them using the Job id of the VIP server.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.