You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Common Utilities/Config.cs
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -17,20 +17,14 @@ public class Config : IConfig
17
17
[Description("Whether or not debug messages should be shown.")]
18
18
publicboolDebug{get;set;}=false;
19
19
20
-
[Description("The SCP Roles able to use V to talk to humans.")]
21
-
publicList<RoleTypeId>ScpSpeech{get;set;}=new()
22
-
{
23
-
RoleTypeId.Scp049,
24
-
};
25
-
26
20
[Description("Whether or not MTF/CI can 'escape' while disarmed to switch teams.")]
27
21
publicboolDisarmSwitchTeams{get;set;}=true;
28
22
29
23
[Description("Whether or not disarmed people will be prevented from interacting with doors/elevators.")]
30
24
publicboolRestrictiveDisarming{get;set;}=true;
31
25
32
26
[Description("The text displayed at the timed interval specified below.")]
33
-
publicstringTimedBroadcast{get;set;}="<color=lime>This server is running </color><color=red>EXILED Common-Utilities</color><color=lime>, enjoy your stay!</color>";
27
+
publicstringTimedBroadcast{get;set;}="<color=#bfff00>This server is running </color><color=red>EXILED Common-Utilities</color><color=lime>, enjoy your stay!</color>";
34
28
35
29
[Description("The time each timed broadcast will be displayed.")]
36
30
publicushortTimedBroadcastDuration{get;set;}=5;
@@ -165,7 +159,7 @@ public class Config : IConfig
165
159
},
166
160
};
167
161
168
-
[Description("The list of 914 teleport settings. Note that if you set \"zone\" to anything other than Unspecified, it will always select a random room from that zone, instead of the room type defined.")]
162
+
[Description("The list of 914 teleport settings. Note that if you set \"zone\" to anything other than Unspecified, it will always select a random room from that zone that isn't in the ignoredRooms list, instead of the room type defined.")]
@@ -101,6 +104,10 @@ public void OnScp914UpgradingPlayer(UpgradingPlayerEventArgs ev)
101
104
Log.Debug($"{nameof(OnScp914UpgradingPlayer)}: {ev.Player.Nickname} ({ev.Player.Role})is trying to upgrade his class. {sourceRole} -> {destinationRole} ({chance}). Should be processed: {r<=chance} ({r})");
#pragma warning disable SA1013// Closing braces should be spaced correctly
153
+
#pragma warning disable SA1013
154
154
Log.Debug($"Player {player.Nickname} ({player.Role.Type}) is not a checkable player. NoClip: {player.IsNoclipPermitted} GodMode: {player.IsGodModeEnabled} IsNotGrounded: {player.RoleisFpcRole{IsGrounded:false}} AFKImunity: {player.RemoteAdminPermissions.HasFlag(PlayerPermissions.AFKImmunity)}");
155
-
#pragma warning restore SA1013// Closing braces should be spaced correctly
0 commit comments