_default.cfg 5.7 KB

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