renamed hook to pierog

This commit is contained in:
ags
2021-12-13 20:22:00 +00:00
parent 0a0da5b5a9
commit 545298f26d
9 changed files with 779 additions and 498 deletions

View File

@@ -5,24 +5,29 @@ local config = {}
-- Connection
config.host = "localhost" -- (string) [default: "localhost"] IP adress of the Perun instance or "localhost"
config.port = 48621 -- (int) [default: 48621] TCP port to send data to
config.delimiters = {"<SOT>", "<EOT>"}
config.Instance = 1 -- (int) [default: 1] Id number of instance (if multiple DCS instances run on the same machine)
config.keepAliveSeconds = 5 --
config.refreshSlotsSeconds = 300 -- delay between slot updates are sent
config.refreshMissionSeconds = 600 -- delay between mission update is sent
config.logPath = "c:\\temp" -- path for communication logs
config.bigUpdatesSeconds = 100 -- big updates (mission, unit IDs, slots) have to wait between being sent
-- deprecated, decrease greatly
config.refreshSlotsSeconds = 300 -- delay between slot updates are sent
config.refreshMissionSeconds = 200 -- delay between mission update is sent
-- Localisation
-- Server MOTD, sent to ALL players when entering cockpit
config.MOTD_line1 = "[Perun] Welcome to our server!";
config.MOTD_line2 = "[Perun] Stats and event data integrated with Perun for DCS World";
config.MOTD_line1 = "[Pierog] Welcome to our server!";
config.MOTD_line2 = "[Pierog] Stats and event data integrated with Pierog for DCS World";
-- (string) Information to send to players when Perun connection is broken
config.ConnectionError = "[Perun] ERROR: Connection broken - contact server admin!"
config.ConnectionError = "[Pierog] ERROR: Connection broken - contact server admin!"
-- Misc
config.BroadcastPerunErrors = 1 -- (int) [0 (default),1] Value greater than 0 will broadcast chat message about missing connection to Perun
config.BroadcastPierogErrors = 1 -- (int) [0 (default),1] Value greater than 0 will broadcast chat message about missing connection to Perun
config.BroadcastErrorEachSeconds = 600
-- Debug
config.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
config.DebugMode = 2 -- (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
-- ###################### END OF SETTINGS - DO NOT MODIFY OUTSIDE THIS SECTION ######################
return config