Distinguish bots from humans.

Players column now have three integers - first is real humans
count, second - bots count, and third - maximum players allowed
on this server. Also, sidebar will show bots count as well.
This commit is contained in:
2016-11-26 07:38:26 +05:00
parent 32c6297765
commit 280c65f116
5 changed files with 40 additions and 6 deletions

View File

@@ -18,6 +18,8 @@ type Server struct {
Name string `db:"name"`
// Current players count
Players string `db:"players"`
// Bots count
Bots string `db:"bots"`
// Maximum players
Maxplayers string `db:"maxplayers"`
// Ping