_default.cfg 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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="de_dust2"
  15. maxplayers="16"
  16. ## Game Server Login Token (GSLT): Required
  17. # GSLT is required for running a public server.
  18. # More info: https://docs.linuxgsm.com/steamcmd/gslt
  19. gslt=""
  20. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  21. startparameters="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
  22. #### LinuxGSM Settings ####
  23. ## LinuxGSM Stats
  24. # Send useful stats to LinuxGSM developers.
  25. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  26. # (on|off)
  27. stats="off"
  28. ## Notification Alerts
  29. # (on|off)
  30. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  31. displayip=""
  32. # More info | https://docs.linuxgsm.com/alerts#more-info
  33. postalert="off"
  34. # Alert on Start/Stop/Restart
  35. statusalert="off"
  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. # 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="232330"
  104. steamcmdforcewindows="no"
  105. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  106. branch=""
  107. betapassword=""
  108. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  109. steammaster="true"
  110. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  111. # 1: tmux kill
  112. # 2: CTRL+c
  113. # 3: quit
  114. # 4: quit 120s
  115. # 5: stop
  116. # 6: q
  117. # 7: exit
  118. # 8: 7 Days to Die
  119. # 9: GoldSrc
  120. # 10: Avorion
  121. # 11: end
  122. stopmode="3"
  123. ## Query mode
  124. # 1: session only
  125. # 2: gamedig (gsquery fallback)
  126. # 3: gamedig
  127. # 4: gsquery
  128. # 5: tcp
  129. querymode="2"
  130. querytype="protocol-valve"
  131. ## Console type
  132. consoleverbose="yes"
  133. consoleinteract="yes"
  134. ## Game Server Details
  135. # Do not edit
  136. gamename="Counter-Strike: Source"
  137. engine="source"
  138. glibc="2.3.6"
  139. #### Directories ####
  140. # Edit with care
  141. ## Game Server Directories
  142. systemdir="${serverfiles}/cstrike"
  143. executabledir="${serverfiles}"
  144. executable="./srcds_run"
  145. servercfgdir="${systemdir}/cfg"
  146. servercfg="${selfname}.cfg"
  147. servercfgdefault="server.cfg"
  148. servercfgfullpath="${servercfgdir}/${servercfg}"
  149. ## Backup Directory
  150. backupdir="${lgsmdir}/backup"
  151. ## Logging Directories
  152. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  153. gamelogdir="${systemdir}/logs"
  154. lgsmlogdir="${logdir}/script"
  155. consolelogdir="${logdir}/console"
  156. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  157. consolelog="${consolelogdir}/${selfname}-console.log"
  158. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  159. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  160. ## Logs Naming
  161. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  162. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  163. ## Log Parameters
  164. logtimestamp="off"
  165. logtimestampformat="%Y-%m-%d %H:%M:%S"