_default.cfg 5.4 KB

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