_default.cfg 4.9 KB

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