Request server change

Things that already exist in the current mod API
Post Reply
User avatar
Godmave
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Tue Nov 15, 2016 3:52 pm
Contact:

Request server change

Post 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.

User avatar
Godmave
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Tue Nov 15, 2016 3:52 pm
Contact:

Re: Request server change

Post 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.

adamius
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Mon Mar 19, 2018 9:18 am
Contact:

Re: Request server change

Post 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.

Anson
Fast Inserter
Fast Inserter
Posts: 249
Joined: Sun May 22, 2016 4:41 pm
Contact:

Re: Request server change

Post 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.

Post Reply

Return to “Already exists”