_default.cfg 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  42. discordalert="off"
  43. discordwebhook="webhook"
  44. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  45. emailalert="off"
  46. email="email@example.com"
  47. emailfrom=""
  48. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  49. gotifyalert="off"
  50. gotifytoken="token"
  51. gotifywebhook="webhook"
  52. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  53. iftttalert="off"
  54. ifttttoken="accesstoken"
  55. iftttevent="linuxgsm_alert"
  56. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  57. mailgunalert="off"
  58. mailgunapiregion="us"
  59. mailguntoken="accesstoken"
  60. mailgundomain="example.com"
  61. mailgunemailfrom="alert@example.com"
  62. mailgunemail="email@myemail.com"
  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. rocketchattoken=""
  75. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  76. slackalert="off"
  77. slackwebhook="webhook"
  78. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  79. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  80. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
  81. telegramapi="api.telegram.org"
  82. telegramalert="off"
  83. telegramtoken="accesstoken"
  84. telegramchatid=""
  85. curlcustomstring=""
  86. ## Updating | https://docs.linuxgsm.com/commands/update
  87. updateonstart="off"
  88. ## Backup | https://docs.linuxgsm.com/commands/backup
  89. maxbackups="4"
  90. maxbackupdays="30"
  91. stoponbackup="on"
  92. ## Logging | https://docs.linuxgsm.com/features/logging
  93. consolelogging="on"
  94. logdays="7"
  95. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  96. # Query delay time
  97. querydelay="5"
  98. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  99. ansi="on"
  100. #### Advanced Settings ####
  101. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  102. sleeptime="0.5"
  103. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  104. # Server appid
  105. appid="233780"
  106. steamcmdforcewindows="no"
  107. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  108. branch=""
  109. betapassword=""
  110. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  111. steammaster="false"
  112. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  113. # 1: tmux kill
  114. # 2: CTRL+c
  115. # 3: quit
  116. # 4: quit 120s
  117. # 5: stop
  118. # 6: q
  119. # 7: exit
  120. # 8: 7 Days to Die
  121. # 9: GoldSrc
  122. # 10: Avorion
  123. # 11: end
  124. stopmode="2"
  125. ## Query mode
  126. # 1: session only
  127. # 2: gamedig (gsquery fallback)
  128. # 3: gamedig
  129. # 4: gsquery
  130. # 5: tcp
  131. querymode="2"
  132. querytype="protocol-valve"
  133. ## Console type
  134. consoleverbose="yes"
  135. consoleinteract="no"
  136. ## Game Server Details
  137. # Do not edit
  138. gamename="ARMA 3"
  139. engine="realvirtuality"
  140. glibc="2.27"
  141. #### Directories ####
  142. # Edit with care
  143. ## Game Server Directories
  144. systemdir="${serverfiles}"
  145. executabledir="${serverfiles}"
  146. executable="./arma3server_x64"
  147. servercfgdir="${systemdir}/cfg"
  148. servercfg="${selfname}.server.cfg"
  149. servercfgdefault="server.cfg"
  150. servercfgfullpath="${servercfgdir}/${servercfg}"
  151. networkcfgdir="${systemdir}/cfg"
  152. networkcfg="${selfname}.network.cfg"
  153. networkcfgdefault="network.cfg"
  154. networkcfgfullpath="${networkcfgdir}/${networkcfg}"
  155. ## Backup Directory
  156. backupdir="${lgsmdir}/backup"
  157. ## Logging Directories
  158. logdir="${rootdir}/log"
  159. lgsmlogdir="${logdir}/script"
  160. consolelogdir="${logdir}/console"
  161. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  162. consolelog="${consolelogdir}/${selfname}-console.log"
  163. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  164. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  165. ## Logs Naming
  166. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  167. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  168. ## Log Parameters
  169. logtimestamp="off"
  170. logtimestampformat="%Y-%m-%d %H:%M:%S"