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

update some anticheat code

This commit is contained in:
RaidMax
2019-09-27 15:53:52 -05:00
parent 6bbb130a41
commit 35597fccef
14 changed files with 1602 additions and 42 deletions

View File

@ -1,6 +1,8 @@
using SharedLibraryCore;
using SharedLibraryCore.Interfaces;
using Stats.Config;
using System.Collections.Generic;
using static IW4MAdmin.Plugins.Stats.Cheat.Detection;
namespace IW4MAdmin.Plugins.Stats.Config
{
@ -12,6 +14,8 @@ namespace IW4MAdmin.Plugins.Stats.Config
public List<string> RecoilessWeapons { get; set; }
public int TopPlayersMinPlayTime { get; set; }
public bool StoreClientKills { get; set; }
public IDictionary<DetectionType, DistributionConfiguration> DetectionDistributions { get; set; }
public string Name() => "Stats";
public IBaseConfiguration Generate()
{
@ -56,7 +60,7 @@ namespace IW4MAdmin.Plugins.Stats.Config
"model1887.*_mp",
".+shotgun.*_mp"
};
TopPlayersMinPlayTime = 3600 * 3;
StoreClientKills = false;