So I’m making a map selection system where if there’s a server in a place with the map you want to play in it will teleport you to it, but if there isn’t then it will create a new server in the place and load the map in that server and teleport you to it. I have searched the devhub and devforum but haven’t found anything useful. How would I achieve this?
Use TeleportService:ReserveServer()
. This will allow you to create a new server.
I believe TeleportService:ReserveServer()
creates a private server. I am trying to make a public one.
Did you ever figure it out? Really could use this feature…
This is still something I never figured out how to do. I was trying to make a reserved slot system that gave players a minute or so to rejoin and get re-directed to the server they were in before, which lead me to needing to re-direct random players who joined in that ‘grace period’ to a new server.
The problem is, if I just reserve a server, it exists outside of roblox’s matchmaking - so if I’m just trying to make a new server that effectively works as an ‘overflow’ server, it being a reserved server means that friends of players cannot join them, ever, without me implementing a full custom sort of matchmaking system to manually put them in.
Really, this would not be a problem to begin with if roblox let us open and close servers or dynamically set reserved slots in game - But I was practically laughed at for suggesting it, being told that the ability to reserve slots or close/open servers to public matchmaking wasn’t something anybody would ever want, with not enough use cases to be viable.
As much as I completely disagreed with that, I’m now back here browsing the forum, wondering if there are any easy alternatives to do this short of me manually matchmaking friends together, effectively doing what roblox already does automatically… manually… because I dared to want to send players to a new server, but not necessarily want that server to be a reserved, manually implemented server.
Separate places for each map can allow you to use standard servers that will funnel players into them when you teleport with that place id. With the new direct join update, you can also allow friends to join those places directly. As of right now, that’s the closest you can get to public servers.