_default.cfg 5.9 KB

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