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

add server scoreboard functionality

This commit is contained in:
RaidMax
2022-01-22 12:49:12 -06:00
parent a6292adf4b
commit 6458aee2ee
34 changed files with 278 additions and 100 deletions

View File

@ -1289,12 +1289,14 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
if (!suicide)
{
attackerStats.Kills += 1;
attackerStats.MatchData.Kills += 1;
attackerStats.SessionKills += 1;
attackerStats.KillStreak += 1;
attackerStats.DeathStreak = 0;
}
victimStats.Deaths += 1;
victimStats.MatchData.Deaths += 1;
victimStats.SessionDeaths += 1;
victimStats.DeathStreak += 1;
victimStats.KillStreak = 0;
@ -1444,6 +1446,7 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
{
session.stat?.StartNewSession();
session.detection?.OnMapChange();
session.stat?.MatchData?.StartNewMatch();
}
}

View File

@ -17,7 +17,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="RaidMax.IW4MAdmin.SharedLibraryCore" Version="2022.1.8.1" PrivateAssets="All" />
<PackageReference Include="RaidMax.IW4MAdmin.SharedLibraryCore" Version="2022.1.20.1" PrivateAssets="All" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">