-
Notifications
You must be signed in to change notification settings - Fork 4
/
Config.cs
26 lines (19 loc) · 1.05 KB
/
Config.cs
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
using Exiled.API.Interfaces;
using System.ComponentModel;
namespace SCPReplacer
{
public class Config : IConfig
{
public bool Debug { get; set; } = false;
[Description("The maximum time after the round start, in seconds, that a quitting SCP can cause the volunteer opportunity announcement (defaults to 60)")]
public int QuitCutoff { get; set; } = 60;
[Description("The maximum time after the round start, in seconds, that a player can use the .volunteer command (defaults to 90)")]
public int ReplaceCutoff { get; set; } = 90;
[Description("The required percentage of health (0-100) the SCP must have had to be eligible for replacement. Defaults to 95 (no percent sign)")]
public int RequiredHealthPercentage { get; set; } = 95;
[Description("How long (in seconds) after the first player volunteers should the SCP be replaced")]
public int LotteryPeriodSeconds { get; set; } = 10;
[Description("Is the plugin enabled?")]
public bool IsEnabled { get; set; } = true;
}
}