Skip to content

Commit bc45791

Browse files
committed
Added basic logs config option
1 parent 739fbcb commit bc45791

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

UncomplicatedCustomEscapeZones/Config.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ internal class Config
1010
[Description(
1111
"If false the UCS credit tag system won't be activated. PLEASE DON'T DEACTIVATE IT as LOTS OF PEOPLE WORKED ON THIS PLUGIN completly for FREE!")]
1212
public bool EnableCreditTags { get; set; } = true;
13+
14+
[Description("Do enable the basic UCEZ logs?")]
15+
public bool EnableBasicLogs { get; set; } = true;
1316
}

UncomplicatedCustomEscapeZones/Events/EventHandler.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public override void OnServerWaitingForPlayers()
110110

111111
foreach (ICustomEscapeZone customEscapeZone in CustomEscapeZone.List) new SummonedEscapeZone(customEscapeZone);
112112

113+
if (!Plugin.Instance.Config.EnableBasicLogs) return;
113114
LogManager.Info(
114115
$"Thanks for using UncomplicatedCustomEscapeZones v{Plugin.Instance.Version.ToString(3)} by {Plugin.Instance.Author}! Note that if you're using UCR, this plugin is the higher priority.",
115116
ConsoleColor.Blue);

0 commit comments

Comments
 (0)