_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. ## 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. #### 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. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  64. pushbulletalert="off"
  65. pushbullettoken="accesstoken"
  66. channeltag=""
  67. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  68. pushoveralert="off"
  69. pushovertoken="accesstoken"
  70. pushoveruserkey="userkey"
  71. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  72. rocketchatalert="off"
  73. rocketchatwebhook="webhook"
  74. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  75. slackalert="off"
  76. slackwebhook="webhook"
  77. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  78. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  79. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  80. telegramapi="api.telegram.org"
  81. telegramalert="off"
  82. telegramtoken="accesstoken"
  83. telegramchatid=""
  84. telegramthreadid=""
  85. telegramsilentnotification="false"
  86. curlcustomstring=""
  87. ## Updating | https://docs.linuxgsm.com/commands/update
  88. updateonstart="off"
  89. ## Backup | https://docs.linuxgsm.com/commands/backup
  90. maxbackups="4"
  91. maxbackupdays="30"
  92. stoponbackup="on"
  93. ## Logging | https://docs.linuxgsm.com/features/logging
  94. consolelogging="on"
  95. logdays="7"
  96. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  97. # Query delay time
  98. querydelay="1"
  99. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  100. ansi="on"
  101. #### Advanced Settings ####
  102. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  103. sleeptime="0.5"
  104. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  105. # Server appid
  106. appid="228780"
  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="Blade Symphony"
  140. engine="source"
  141. glibc="2.15"
  142. #### Directories ####
  143. # Edit with care
  144. ## Game Server Directories
  145. systemdir="${serverfiles}/berimbau"
  146. executabledir="${serverfiles}/bin"
  147. executable="./srcds_run.sh"
  148. servercfgdir="${systemdir}/cfg"
  149. servercfg="${selfname}.cfg"
  150. servercfgdefault="server.cfg"
  151. servercfgfullpath="${servercfgdir}/${servercfg}"
  152. ## Backup Directory
  153. backupdir="${lgsmdir}/backup"
  154. ## Logging Directories
  155. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  156. gamelogdir="${systemdir}/logs"
  157. lgsmlogdir="${logdir}/script"
  158. consolelogdir="${logdir}/console"
  159. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  160. consolelog="${consolelogdir}/${selfname}-console.log"
  161. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  162. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  163. ## Logs Naming
  164. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  165. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  166. ## Log Parameters
  167. logtimestamp="off"
  168. logtimestampformat="%Y-%m-%d %H:%M:%S"