_default.cfg 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  65. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  66. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  67. # any custom string in curl - simple ignore this parameter.
  68. telegramalert="off"
  69. telegramtoken="accesstoken"
  70. telegramchatid=""
  71. curlcustomstring=""
  72. ## Updating | https://docs.linuxgsm.com/commands/update
  73. updateonstart="off"
  74. ## Backup | https://docs.linuxgsm.com/commands/backup
  75. maxbackups="4"
  76. maxbackupdays="30"
  77. stoponbackup="on"
  78. ## Logging | https://docs.linuxgsm.com/features/logging
  79. consolelogging="on"
  80. logdays="7"
  81. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  82. # Query delay time
  83. querydelay="5"
  84. #### LinuxGSM Advanced Settings ####
  85. # ANSI Colors
  86. ansi="on"
  87. # Message Display Time
  88. sleeptime="0.5"
  89. ## SteamCMD Settings
  90. # Server appid
  91. appid="233780"
  92. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  93. branch=""
  94. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  95. steammaster="false"
  96. ## LinuxGSM Server Details
  97. # Do not edit
  98. gamename="ARMA 3"
  99. engine="realvirtuality"
  100. glibc="2.13"
  101. #### Directories ####
  102. # Edit with care
  103. ## Server Specific Directories
  104. systemdir="${serverfiles}"
  105. executabledir="${serverfiles}"
  106. executable="./arma3server"
  107. servercfg="${servicename}.server.cfg"
  108. networkcfg="${servicename}.network.cfg"
  109. servercfgdefault="server.cfg"
  110. networkcfgdefault="network.cfg"
  111. servercfgdir="${systemdir}/cfg"
  112. servercfgfullpath="${servercfgdir}/${servercfg}"
  113. networkcfgfullpath="${servercfgdir}/${networkcfg}"
  114. ## Backup Directory
  115. backupdir="${lgsmdir}/backup"
  116. ## Logging Directories
  117. logdir="${rootdir}/log"
  118. lgsmlogdir="${logdir}/script"
  119. consolelogdir="${logdir}/console"
  120. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  121. consolelog="${consolelogdir}/${servicename}-console.log"
  122. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  123. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  124. ## Logs Naming
  125. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  126. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"