_default.cfg 4.8 KB

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