These queries: https://developer.valvesoftware.com/wiki/Server_queries
Can return many things about a [TF2] server, such as player names, points, current map etc.
I see how to return a list of player names, but that isn’t useful (players can freely change their names).
How can I return a list of SteamIDs?
The A2S* queries can’t do this. Instead, you’d need to use the RCON Protocol and issue the
statuscommand.The A2S_INFO query can return the server’s steamID by passing
0x10to theExtra Data Flag (EDF), but this is the only SteamID you can get using the A2S* commands