1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

update file localizations

update custom callbacks
add server count to master
add most played to token list
This commit is contained in:
RaidMax
2018-05-21 16:09:27 -05:00
parent 31744ce876
commit 8ac75ec63a
14 changed files with 1181 additions and 1052 deletions

View File

@ -278,9 +278,15 @@ namespace IW4MAdmin.Plugins.Stats
return String.Join(Environment.NewLine, Commands.TopStats.GetTopStats(s).Result);
}
string mostPlayed(Server s)
{
return String.Join(Environment.NewLine, Commands.MostPlayed.GetMostPlayed(s).Result);
}
manager.GetMessageTokens().Add(new MessageToken("TOTALKILLS", totalKills));
manager.GetMessageTokens().Add(new MessageToken("TOTALPLAYTIME", totalPlayTime));
manager.GetMessageTokens().Add(new MessageToken("TOPSTATS", topStats));
manager.GetMessageTokens().Add(new MessageToken("MOSTPLAYED", mostPlayed));
ServerManager = manager;