Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

Create new server and send player to it?

Asked by 8 years ago

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?

1
Can you provide your code so we can evaluate your issue more clearly? minikitkat 687 — 8y
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. Marios2 360 — 8y
0
What about 'Create Place API'? NAUSHNIK52 0 — 8y
0
There's probably some-way, berezaa has done it for the Private Island thing. ISellCows 2 — 8y
View all comments (4 more)
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. EchoReaper 290 — 8y
0
There is nothing specific in code. I am just trying to send myself to another server, but is says that game is shutdown. NAUSHNIK52 0 — 8y
0
Wow, looks like Reserved Servers works OK. Thanks everyone! NAUSHNIK52 0 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

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

0
But nobody can't join Reserved Server from game page, only from current-running server. NAUSHNIK52 0 — 8y
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. EchoReaper 290 — 8y
Ad

Answer this question