Page 1 of 1
Player IP addresses requestable via RCON
Posted: Sat Jan 27, 2018 12:17 am
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.)