-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathConfig.cs
More file actions
31 lines (27 loc) · 1.14 KB
/
Config.cs
File metadata and controls
31 lines (27 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using CounterStrikeSharp.API.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace TooLateToBan
{
public class PluginConfig : BasePluginConfig
{
[JsonPropertyName("MaximumCacheSize")] public int MaximumCacheSize { get; set; } = 10;
[JsonPropertyName("Debug")] public bool Debug { get; set; } = false;
[JsonPropertyName("CommandName")] public string CommandName { get; set; } = "tltb";
[JsonPropertyName("Reasons")] public List<string> Reasons { get; set; } = [
"Hacking",
"Voice Abuse",
"Chat Abuse",
"Admin disrespect",
"Other"
];
[JsonPropertyName("BanCommand")] public string BanCommand { get; set; } = "css_addban";
[JsonPropertyName("MuteCommand")] public string MuteCommand { get; set; } = "css_addmute";
[JsonPropertyName("GagCommand")] public string GagCommand { get; set; } = "css_addgag";
[JsonPropertyName("SilenceCommand")] public string SilenceCommand { get; set; } = "css_addsilence";
}
}