-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.cs
More file actions
39 lines (35 loc) · 1.29 KB
/
Config.cs
File metadata and controls
39 lines (35 loc) · 1.29 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
32
33
34
35
36
37
38
39
using System.Collections.Generic;
using System.ComponentModel;
using Exiled.API.Interfaces;
using OverwatchLogger.Serelizables;
using PlayerRoles;
namespace OverwatchLogger
{
public class Config: IConfig
{
[Description("Will the plugin be enabled?")]
public bool IsEnabled { get; set; } = true;
[Description("Will debug messages be visible?")]
public bool Debug { get; set; } = true;
[Description("Hook settings")]
public WeebHookSerelizable Hook { get; set; } = new()
{
HookName="Role enter time logger"
};
[Description("Settings for display message in weebhook")]
public LogMessagesSerelizable LogMessages { get; set; } = new();
[Description("List roles for display assgned round time")]
public List<RoleTypeId> TrackedRoles { get; set; } = new()
{
RoleTypeId.Overwatch,
RoleTypeId.Tutorial
};
[Description("Will the plugin only log server staff")]
public bool LogOnlyStaffRoles { get; set; } = false;
[Description("Groups to be ignored (only if staff logging is enabled)")]
public List<string> IgnoredGroups { get; set; } = new()
{
"owner"
};
}
}