Heyo, let’s say someone else is in a different server. I want to make it so you can join this player, doesn’t have to be a friend, maybe there is a tournament being hosted in a different public server, any possibility is endless. How can I do this?
Send a message to all servers via messaging service than have each server send back a string that either says yes we have the server or no. Than use teleport to go to that server.
how can i send the player to that specific server though? i know i can publish async with the target, and have all other servers that are subscribed loop through their player list to check if the player is in their server but how do i get sent to their server?
You could get the selected player’s IP and then use the social service to show the players, then teleport to the server. This may work with other players besides friends
i honestly have no idea how to do this. is it possible to get the current server from subscribeasync and teleport the player with teleportservice or something of that sort?
Yes, actually, I think that would work pretty well.
What you could do is when the player’s server is selected(possibly from a GUI) then you use subscribe async to set the async of that player’s universe/server. Then using the teleport service, I’m not sure exactly how you would do that. Try checking the wiki here
Simply send back to the server in question the game.JobId. A unique string that holds the server. Then simply teleport the player to that job id.
thank you, i will try to see what i can do.