Is there a good way to do game wide matchmaking and reserve server teleportation? I was thinking of having a Datastore table that every server reads and writes to, which looks something like this:
And a function on each that runs constantly and checks if the size of each game mode is divisible by 2, and teleports the first 2 players in each game mode to a reserve server. I don’t know how well this would work, out if this is even feasible, so I’m open for corrections and/or suggestions on how I can achieve my goal.
I’m not exactly sure if this would produce your intended outcome, but have you considered using a start place exclusively for matchmaking, similar to DropBlox? This would avoid the complications of having to communicate between servers.
The best way you could achieve this is to reserve a game server using ReserveServer() and then sending that code and players who you want to teleport through MessagingService to the other servers and teleport them as well.