_default.cfg 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. ## Server Start Settings | 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 Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  28. fn_parms(){
  29. parms="-ip=${ip} -port=${port} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods} -servermod=${servermods} -bepath=${bepath} -autoinit -loadmissiontomemory"
  30. }
  31. #### LinuxGSM Settings ####
  32. ## LinuxGSM Stats
  33. # Send useful stats to LinuxGSM developers.
  34. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  35. # (on|off)
  36. stats="off"
  37. ## Notification Alerts
  38. # (on|off)
  39. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  40. displayip=""
  41. # More info | https://docs.linuxgsm.com/alerts#more-info
  42. postalert="off"
  43. postdays="7"
  44. posttarget="https://termbin.com"
  45. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  46. discordalert="off"
  47. discordwebhook="webhook"
  48. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  49. emailalert="off"
  50. email="email@example.com"
  51. emailfrom=""
  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. mailguntoken="accesstoken"
  59. mailgundomain="example.com"
  60. mailgunemailfrom="alert@example.com"
  61. mailgunemail="email@myemail.com"
  62. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  63. pushbulletalert="off"
  64. pushbullettoken="accesstoken"
  65. channeltag=""
  66. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  67. pushoveralert="off"
  68. pushovertoken="accesstoken"
  69. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  70. slackalert="off"
  71. slackwebhook="webhook"
  72. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  73. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  74. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  75. # any custom string in curl - simple ignore this parameter.
  76. telegramalert="off"
  77. telegramtoken="accesstoken"
  78. telegramchatid=""
  79. curlcustomstring=""
  80. ## Updating | https://docs.linuxgsm.com/commands/update
  81. updateonstart="off"
  82. ## Backup | https://docs.linuxgsm.com/commands/backup
  83. maxbackups="4"
  84. maxbackupdays="30"
  85. stoponbackup="on"
  86. ## Logging | https://docs.linuxgsm.com/features/logging
  87. consolelogging="on"
  88. logdays="7"
  89. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  90. # Query delay time
  91. querydelay="5"
  92. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  93. ansi="on"
  94. #### Advanced Settings ####
  95. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  96. sleeptime="0.5"
  97. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  98. # Server appid
  99. appid="233780"
  100. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  101. branch=""
  102. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  103. steammaster="false"
  104. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  105. # 1: tmux kill
  106. # 2: CTRL+c
  107. # 3: quit
  108. # 4: quit 120s
  109. # 5: stop
  110. # 6: q
  111. # 7: exit
  112. # 8: 7 Days to Die
  113. # 9: GoldSrc
  114. # 10: Avorion
  115. stopmode="2"
  116. ## Query mode
  117. # 1: session only
  118. # 2: gamedig + gsquery
  119. # 3: gamedig
  120. # 4: gsquery
  121. # 5: tcp
  122. querymode="2"
  123. querytype="protocol-valve"
  124. ## Game Server Details
  125. # Do not edit
  126. gamename="ARMA 3"
  127. engine="realvirtuality"
  128. glibc="2.13"
  129. #### Directories ####
  130. # Edit with care
  131. ## Game Server Directories
  132. systemdir="${serverfiles}"
  133. executabledir="${serverfiles}"
  134. executable="./arma3server"
  135. servercfgdir="${systemdir}/cfg"
  136. servercfg="${selfname}.server.cfg"
  137. servercfgdefault="server.cfg"
  138. servercfgfullpath="${servercfgdir}/${servercfg}"
  139. networkcfgdir="${systemdir}/cfg"
  140. networkcfg="${selfname}.network.cfg"
  141. networkcfgdefault="network.cfg"
  142. networkcfgfullpath="${networkcfgdir}/${networkcfg}"
  143. ## Backup Directory
  144. backupdir="${lgsmdir}/backup"
  145. ## Logging Directories
  146. logdir="${rootdir}/log"
  147. lgsmlogdir="${logdir}/script"
  148. consolelogdir="${logdir}/console"
  149. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  150. consolelog="${consolelogdir}/${selfname}-console.log"
  151. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  152. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  153. ## Logs Naming
  154. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  155. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"