_default.cfg 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. ##################################
  2. ######## Default Settings ########
  3. ##################################
  4. # DO NOT EDIT 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. #### 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. ## Notification Alerts
  33. # (on|off)
  34. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  35. displayip=""
  36. # More info | https://docs.linuxgsm.com/alerts#more-info
  37. postalert="off"
  38. postdays="7"
  39. posttarget="https://hastebin.com"
  40. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  41. discordalert="off"
  42. discordwebhook="webhook"
  43. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  44. emailalert="off"
  45. email="email@example.com"
  46. emailfrom=""
  47. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  48. iftttalert="off"
  49. ifttttoken="accesstoken"
  50. iftttevent="linuxgsm_alert"
  51. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  52. mailgunalert="off"
  53. mailguntoken="accesstoken"
  54. mailgundomain="example.com"
  55. mailgunemailfrom="alert@example.com"
  56. mailgunemail="email@myemail.com"
  57. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  58. pushbulletalert="off"
  59. pushbullettoken="accesstoken"
  60. channeltag=""
  61. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  62. pushoveralert="off"
  63. pushovertoken="accesstoken"
  64. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  65. slackalert="off"
  66. slackwebhook="webhook"
  67. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  68. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  69. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  70. # any custom string in curl - simple ignore this parameter.
  71. telegramalert="off"
  72. telegramtoken="accesstoken"
  73. telegramchatid=""
  74. curlcustomstring=""
  75. ## Updating | https://docs.linuxgsm.com/commands/update
  76. updateonstart="off"
  77. ## Backup | https://docs.linuxgsm.com/commands/backup
  78. maxbackups="4"
  79. maxbackupdays="30"
  80. stoponbackup="on"
  81. ## Logging | https://docs.linuxgsm.com/features/logging
  82. consolelogging="on"
  83. logdays="7"
  84. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  85. # Query delay time
  86. querydelay="5"
  87. #### LinuxGSM Advanced Settings ####
  88. # ANSI Colors
  89. ansi="on"
  90. # Message Display Time
  91. sleeptime="0.5"
  92. ## SteamCMD Settings
  93. # Server appid
  94. appid="233780"
  95. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  96. branch=""
  97. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  98. steammaster="false"
  99. # Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
  100. # 1: tmux kill
  101. # 2: CTRL+c
  102. # 3: quit
  103. # 4: quit 120s
  104. # 5: stop
  105. # 6: q
  106. # 7: exit
  107. # 8: 7 Days to Die
  108. # 9: Gold Source
  109. # 10: Teamspeak 3
  110. stopmode="2"
  111. ## LinuxGSM Server Details
  112. # Do not edit
  113. gamename="ARMA 3"
  114. engine="realvirtuality"
  115. glibc="2.13"
  116. #### Directories ####
  117. # Edit with care
  118. ## Server Specific Directories
  119. systemdir="${serverfiles}"
  120. executabledir="${serverfiles}"
  121. executable="./arma3server"
  122. servercfg="${servicename}.server.cfg"
  123. networkcfg="${servicename}.network.cfg"
  124. servercfgdefault="server.cfg"
  125. networkcfgdefault="network.cfg"
  126. servercfgdir="${systemdir}/cfg"
  127. servercfgfullpath="${servercfgdir}/${servercfg}"
  128. networkcfgfullpath="${servercfgdir}/${networkcfg}"
  129. ## Backup Directory
  130. backupdir="${lgsmdir}/backup"
  131. ## Logging Directories
  132. logdir="${rootdir}/log"
  133. lgsmlogdir="${logdir}/script"
  134. consolelogdir="${logdir}/console"
  135. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  136. consolelog="${consolelogdir}/${servicename}-console.log"
  137. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  138. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  139. ## Logs Naming
  140. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  141. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"