_default.cfg 6.3 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. ## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login
  10. steamuser="username"
  11. steampass='password'
  12. ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
  13. ip="0.0.0.0"
  14. port="27015"
  15. clientport="27005"
  16. sourcetvport="27020"
  17. defaultmap="duel_winter"
  18. maxplayers="16"
  19. ## Game Server Login Token (GSLT): Required
  20. # GSLT is required for running a public server.
  21. # More info: https://docs.linuxgsm.com/steamcmd/gslt
  22. gslt=""
  23. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  24. startparameters="-game "${serverfiles}/berimbau" -autoupdate -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
  25. ## Extra Parameters | https://docs.linuxgsm.com/configuration/start-parameters#extra-parameters
  26. # Added to the end of startparameters.
  27. extraparams=""
  28. #### LinuxGSM Settings ####
  29. ## LinuxGSM Stats
  30. # Send useful stats to LinuxGSM developers.
  31. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  32. # (on|off)
  33. stats="off"
  34. ## Notification Alerts
  35. # (on|off)
  36. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  37. displayip=""
  38. # More info | https://docs.linuxgsm.com/alerts#more-info
  39. postalert="off"
  40. # Alert on Start/Stop/Restart
  41. statusalert="off"
  42. # Minutes to wait between repeated monitor alerts, 0 sends every alert
  43. alertcooldown="0"
  44. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  45. discordalert="off"
  46. discordwebhook="webhook"
  47. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  48. emailalert="off"
  49. email="email@example.com"
  50. emailfrom=""
  51. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  52. gotifyalert="off"
  53. gotifytoken="token"
  54. gotifywebhook="webhook"
  55. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  56. iftttalert="off"
  57. ifttttoken="accesstoken"
  58. iftttevent="linuxgsm_alert"
  59. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  60. ntfyalert="off"
  61. ntfytopic="LinuxGSM"
  62. ntfyserver="https://ntfy.sh"
  63. ntfytoken=""
  64. ntfyusername=""
  65. ntfypassword=""
  66. ntfypriority=""
  67. ntfytags=""
  68. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  69. matrixalert="off"
  70. matrixhomeserver="matrix.org"
  71. matrixtoken="accesstoken"
  72. matrixroom=""
  73. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  74. pushbulletalert="off"
  75. pushbullettoken="accesstoken"
  76. channeltag=""
  77. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  78. pushoveralert="off"
  79. pushovertoken="accesstoken"
  80. pushoveruserkey="userkey"
  81. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  82. rocketchatalert="off"
  83. rocketchatwebhook="webhook"
  84. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  85. slackalert="off"
  86. slackwebhook="webhook"
  87. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  88. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  89. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  90. telegramapi="api.telegram.org"
  91. telegramalert="off"
  92. telegramtoken="accesstoken"
  93. telegramchatid=""
  94. telegramthreadid=""
  95. telegramsilentnotification="false"
  96. curlcustomstring=""
  97. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  98. stoponlyifnoplayers="off"
  99. stoponlyifnoplayersallcommands="on"
  100. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  101. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  102. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  103. warnplayerstimer="0"
  104. ## Updating | https://docs.linuxgsm.com/commands/update
  105. updateonstart="off"
  106. ## Backup | https://docs.linuxgsm.com/commands/backup
  107. maxbackups="4"
  108. maxbackupdays="30"
  109. stoponbackup="on"
  110. ## Fastdl | https://docs.linuxgsm.com/commands/fastdl
  111. # Paths to leave out of Fastdl, relative to the Fastdl directory and separated by spaces.
  112. # e.g. "maps/workshop/ sound/music/"
  113. fastdlexclude="maps/workshop/"
  114. ## Logging | https://docs.linuxgsm.com/features/logging
  115. consolelogging="on"
  116. logdays="7"
  117. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  118. # Query delay time
  119. querydelay="1"
  120. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  121. ansi="on"
  122. #### Advanced Settings ####
  123. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  124. sleeptime="0.5"
  125. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  126. # Server appid
  127. appid="228780"
  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="Blade Symphony"
  161. engine="source"
  162. glibc="2.15"
  163. #### Directories ####
  164. # Edit with care
  165. ## Game Server Directories
  166. systemdir="${serverfiles}/berimbau"
  167. executabledir="${serverfiles}/bin"
  168. executable="./srcds_run.sh"
  169. servercfgdir="${systemdir}/cfg"
  170. servercfg="${selfname}.cfg"
  171. servercfgdefault="server.cfg"
  172. servercfgfullpath="${servercfgdir}/${servercfg}"
  173. ## Backup Directory
  174. backupdir="${lgsmdir}/backup"
  175. ## Logging Directories
  176. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  177. gamelogdir="${systemdir}/logs"
  178. lgsmlogdir="${logdir}/script"
  179. consolelogdir="${logdir}/console"
  180. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  181. consolelog="${consolelogdir}/${selfname}-console.log"
  182. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  183. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  184. ## Logs Naming
  185. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  186. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  187. ## Log Parameters
  188. logtimestamp="off"
  189. logtimestampformat="%Y-%m-%d %H:%M:%S"