How to make players create new servers instead of joining already existing servers?

This is a support category for asking questions about how to get something done on the Roblox websites or how to do something on Roblox applications such as Roblox Studio.

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I’d like to make it so that when a player joins the game, instead of joining an already existing server, it creates a new one with nobody in it.

  2. What is the issue? Include screenshots / videos if possible!
    I can’t figure out how to do it.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I’ve looked for solutions on here yet i haven’t found anything.

I am making a game HEAVILY based on Nicorocks5555’s “Rooms” (it’s basically an “upgraded” version of it with stuff that makes it unique)
said game has a system where if you just click the play button, it puts you into a completely new server without anybody. To join someone, you need to go to the servers list and join their server

I’d like to do this as both a homage to the original game AND to make it easier to play together with friends instead of a random person joining and starting the game without them.

I don’t think this is done with scripting.

This post probably would be more suitable under #help-and-feedback:scripting-support btw

You might want to look into TeleportService:ReserveServer. In the Docs, there are instructions on how to get the access code of a reserved server to teleport Players into, and how to create a reserved server.

This post probably would be more suitable under #help-and-feedback:scripting-support btw

yeah i thought so after posting it, sorry
my game doesn’t use teleports, though

If you want both features, you most probably need to utilize subplaces and TeleportService. Don’t think there’s any other way to go around it.

then how exactly did rooms do it?

now im just slightly confused

Oh wait, I just did a little digging and found the setting you might be looking for:

Creator Dashboard Places > Select Place to Edit > Access

Basically, you’re able to customize how slots in the server are reserved for the Player’s friend. The maximum social slot you can set is 20, so if you have a server size of 20 or less, you can set the custom social slots to one less than your server size.

Roblox should create a new server if a Player’s friend isn’t already playing the game. I’m not sure if this is entirely foolproof, or if strangers can join servers through the server list.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.