_default.cfg 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. ##################################
  2. ######## Default Settings ########
  3. ##################################
  4. # DO NOT EDIT, ANY CHANGES 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. #### Game Server Settings ####
  9. ## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login
  10. steamuser="username"
  11. steampass='password'
  12. ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
  13. ip="0.0.0.0"
  14. defaultmap="KF-BioticsLab.rom"
  15. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  16. startparameters="server ${defaultmap}?game=KFmod.KFGameType?VACSecured=true -nohomedir ini=${servercfg} log=${gamelog}"
  17. ## Server Parameters for Objective mode
  18. #defaultmap="KFO-Steamland"
  19. #startparameters="server ${defaultmap}?Game=KFStoryGame.KFStoryGame?VACSecured=true -nohomedir ini=${servercfg} log=${gamelog}"
  20. #### LinuxGSM Settings ####
  21. ## LinuxGSM Stats
  22. # Send useful stats to LinuxGSM developers.
  23. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  24. # (on|off)
  25. stats="off"
  26. ## Notification Alerts
  27. # (on|off)
  28. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  29. displayip=""
  30. # More info | https://docs.linuxgsm.com/alerts#more-info
  31. postalert="off"
  32. # Alert on Start/Stop/Restart
  33. statusalert="off"
  34. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  35. discordalert="off"
  36. discordwebhook="webhook"
  37. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  38. emailalert="off"
  39. email="email@example.com"
  40. emailfrom=""
  41. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  42. gotifyalert="off"
  43. gotifytoken="token"
  44. gotifywebhook="webhook"
  45. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  46. iftttalert="off"
  47. ifttttoken="accesstoken"
  48. iftttevent="linuxgsm_alert"
  49. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  50. ntfyalert="off"
  51. ntfytopic="LinuxGSM"
  52. ntfyserver="https://ntfy.sh"
  53. ntfytoken=""
  54. ntfyusername=""
  55. ntfypassword=""
  56. ntfypriority=""
  57. ntfytags=""
  58. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  59. matrixalert="off"
  60. matrixhomeserver="matrix.org"
  61. matrixtoken="accesstoken"
  62. matrixroom=""
  63. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  64. pushbulletalert="off"
  65. pushbullettoken="accesstoken"
  66. channeltag=""
  67. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  68. pushoveralert="off"
  69. pushovertoken="accesstoken"
  70. pushoveruserkey="userkey"
  71. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  72. rocketchatalert="off"
  73. rocketchatwebhook="webhook"
  74. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  75. slackalert="off"
  76. slackwebhook="webhook"
  77. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  78. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  79. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  80. telegramapi="api.telegram.org"
  81. telegramalert="off"
  82. telegramtoken="accesstoken"
  83. telegramchatid=""
  84. telegramthreadid=""
  85. telegramsilentnotification="false"
  86. curlcustomstring=""
  87. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  88. stoponlyifnoplayers="off"
  89. stoponlyifnoplayersallcommands="on"
  90. ## Updating | https://docs.linuxgsm.com/commands/update
  91. updateonstart="off"
  92. ## Backup | https://docs.linuxgsm.com/commands/backup
  93. maxbackups="4"
  94. maxbackupdays="30"
  95. stoponbackup="on"
  96. ## Logging | https://docs.linuxgsm.com/features/logging
  97. consolelogging="on"
  98. logdays="7"
  99. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  100. # Query delay time
  101. querydelay="1"
  102. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  103. ansi="on"
  104. #### Advanced Settings ####
  105. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  106. sleeptime="0.5"
  107. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  108. # Server appid
  109. appid="215360"
  110. steamcmdforcewindows="no"
  111. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  112. branch=""
  113. betapassword=""
  114. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  115. steammaster="true"
  116. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  117. # 1: tmux kill
  118. # 2: CTRL+c
  119. # 3: quit
  120. # 4: quit 120s
  121. # 5: stop
  122. # 6: q
  123. # 7: exit
  124. # 8: 7 Days to Die
  125. # 9: GoldSrc
  126. # 10: Avorion
  127. # 11: end
  128. stopmode="2"
  129. ## Query mode
  130. # 1: session only
  131. # 2: gamedig (gsquery fallback)
  132. # 3: gamedig
  133. # 4: gsquery
  134. # 5: tcp
  135. querymode="2"
  136. querytype="protocol-valve"
  137. ## Console type
  138. consoleverbose="yes"
  139. consoleinteract="no"
  140. ## Game Server Details
  141. # Do not edit
  142. gamename="Killing Floor"
  143. engine="unreal2"
  144. glibc="2.4"
  145. #### Directories ####
  146. # Edit with care
  147. ## Game Server Directories
  148. systemdir="${serverfiles}/System"
  149. executabledir="${systemdir}"
  150. executable="./ucc-bin"
  151. servercfgdir="${systemdir}"
  152. servercfg="${selfname}.ini"
  153. servercfgdefault="Default.ini"
  154. servercfgfullpath="${servercfgdir}/${servercfg}"
  155. compressedmapsdir="${rootdir}/Maps-Compressed"
  156. ## Backup Directory
  157. backupdir="${lgsmdir}/backup"
  158. ## Logging Directories
  159. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  160. gamelogdir="${logdir}/server"
  161. lgsmlogdir="${logdir}/script"
  162. consolelogdir="${logdir}/console"
  163. gamelog="${gamelogdir}/${selfname}-game.log"
  164. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  165. consolelog="${consolelogdir}/${selfname}-console.log"
  166. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  167. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  168. ## Logs Naming
  169. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  170. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  171. gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
  172. ## Log Parameters
  173. logtimestamp="off"
  174. logtimestampformat="%Y-%m-%d %H:%M:%S"