Hello! I’m currently making a game that uses a matchmaking/lobby system. I want each player who presses Join on the game’s page to connect to a brand new, empty server, but I want the server’s maximum player count to stay at 4 so up to a whole squad can join somebody’s lobby. How would I do this? Thanks!
There should be a function such as TeleportService:ReserveServer()
. You can research on this more using the documentation or other resources.
I already use this for connecting players to the actual games, but my main menu lobby’s (the place you use to connect to the matchmaking) always fills servers up to 4 players, and I want each player joining from the game’s page on Roblox to have their own server with a max player count of 4 so their friends can teleport into their parties before the game starts.
in that case, you can detect when a player joins and then do reserve server.
I exactly did that. You cannot assign private servers directly upon joining. I personally have a place with 15 slots, this place reserves the server for each player (or gathered the saved code from DS), and then I teleport those users using the reserve access code. So you need a place that handles reservation & teleportation to another place for your game, whose max user count would be 4. You can assign different user counts on different places.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.