MasonX890
(MasonX890)
August 27, 2022, 12:50am
#1
How would I go about making a matchmaking system that finds 19 other players that are searching for a Mach and teleport them to a game?
This isn’t exactly an easy thing to achieve depending on what exactly you’re looking for, I assume you’re looking for something that is cross-server. I’ve linked a post you could read for more information.
Introduction
Before reading please keep in mind this is a decently long read. There’s a lot to go over. By the end you should:
Have an in-depth view of various matchmaking system approaches
Have knowledge of the pros & cons of different approaches
Have a basic idea of how to implement said approaches
Table of Contents
Background Information
Approaches
2.1 Same Server Matchmaking
2.2 Cross Server Matchmaking with MessagingService
2.3 Cross Server Matchmaking with HttpService
Conclusion
…
kylerzong
(kylerzong)
August 27, 2022, 8:37am
#3
Use this to get a list of all servers & players in them
This script allows for one server to take control as the master server, it also allows for cross-server events or ‘tasks’
[image]
in the example all non-master servers will send a print task to the master server
ServerScriptService - Script if game:GetService("RunService"):IsStudio() then warn("[Studio]") repeat wait(60) until false end
local MemStore = game:GetService("MemoryStoreService")
local HttpService = game:GetService("HttpService")
local DSS = …