-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathConfig.cs
More file actions
24 lines (19 loc) · 863 Bytes
/
Config.cs
File metadata and controls
24 lines (19 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.ComponentModel;
using Exiled.API.Interfaces;
using PlayerRoles;
namespace RoleSwap
{
public class Config : IConfig
{
[Description("Whether or not the plugin is enabled")]
public bool IsEnabled { get; set; } = true;
[Description("Whether or not debug messages will be shown")]
public bool Debug { get; set; } = false;
[Description("The role that will be swapped when a detained NTF escapes")]
public RoleTypeId FFEscape { get; set; } = RoleTypeId.ChaosConscript;
[Description("The role that will be swapped when a detained Chaos Insurgency escapes")]
public RoleTypeId CIEscape { get; set; } = RoleTypeId.NtfPrivate;
[Description("The Distance from the escape area that peope escape with")]
public float EscapeDistance { get; set; } = 3f;
}
}