Adding commands to script a server preview
garsipal opened this issue · comments
Consider adding commands that enable scripting for generating a server preview.
Once you click on a server from the browser, rather than an immediate connection, it should ideally display a preview resembling a scoreboard (perhaps with a thumbnail of the current server map somewhere?).
To-do in order to achieve this would be:
- command to get
servername
(name of the server); - command to get server map;
- command to get server time;
- command to get team names;
- command to loop through the players who are playing in the selected server to retrieve the needed infromation (team/spectator, name, ping);