Player IP addresses requestable via RCON

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Quis
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sun Nov 02, 2014 2:05 pm
Contact:

Player IP addresses requestable via RCON

Post by Quis »

TL;DR
I would like a console command/rcon command to get the list of IP addresses for all players.
What ?
I would like to have a /connections command that lists all player IP addresses in the console and through RCON.
Why ?
It would allow me to write tooling to automatically figure out from which location most players are connected and move the server to that continent. We have a game with a bunch of Europeans and Americans, and when the game is hosted on the other continent the lag is horrible. I want to write software that automatically detects which continent most people are from (by just pinging all IPs from all potential servers and choosing the server that has the best average latency). (Server relocation would just be automatically: stopping the current server, copying the save game, updating DNS, starting the new server.)
Post Reply

Return to “Ideas and Suggestions”