Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Create new server and send player to it?

Hello. I want to create a updating a game. Like if I uploaded a new version of the game (game checked via Data Store) players on old version receive a special notification and teleported to newer version of game with their stats like cash. But everytime error is happening. I think it is because new server isn't created. How to fix this and correctly teleport player?

8 comments

1

Can you provide your code so we can evaluate your issue more clearly?

0

You cannot request a new server to be made. You would have to shutdown all game servers (there is a handy button on the game page for it, don't worry). Make sure to add "Shutdown = Update" in description.

0

What about 'Create Place API'?

0

There's probably some-way, berezaa has done it for the Private Island thing.

1

As minikitkit said, we need your code to determine what the error is. Also, @Marios2, NAUSHNIK52, and ISellCows, Reserved Servers would be appropriate for this. They allow you to create just servers without creating a whole place with CreatePlaceAsync.

0

There is nothing specific in code. I am just trying to send myself to another server, but is says that game is shutdown.

0

Wow, looks like Reserved Servers works OK. Thanks everyone!

1 answer

I'm posting an answer just to get this off of the "Unanswered" sort since it's been resolved. The OP wanted to manually create new servers for his game, and up until recently the only way to do this was to create entire places with CreatePlaceAsync. However, Reserved Servers can now be used to create plain old servers without having to create new places. Here's the wiki page for them: http://wiki.roblox.com/index.php?title=API:Class/TeleportService/ReserveServer

2 comments

0

But nobody can't join Reserved Server from game page, only from current-running server.

0

Players have a property called FollowUserId. If they try to follow someone into a reserved server, they should get moved into the main place where you can check who they followed and then teleport them into that player's reserved server. If it gives you an error on the site instead of teleporting you to the main place, let me know so I can make a feature request on the developer forums.

This discussion is preserved as it was. New answers, comments, and votes are closed.