skip spamming all players when Perun doesn't run

This commit is contained in:
David Pierron
2021-02-28 09:22:33 +01:00
parent bedceb171d
commit 815b37214d
2 changed files with 11 additions and 4 deletions

View File

@@ -16,6 +16,9 @@ PerunConfig.MOTD_L1 = "[Perun] Welcome to our server !" -- (string) Me
PerunConfig.MOTD_L2 = "[Perun] Stats and event data integrated with Perun for DCS World" -- (string) Message send to players connecting the server - Line 2
PerunConfig.ConnectionError_L1 = "[Perun] ERROR: Connection broken - contact server admin!" -- (string) Information to send to players when Perun connection is broken
-- Misc
PerunConfig.DontSpamPlayersInCaseOfError = false -- don't spam the game chat with error messages if the connection to Perun does not work
-- Debug
PerunConfig.DebugMode = 1 -- (int) [0 (default),1,2] Value greater than 0 will display Perun information in DCS log file, values: 1 - minimal verbose, 2 - all log information will be logged