I want to make a GLOBAL matchmaking system that spans all servers. However, I don’t even know where to start.
Currently, my biggest problems are:
- cross server communication
- multiple game modes, so multiple queues
- carrying data over
- Creating ONE PRIVATE server and teleporting all the players to it (although they are in different servers)
I would appreciate it if I can get linked to any resources, tutorials, pseudocode, or source code.
Please do not just link memorystore service or messaging service. I am making this post because I do not understand how I can use them.
I was thinking of something like Bedwars’s queue system.
1 Like
I was able to find the following examples in #resources:community-resources.
There does seem to be more topics relating to this subject there, alongside some within #help-and-feedback:scripting-support - you may want to run another search alongside these.
Note: I have no idea if these are any good. However, based on the replies, they do seem to have at least helped some people
Examples include:
- MatchmakingService found here
- SimpleMatchmaking found here
I could answer more general questions on how systems like these worked but if you prefer example code then the above ± the repository linked below is probably your best bet.
Side note r.e. easy.gg and their Bedwars game:
I remembered seeing that @grilme99 had actually open-sourced a PlayFab SDK and some examples relating to matchmaking. AFAIK, they used to work for EasyGames on Bedwars.
I remembered thinking that the README
description of the repo seemed quite similar to what I would imagine easy.gg are doing; you can find that repository here.
can you help with host servers? I need to assign one server as a host. Otherwise, both servers will make the private server and send them to their own ones. So a server is assigned as a host, then tells the other server to teleport the player in their server to the given id