Will players moving from place to place in a game stay on same server?

I have a question about making a game where level #1 (the starting point) is a large lobby that contains entry points to other levels (places) in the game…

Will players transfer together from place to place? Or does Roblox split them off into “first server available”?

If the same players stay together no matter what, I’d guess the chat works across all places in the game?

Can you create a teleport menu? The example I’m thinking is an arcade game inside the real game. The character walks up to the arcade game and ports into the arcade game (a Roblox side scrolling runner). When they want to exit the arcade game there would be a GUI button that ports him back to the place where he’s standing in front of the arcade game.

Finally, If one place in the game is a shooter, but not the others, can I keep the guns from being carried into other places?

Any help appreciated! I’m asking if these examples are easy or complicated on Roblox. Do they require lots of programming or are these features basically built in?

1 Like

TeleportService has different functions that allow you to choose how you want to teleport players across places and servers. For example you can teleport a group of players to the same server instance in the given place using TeleportService:TeleportPartyAsync or TeleportService:TeleportToPrivateServer.

Are you asking if the previous chat messages carry between places? If so then the answer is no. This feature isn’t built in but is possible to code yourself using MessagingService or sending the chat messages trough the teleport data. However I would’t recommend doing this because it could be expensive to transfer all the previous chat messages.

All this is possible by using a combination of MessagingService and TeleportService.

2 Likes

Thank you for the answers! As for chat, I’m more concerned if chat is global in the whole game or local to the level/place. I’m not concerned if the chat window gets cleared when a player leaves a level.

The default chat is local to the server within the place you are in. This means chat doesn’t carry over to different servers within that place or different places.

However you can make a global chat using MessagingService. A global chat isn’t advised because you will be hitting your MessagingService limits very quickly.

1 Like