List of preset reserved private serevers

  1. What do you want to achieve?
    I am trying to make a server list of preset private servers. These private servers would have buttons in the spawn menu and players can click them and be sent to a private server just for their department.

  2. What is the issue?
    My initials thoughts are to use reserved servers but I have never used them before and do not know where I would start. I do know how to make the button activation code so I don’t need that I just need some help with teleporting a player to the server, and then allowing other players later on to click the button on their own and teleport into the same server.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have been attempting to google / check the devforum for answers but I have been unable to find anything.

Just for reference I have put my GUI below if it helps you understand what I am trying to do more.
image

Yup, you wanna use reserved servers.
You can get the code like this:

local code = TeleportService:ReserveServer(game.PlaceId)

then, at any time you can teleport players to this server using that code.

You might try using MemoryStoreService to save the ids of reserved servers, so every server can access them. To reserve the servers you’d use TeleportService:ReserveServer(placeid), and to teleport the player to the reserved server you’d use TeleportService:TeleportAsync(). When a reserved server shuts down you could have it remove itself from the MemoryStore, reserve a new server, and restore that.

Hope this could help!

Would there be any way to save the data between all play sessions without a deletion?

Do you mean save player data? If so, you can use DataStoreService to save and load data.