Page 1 of 1

Request server change

Posted: Mon Nov 19, 2018 10:34 am
by Godmave
A way to ask the player if he wants to connect to another server.

Someting along the lines of

Code: Select all

player.confirmServerConnect{ ip = "10.11.12.13", port="12345", name="Grid 2-4: Smelting" }
If he clicks "Yes" the game client is restarted with the -mp-connect argument.

Use-case: Clusterio. Would give the ability for players to switch to another server by stepping in a transition zone and getting prompted to switch servers.
Or sitting in a train that is teleported to another server.
Or even just a custom ui, listing all available nodes of a cluster to choose from.

Re: Request server change

Posted: Mon Nov 19, 2018 10:49 am
by Godmave
Does not even have to restart the client either, just connect to the new server.
A restart would only be required if the mods differ, but that should be handled in 0.17 anyway.

Re: Request server change

Posted: Wed Jan 16, 2019 11:05 pm
by adamius
I'd like this functionality. Then we could easily navigate the 50 or so worlds in our cluster and players would have an in-game way of doing so.

Re: Request server change

Posted: Sat Jul 20, 2019 4:50 am
by Anson
just for info since i found this thread linked in another thread which had a similar request
and which just got moved to "implemented mod requests"
Rseding91 wrote:
Mon Jul 08, 2019 4:50 pm

Code: Select all

connect_to_server{address=..., name=..., description=..., password=...}
Ok, I've added it for the next version of 0.17.