_default.cfg 6.4 KB

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