_default.cfg 5.6 KB

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