update stats

change server id
fIx change log server complaining when empty read
This commit is contained in:
RaidMax
2018-11-27 18:31:48 -06:00
parent abf0609e2e
commit 9d6cbee69c
44 changed files with 966 additions and 157 deletions

View File

@ -25,7 +25,7 @@ namespace WebfrontCore.Controllers.API
var serverInfo = Manager.GetServers()
.Select(server => new
{
Id = server.GetHashCode(),
Id = server.EndPoint,
Name = server.Hostname,
MaxPlayers = server.MaxClients,
CurrentPlayers = server.GetClientsAsList().Count,