_default.cfg 5.1 KB

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