_default.cfg 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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. sharding="false"
  11. master="true"
  12. shard="Master"
  13. cluster="Cluster_1"
  14. cave="false"
  15. persistentstorageroot="${HOME}/.klei"
  16. confdir="DoNotStarveTogether"
  17. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  18. startparameters="-persistent_storage_root ${persistentstorageroot} -conf_dir ${confdir} -cluster ${cluster} -shard ${shard}"
  19. #### LinuxGSM Settings ####
  20. ## LinuxGSM Stats
  21. # Send useful stats to LinuxGSM developers.
  22. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  23. # (on|off)
  24. stats="off"
  25. ## Notification Alerts
  26. # (on|off)
  27. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  28. displayip=""
  29. # More info | https://docs.linuxgsm.com/alerts#more-info
  30. postalert="off"
  31. # Alert on Start/Stop/Restart
  32. statusalert="off"
  33. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  34. discordalert="off"
  35. discordwebhook="webhook"
  36. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  37. emailalert="off"
  38. email="email@example.com"
  39. emailfrom=""
  40. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  41. gotifyalert="off"
  42. gotifytoken="token"
  43. gotifywebhook="webhook"
  44. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  45. iftttalert="off"
  46. ifttttoken="accesstoken"
  47. iftttevent="linuxgsm_alert"
  48. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  49. pushbulletalert="off"
  50. pushbullettoken="accesstoken"
  51. channeltag=""
  52. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  53. pushoveralert="off"
  54. pushovertoken="accesstoken"
  55. pushoveruserkey="userkey"
  56. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  57. rocketchatalert="off"
  58. rocketchatwebhook="webhook"
  59. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  60. slackalert="off"
  61. slackwebhook="webhook"
  62. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  63. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  64. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
  65. telegramapi="api.telegram.org"
  66. telegramalert="off"
  67. telegramtoken="accesstoken"
  68. telegramchatid=""
  69. curlcustomstring=""
  70. ## Updating | https://docs.linuxgsm.com/commands/update
  71. updateonstart="off"
  72. ## Backup | https://docs.linuxgsm.com/commands/backup
  73. maxbackups="4"
  74. maxbackupdays="30"
  75. stoponbackup="on"
  76. ## Logging | https://docs.linuxgsm.com/features/logging
  77. consolelogging="on"
  78. logdays="7"
  79. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  80. # Query delay time
  81. querydelay="1"
  82. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  83. ansi="on"
  84. #### Advanced Settings ####
  85. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  86. sleeptime="0.5"
  87. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  88. # Server appid
  89. appid="343050"
  90. steamcmdforcewindows="no"
  91. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  92. branch=""
  93. betapassword=""
  94. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  95. steammaster="false"
  96. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  97. # 1: tmux kill
  98. # 2: CTRL+c
  99. # 3: quit
  100. # 4: quit 120s
  101. # 5: stop
  102. # 6: q
  103. # 7: exit
  104. # 8: 7 Days to Die
  105. # 9: GoldSrc
  106. # 10: Avorion
  107. # 11: end
  108. stopmode="2"
  109. ## Query mode
  110. # 1: session only
  111. # 2: gamedig (gsquery fallback)
  112. # 3: gamedig
  113. # 4: gsquery
  114. # 5: tcp
  115. querymode="1"
  116. querytype=""
  117. ## Console type
  118. consoleverbose="yes"
  119. consoleinteract="yes"
  120. ## Game Server Details
  121. # Do not edit
  122. gamename="Don't Starve Together"
  123. engine="dontstarve"
  124. glibc="2.15"
  125. #### Directories ####
  126. # Edit with care
  127. ## Game Server Directories
  128. systemdir="${serverfiles}"
  129. executabledir="${serverfiles}/bin"
  130. executable="./dontstarve_dedicated_server_nullrenderer"
  131. clustercfgdir="${persistentstorageroot}/${confdir}/${cluster}"
  132. clustercfg="cluster.ini"
  133. clustercfgdefault="cluster.ini"
  134. clustercfgfullpath="${clustercfgdir}/${clustercfg}"
  135. servercfgdir="${clustercfgdir}/${shard}"
  136. servercfg="server.ini"
  137. servercfgdefault="server.ini"
  138. servercfgfullpath="${servercfgdir}/${servercfg}"
  139. ## Backup Directory
  140. backupdir="${lgsmdir}/backup"
  141. ## Logging Directories
  142. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  143. gamelogdir="${systemdir}/logs"
  144. lgsmlogdir="${logdir}/script"
  145. consolelogdir="${logdir}/console"
  146. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  147. consolelog="${consolelogdir}/${selfname}-console.log"
  148. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  149. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  150. ## Logs Naming
  151. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  152. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  153. ## Log Parameters
  154. logtimestamp="off"
  155. logtimestampformat="%Y-%m-%d %H:%M:%S"