_default.cfg 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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. # The Steam account must own STAR WARS Battlefront (Classic, 2004).
  11. # Battlefront Eternal prepares its game data from this copy.
  12. steamuser="username"
  13. steampass='password'
  14. ## Health Port
  15. # Local health and admin endpoint. Each instance needs its own.
  16. healthport="18450"
  17. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  18. ## Game Server Docs | https://battlefronteternal.com/servers/
  19. # Server name, port, max players and playlist are set in config.json.
  20. startparameters="${serverfiles}/bfe/host-runtime/server/src/main.js --serve"
  21. ## Extra Parameters | https://docs.linuxgsm.com/configuration/start-parameters#extra-parameters
  22. # Added to the end of startparameters.
  23. extraparams=""
  24. #### LinuxGSM Settings ####
  25. ## LinuxGSM Stats
  26. # Send useful stats to LinuxGSM developers.
  27. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  28. # (on|off)
  29. stats="off"
  30. ## Notification Alerts
  31. # (on|off)
  32. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  33. displayip=""
  34. # More info | https://docs.linuxgsm.com/alerts#more-info
  35. postalert="off"
  36. # Alert on Start/Stop/Restart
  37. statusalert="off"
  38. # Minutes to wait between repeated monitor alerts, 0 sends every alert
  39. alertcooldown="0"
  40. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  41. discordalert="off"
  42. discordwebhook="webhook"
  43. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  44. emailalert="off"
  45. email="email@example.com"
  46. emailfrom=""
  47. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  48. gotifyalert="off"
  49. gotifytoken="token"
  50. gotifywebhook="webhook"
  51. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  52. iftttalert="off"
  53. ifttttoken="accesstoken"
  54. iftttevent="linuxgsm_alert"
  55. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  56. ntfyalert="off"
  57. ntfytopic="LinuxGSM"
  58. ntfyserver="https://ntfy.sh"
  59. ntfytoken=""
  60. ntfyusername=""
  61. ntfypassword=""
  62. ntfypriority=""
  63. ntfytags=""
  64. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  65. matrixalert="off"
  66. matrixhomeserver="matrix.org"
  67. matrixtoken="accesstoken"
  68. matrixroom=""
  69. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  70. pushbulletalert="off"
  71. pushbullettoken="accesstoken"
  72. channeltag=""
  73. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  74. pushoveralert="off"
  75. pushovertoken="accesstoken"
  76. pushoveruserkey="userkey"
  77. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  78. rocketchatalert="off"
  79. rocketchatwebhook="webhook"
  80. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  81. slackalert="off"
  82. slackwebhook="webhook"
  83. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  84. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  85. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  86. telegramapi="api.telegram.org"
  87. telegramalert="off"
  88. telegramtoken="accesstoken"
  89. telegramchatid=""
  90. telegramthreadid=""
  91. telegramsilentnotification="false"
  92. curlcustomstring=""
  93. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  94. stoponlyifnoplayers="off"
  95. stoponlyifnoplayersallcommands="on"
  96. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  97. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  98. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  99. warnplayerstimer="0"
  100. ## Updating | https://docs.linuxgsm.com/commands/update
  101. updateonstart="off"
  102. ## Backup | https://docs.linuxgsm.com/commands/backup
  103. maxbackups="4"
  104. maxbackupdays="30"
  105. stoponbackup="on"
  106. ## Logging | https://docs.linuxgsm.com/features/logging
  107. consolelogging="on"
  108. logdays="7"
  109. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  110. # Query delay time
  111. querydelay="5"
  112. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  113. ansi="on"
  114. #### Advanced Settings ####
  115. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  116. sleeptime="0.5"
  117. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  118. # Server appid
  119. appid="1058020"
  120. steamcmdforcewindows="yes"
  121. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  122. branch=""
  123. betapassword=""
  124. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  125. steammaster="false"
  126. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  127. # 1: tmux kill
  128. # 2: CTRL+c
  129. # 3: quit
  130. # 4: quit 120s
  131. # 5: stop
  132. # 6: q
  133. # 7: exit
  134. # 8: 7 Days to Die
  135. # 9: GoldSrc
  136. # 10: Avorion
  137. # 11: end
  138. # 12: shutdown
  139. # 13: soulmask
  140. # 14: Running With Rifles
  141. stopmode="2"
  142. ## Query mode
  143. # 1: session only
  144. # 2: gamedig (gsquery fallback)
  145. # 3: gamedig
  146. # 4: gsquery
  147. # 5: tcp
  148. querymode="5"
  149. querytype=""
  150. ## Console type
  151. consoleverbose="yes"
  152. consoleinteract="no"
  153. ## Game Server Details
  154. # Do not edit
  155. gamename="Battlefront Eternal"
  156. engine="bfe"
  157. glibc="2.28"
  158. #### Directories ####
  159. # Edit with care
  160. ## Game Server Directories
  161. systemdir="${serverfiles}"
  162. executabledir="${serverfiles}/node/bin"
  163. executable="./node"
  164. servercfgdir="${systemdir}/bfe-state"
  165. servercfg="config.json"
  166. servercfgdefault="config.json"
  167. servercfgfullpath="${servercfgdir}/${servercfg}"
  168. preexecutable="env BFE_STATE_DIR=${servercfgdir} BFE_ENGINE_DIR=${systemdir}/bfe/host-runtime/engine BFE_DATA_DIR=${systemdir}/bfe-data PORT=${healthport}"
  169. ## Backup Directory
  170. backupdir="${lgsmdir}/backup"
  171. ## Logging Directories
  172. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  173. lgsmlogdir="${logdir}/script"
  174. consolelogdir="${logdir}/console"
  175. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  176. consolelog="${consolelogdir}/${selfname}-console.log"
  177. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  178. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  179. ## Logs Naming
  180. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  181. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  182. ## Log Parameters
  183. logtimestamp="off"
  184. logtimestampformat="%Y-%m-%d %H:%M:%S"