I’m making a script that teleports a group of players to a Reserved Server. But after the Reserved Server has booted up and started running, I don’t want any other players to be able to join it.
I thought that an easy way of solving this would be to figure out if a Reserved Server is already running. Is there any way of doing that?
Put a limit of players on each server or use
JobId and serach how many players are there to teleport or not.
When you reserve a server with
TeleportService:ReserveServer() it will automatically be private and can only be joined by
TeleportService:TeleportToPrivateServer(). So after initially reserving a server, you can teleport the players you want to join it and do not need to worry about other random players joining.