using System; using System.Collections.Generic; using static IW4MAdmin.Plugins.Stats.Cheat.Detection; using static SharedLibraryCore.Server; namespace Stats.Config { public class AnticheatConfiguration { public bool Enable { get; set; } [Obsolete] public IDictionary ServerDetectionTypes { get; set; } = new Dictionary(); public IDictionary GameDetectionTypes { get; set; } = new Dictionary(); public IList IgnoredClientIds { get; set; } = new List(); public IDictionary> IgnoredDetectionSpecification{ get; set; } = new Dictionary> { { Game.IW4, new Dictionary { { DetectionType.Chest, new[] { "m21.+" } }, { DetectionType.Recoil, new[] { "ranger.*_mp", "model1887.*_mp", ".+shotgun.*_mp", "turret_minigun_mp" } }, { DetectionType.Button, new[] { ".*akimbo.*" } } } } }; } }