_default.cfg 6.0 KB

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