_default.cfg 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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="2302"
  15. ## ARMA 3 Modules
  16. # Add mods with relative paths:
  17. # mods/@cba_a3
  18. # To load the "Community Base Addons v3" module found in the
  19. # directory serverfiles/mods/@cba_a3. Load several mods as:
  20. # mods="mods/@ace\;mods/@acex\;mods/@cba_a3"
  21. mods=""
  22. ## Server-side Mods
  23. servermods=""
  24. ## Steam Workshop Mods | https://docs.linuxgsm.com/steamcmd/workshop
  25. # Workshop item or collection IDs, separated by spaces. Collections are expanded.
  26. # Installed to serverfiles/workshop and added to -mod= in the order listed.
  27. # Run ./arma3server workshop-update after changing, or let update apply it.
  28. # workshopmods="450814997"
  29. workshopmods=""
  30. ## Path to BattlEye
  31. # Leave empty for default
  32. bepath=""
  33. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  34. startparameters="-ip=${ip} -port=${port} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods} -servermod=${servermods} -bepath=${bepath} -autoinit -loadmissiontomemory"
  35. ## Extra Parameters | https://docs.linuxgsm.com/configuration/start-parameters#extra-parameters
  36. # Added to the end of startparameters.
  37. extraparams=""
  38. #### LinuxGSM Settings ####
  39. ## LinuxGSM Stats
  40. # Send useful stats to LinuxGSM developers.
  41. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  42. # (on|off)
  43. stats="off"
  44. ## Notification Alerts
  45. # (on|off)
  46. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  47. displayip=""
  48. # More info | https://docs.linuxgsm.com/alerts#more-info
  49. postalert="off"
  50. # Alert on Start/Stop/Restart
  51. statusalert="off"
  52. # Minutes to wait between repeated monitor alerts, 0 sends every alert
  53. alertcooldown="0"
  54. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  55. discordalert="off"
  56. discordwebhook="webhook"
  57. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  58. emailalert="off"
  59. email="email@example.com"
  60. emailfrom=""
  61. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  62. gotifyalert="off"
  63. gotifytoken="token"
  64. gotifywebhook="webhook"
  65. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  66. iftttalert="off"
  67. ifttttoken="accesstoken"
  68. iftttevent="linuxgsm_alert"
  69. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  70. ntfyalert="off"
  71. ntfytopic="LinuxGSM"
  72. ntfyserver="https://ntfy.sh"
  73. ntfytoken=""
  74. ntfyusername=""
  75. ntfypassword=""
  76. ntfypriority=""
  77. ntfytags=""
  78. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  79. matrixalert="off"
  80. matrixhomeserver="matrix.org"
  81. matrixtoken="accesstoken"
  82. matrixroom=""
  83. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  84. pushbulletalert="off"
  85. pushbullettoken="accesstoken"
  86. channeltag=""
  87. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  88. pushoveralert="off"
  89. pushovertoken="accesstoken"
  90. pushoveruserkey="userkey"
  91. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  92. rocketchatalert="off"
  93. rocketchatwebhook="webhook"
  94. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  95. slackalert="off"
  96. slackwebhook="webhook"
  97. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  98. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  99. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  100. telegramapi="api.telegram.org"
  101. telegramalert="off"
  102. telegramtoken="accesstoken"
  103. telegramchatid=""
  104. telegramthreadid=""
  105. telegramsilentnotification="false"
  106. curlcustomstring=""
  107. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  108. stoponlyifnoplayers="off"
  109. stoponlyifnoplayersallcommands="on"
  110. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  111. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  112. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  113. warnplayerstimer="0"
  114. ## Updating | https://docs.linuxgsm.com/commands/update
  115. updateonstart="off"
  116. ## Backup | https://docs.linuxgsm.com/commands/backup
  117. maxbackups="4"
  118. maxbackupdays="30"
  119. stoponbackup="on"
  120. ## Logging | https://docs.linuxgsm.com/features/logging
  121. consolelogging="on"
  122. logdays="7"
  123. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  124. # Query delay time
  125. querydelay="5"
  126. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  127. ansi="on"
  128. #### Advanced Settings ####
  129. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  130. sleeptime="0.5"
  131. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  132. # Server appid
  133. appid="233780"
  134. steamcmdforcewindows="no"
  135. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  136. branch=""
  137. betapassword=""
  138. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  139. steammaster="false"
  140. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  141. # 1: tmux kill
  142. # 2: CTRL+c
  143. # 3: quit
  144. # 4: quit 120s
  145. # 5: stop
  146. # 6: q
  147. # 7: exit
  148. # 8: 7 Days to Die
  149. # 9: GoldSrc
  150. # 10: Avorion
  151. # 11: end
  152. stopmode="2"
  153. ## Query mode
  154. # 1: session only
  155. # 2: gamedig (gsquery fallback)
  156. # 3: gamedig
  157. # 4: gsquery
  158. # 5: tcp
  159. querymode="2"
  160. querytype="protocol-valve"
  161. ## Console type
  162. consoleverbose="yes"
  163. consoleinteract="no"
  164. ## Game Server Details
  165. # Do not edit
  166. gamename="ARMA 3"
  167. engine="realvirtuality"
  168. glibc="2.27"
  169. #### Directories ####
  170. # Edit with care
  171. ## Game Server Directories
  172. systemdir="${serverfiles}"
  173. executabledir="${serverfiles}"
  174. executable="./arma3server_x64"
  175. servercfgdir="${systemdir}/cfg"
  176. servercfg="${selfname}.server.cfg"
  177. servercfgdefault="server.cfg"
  178. servercfgfullpath="${servercfgdir}/${servercfg}"
  179. networkcfgdir="${systemdir}/cfg"
  180. networkcfg="${selfname}.network.cfg"
  181. networkcfgdefault="network.cfg"
  182. networkcfgfullpath="${networkcfgdir}/${networkcfg}"
  183. ## Backup Directory
  184. backupdir="${lgsmdir}/backup"
  185. ## Logging Directories
  186. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  187. lgsmlogdir="${logdir}/script"
  188. consolelogdir="${logdir}/console"
  189. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  190. consolelog="${consolelogdir}/${selfname}-console.log"
  191. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  192. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  193. ## Logs Naming
  194. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  195. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  196. ## Log Parameters
  197. logtimestamp="off"
  198. logtimestampformat="%Y-%m-%d %H:%M:%S"