_default.cfg 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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="embassy_coop checkpoint"
  15. maxplayers="32"
  16. tickrate="64"
  17. ## Game Server Login Token (GSLT): Optional
  18. # GSLT can be used for running a public server.
  19. # More info: https://docs.linuxgsm.com/steamcmd/gslt
  20. gslt=""
  21. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  22. startparameters="-game insurgency -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers} -workshop -norestart"
  23. #### LinuxGSM Settings ####
  24. ## LinuxGSM Stats
  25. # Send useful stats to LinuxGSM developers.
  26. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  27. # (on|off)
  28. stats="off"
  29. ## Notification Alerts
  30. # (on|off)
  31. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  32. displayip=""
  33. # More info | https://docs.linuxgsm.com/alerts#more-info
  34. postalert="off"
  35. # Alert on Start/Stop/Restart
  36. statusalert="off"
  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. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  62. pushbulletalert="off"
  63. pushbullettoken="accesstoken"
  64. channeltag=""
  65. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  66. pushoveralert="off"
  67. pushovertoken="accesstoken"
  68. pushoveruserkey="userkey"
  69. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  70. rocketchatalert="off"
  71. rocketchatwebhook="webhook"
  72. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  73. slackalert="off"
  74. slackwebhook="webhook"
  75. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  76. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  77. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  78. telegramapi="api.telegram.org"
  79. telegramalert="off"
  80. telegramtoken="accesstoken"
  81. telegramchatid=""
  82. telegramthreadid=""
  83. telegramsilentnotification="false"
  84. curlcustomstring=""
  85. ## Updating | https://docs.linuxgsm.com/commands/update
  86. updateonstart="off"
  87. ## Backup | https://docs.linuxgsm.com/commands/backup
  88. maxbackups="4"
  89. maxbackupdays="30"
  90. stoponbackup="on"
  91. ## Logging | https://docs.linuxgsm.com/features/logging
  92. consolelogging="on"
  93. logdays="7"
  94. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  95. # Query delay time
  96. querydelay="1"
  97. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  98. ansi="on"
  99. #### Advanced Settings ####
  100. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  101. sleeptime="0.5"
  102. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  103. # Server appid
  104. appid="237410"
  105. steamcmdforcewindows="no"
  106. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  107. branch=""
  108. betapassword=""
  109. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  110. steammaster="false"
  111. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  112. # 1: tmux kill
  113. # 2: CTRL+c
  114. # 3: quit
  115. # 4: quit 120s
  116. # 5: stop
  117. # 6: q
  118. # 7: exit
  119. # 8: 7 Days to Die
  120. # 9: GoldSrc
  121. # 10: Avorion
  122. # 11: end
  123. stopmode="3"
  124. ## Query mode
  125. # 1: session only
  126. # 2: gamedig (gsquery fallback)
  127. # 3: gamedig
  128. # 4: gsquery
  129. # 5: tcp
  130. querymode="2"
  131. querytype="protocol-valve"
  132. ## Console type
  133. consoleverbose="yes"
  134. consoleinteract="yes"
  135. ## Game Server Details
  136. # Do not edit
  137. gamename="Insurgency"
  138. engine="source"
  139. glibc="2.15"
  140. #### Directories ####
  141. # Edit with care
  142. ## Game Server Directories
  143. systemdir="${serverfiles}/insurgency"
  144. executabledir="${serverfiles}"
  145. executable="./srcds_run"
  146. servercfgdir="${systemdir}/cfg"
  147. servercfg="${selfname}.cfg"
  148. servercfgdefault="server.cfg"
  149. servercfgfullpath="${servercfgdir}/${servercfg}"
  150. ## Backup Directory
  151. backupdir="${lgsmdir}/backup"
  152. ## Logging Directories
  153. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  154. gamelogdir="${systemdir}/logs"
  155. lgsmlogdir="${logdir}/script"
  156. consolelogdir="${logdir}/console"
  157. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  158. consolelog="${consolelogdir}/${selfname}-console.log"
  159. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  160. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  161. ## Logs Naming
  162. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  163. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  164. ## Log Parameters
  165. logtimestamp="off"
  166. logtimestampformat="%Y-%m-%d %H:%M:%S"