-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathConfig.cs
More file actions
22 lines (20 loc) · 1013 Bytes
/
Config.cs
File metadata and controls
22 lines (20 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using CounterStrikeSharp.API.Core;
namespace AFKManager.Config;
public class AFKManagerConfig : BasePluginConfig
{
public int AfkPunishAfterWarnings { get; set; } = 3;
public int AfkPunishment { get; set; } = 1;
public float AfkWarnInterval { get; set; } = 5.0f;
public int AfkKickMinPlayers { get; set; } = 6;
public float SpecWarnInterval { get; set; } = 20.0f;
public int SpecKickAfterWarnings { get; set; } = 5;
public int SpecKickMinPlayers { get; set; } = 8;
public bool SpecKickOnlyMovedByPlugin { get; set; } = false;
public List<string> SpecSkipFlag { get; set; } = [.. new[] { "@css/root", "@css/ban" }];
public List<string> AfkSkipFlag { get; set; } = [.. new[] { "@css/root", "@css/ban" }];
public string PlaySoundName { get; set; } = "sound/ui/beep22.wav";
public bool SkipWarmup { get; set; } = false;
public float Timer { get; set; } = 1.0f;
public bool isCSSPanel { get; set; } = false;
public bool EnableDebug { get; set; } = false;
}