_default.cfg 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. ##################################
  2. ######## Default Settings ########
  3. ##################################
  4. # DO NOT EDIT WILL BE OVERWRITTEN!
  5. # Copy settings from here and use them in either
  6. # common.cfg - applies settings to every instance
  7. # [instance].cfg - applies settings to a specific instance
  8. #### Server Settings ####
  9. ## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
  10. ip="0.0.0.0"
  11. queryport="27015"
  12. defaultmap="KF-BioticsLab"
  13. gamemode="KFGameContent.KFGameInfo_VersusSurvival"
  14. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  15. fn_parms(){
  16. parms="\"${defaultmap}?Game=${gamemode}?ConfigSubDir=${servicename} -QueryPort=${queryport}\""
  17. }
  18. #### LinuxGSM Settings ####
  19. ## Notification Alerts
  20. # (on|off)
  21. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  22. displayip=""
  23. # More info | https://docs.linuxgsm.com/alerts#more-info
  24. postalert="off"
  25. postdays="7"
  26. posttarget="https://hastebin.com"
  27. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  28. discordalert="off"
  29. discordwebhook="webhook"
  30. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  31. emailalert="off"
  32. email="email@example.com"
  33. emailfrom=""
  34. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  35. iftttalert="off"
  36. ifttttoken="accesstoken"
  37. iftttevent="linuxgsm_alert"
  38. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  39. mailgunalert="off"
  40. mailguntoken="accesstoken"
  41. mailgundomain="example.com"
  42. mailgunemailfrom="alert@example.com"
  43. mailgunemail="email@myemail.com"
  44. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  45. pushbulletalert="off"
  46. pushbullettoken="accesstoken"
  47. channeltag=""
  48. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  49. pushoveralert="off"
  50. pushovertoken="accesstoken"
  51. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  52. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  53. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  54. # any custom string in curl - simple ignore this parameter.
  55. telegramalert="off"
  56. telegramtoken="accesstoken"
  57. telegramchatid=""
  58. curlcustomstring=""
  59. ## Updating | https://docs.linuxgsm.com/commands/update
  60. updateonstart="off"
  61. ## Backup | https://docs.linuxgsm.com/commands/backup
  62. maxbackups="4"
  63. maxbackupdays="30"
  64. stoponbackup="on"
  65. ## Logging | https://docs.linuxgsm.com/features/logging
  66. consolelogging="on"
  67. logdays="7"
  68. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  69. # Query delay time
  70. querydelay="1"
  71. #### LinuxGSM Advanced Settings ####
  72. # ANSI Colors
  73. ansi="on"
  74. # Message Display Time
  75. sleeptime="0.5"
  76. ## SteamCMD Settings
  77. # Server appid
  78. appid="232130"
  79. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  80. branch=""
  81. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  82. steammaster="false"
  83. ## LinuxGSM Server Details
  84. # Do not edit
  85. gamename="Killing Floor 2"
  86. engine="unreal3"
  87. glibc="2.3.2"
  88. #### Directories ####
  89. # Edit with care
  90. ## Server Specific Directories
  91. systemdir="${serverfiles}"
  92. executabledir="${systemdir}/Binaries/Win64"
  93. executable="./KFGameSteamServer.bin.x86_64"
  94. servercfgdir="${systemdir}/KFGame/Config/${servicename}"
  95. servercfg="LinuxServer-KFGame.ini"
  96. servercfgdefault="LinuxServer-KFGame.ini"
  97. servercfgfullpath="${servercfgdir}/${servercfg}"
  98. ## Backup Directory
  99. backupdir="${lgsmdir}/backup"
  100. ## Logging Directories
  101. logdir="${rootdir}/log"
  102. gamelogdir="${systemdir}/Saved/Logs"
  103. lgsmlogdir="${logdir}/script"
  104. consolelogdir="${logdir}/console"
  105. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  106. consolelog="${consolelogdir}/${servicename}-console.log"
  107. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  108. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  109. ## Logs Naming
  110. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  111. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"