_default.cfg 5.1 KB

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