This repository was archived by the owner on Jul 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.cs
More file actions
96 lines (87 loc) · 1.62 KB
/
Config.cs
File metadata and controls
96 lines (87 loc) · 1.62 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
using Exiled.API.Interfaces;
using PlayerRoles;
namespace AutoBroadcast;
public class Config : IConfig
{
public bool IsEnabled { get; set; } = true;
public bool Debug { get; set; } = false;
public BroadcastSystem? JoinMessage { get; set; } = new()
{
Duration = 4,
Message = "Welcome, %name%!",
Override = false
};
public string NtfAnnouncementCassieNoScps { get; set; } = "DISABLED";
public string NtfAnnouncementCassie { get; set; } = "DISABLED";
public BroadCassie? RoundStart { get; set; } = new()
{
Broadcast = new()
{
Message = "Round has started!",
},
Cassie = new()
{
Message = "Containment breach detected",
}
};
public BroadCassie? LastPlayerOnTeam { get; set; } = new()
{
Broadcast = new()
{
Message = "You are the last remaining on your team!",
},
Cassie = new()
{
Message = "There is 1 {role} remaining!"
}
};
public Dictionary<int, BroadCassie> Delayed { get; set; } = new()
{
{
60, new()
{
Broadcast = new()
{
Message = "60 seconds have passed!",
}
}
}
};
public Dictionary<int, BroadCassie> Intervals { get; set; } = new()
{
{
30, new()
{
Broadcast = new()
{
Message = "I show every 30 seconds!",
UseHints = true,
}
}
},
};
public Dictionary<RoleTypeId, BroadCassie> SpawnBroadcasts { get; set; } = new()
{
{
RoleTypeId.Spectator, new()
{
Broadcast = new()
{
Message = "You died!",
Duration = 5,
UseHints = true,
}
}
},
{
RoleTypeId.Overwatch, new()
{
Broadcast = new()
{
Message = "Overwatch initiated.",
Duration = 6,
}
}
}
};
}