_default.cfg 6.4 KB

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