How to make a player join the same server as someone else?

Basically I am making a game where players can make game groups and other players can join that player’s specific server by clicking a button. How would I do that?

(Without being friended)


Well, it’s not really easy to perform an action like that but I can give you a path to work with.

Each server has a different property called “JobId”, it can be seen using game.JobId. This provides an unique identificator to each server, which you can then use to transport your player to that server.

You could use MessagingService to communicate with all servers and ask them if your target player is there. If so, you’ll retrieve the JobId and let the player connect to it.

Oh I see. Thanks for the fast and useful response!

If I have been helpful to you, it would really be nice if you mark my response as a solution. This way other people that have the same doubt will have an easily accessible answer to their problem.

Mhm, just testing up to make sure it solves my problem completely.