_default.cfg 4.8 KB

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