_default.cfg 5.0 KB

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