_default.cfg 5.5 KB

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