Add Games population stats logging and message about starting/ending game with stats
Add Games population tracking.
This part is now already done and being tracked now.
Its SQL DB driven (procedures and events in DB, not part of discord plugin [not created by the plugin, anyone ever recreating this plugin in new DB would need the DB backup first for this functionality])
It sums the population of all available servers, players on lobby, players on normal servers, count of servers, count of windows and linux servers.
Every 10 seconds (resolution) and data is never deleted (archived in another table every 3 months, data older than 3 months)
Population tracking is only in numbers, no IPs, no steamids, no names.
It also adds a record of Games starting when there is 8 or more players
And record of Games ending when there is 5 or less players
This will also show peak players, avg players, duration of games (not per map), duration of how long it took for games to start since 1 player was online.
Possibly more if I think of more stuff
**Next step will be to make Discord send a message to (empireschat? or comeplay) when game starts or ends with various stats. No Pinging with this one **
After that, possibly graphs/charts included with last 2 weeks or so.
Possibly also charts/graphs/data on the website, which could also be used for the MOTD message on Lobby.
Most likely eventually I would like to also make Discord bot events create events based on how games started and ended previous weeks.
So that its a lot more dynamic and maintenance free (in case time of games ever changes)