_default.cfg 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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://github.com/GameServerManagers/LinuxGSM/wiki/SteamCMD#steamcmd-login
  10. steamuser="username"
  11. steampass='password'
  12. ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/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://github.com/GameServerManagers/LinuxGSM/wiki/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. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  35. postalert="off"
  36. postdays="7"
  37. posttarget="https://hastebin.com"
  38. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  39. discordalert="off"
  40. discordwebhook="webhook"
  41. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  42. emailalert="off"
  43. email="email@example.com"
  44. emailfrom=""
  45. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  46. iftttalert="off"
  47. ifttttoken="accesstoken"
  48. iftttevent="linuxgsm_alert"
  49. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  50. mailgunalert="off"
  51. mailguntoken="accesstoken"
  52. mailgundomain="example.com"
  53. mailgunemailfrom="alert@example.com"
  54. mailgunemail="email@myemail.com"
  55. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  56. pushbulletalert="off"
  57. pushbullettoken="accesstoken"
  58. channeltag=""
  59. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  60. pushoveralert="off"
  61. pushovertoken="accesstoken"
  62. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  63. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  64. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  65. # any custom string in curl - simple ignore this parameter.
  66. telegramalert="off"
  67. telegramtoken="accesstoken"
  68. telegramchatid=""
  69. curlcustomstring=""
  70. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  71. updateonstart="off"
  72. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  73. maxbackups="4"
  74. maxbackupdays="30"
  75. stoponbackup="on"
  76. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  77. consolelogging="on"
  78. logdays="7"
  79. #### LinuxGSM Advanced Settings ####
  80. # ANSI Colors
  81. ansi="on"
  82. ## SteamCMD Settings
  83. # Server appid
  84. appid="233780"
  85. # Steam App Branch Select
  86. # Allows to opt into the various Steam app branches. Default branch is "".
  87. # Example: "-beta latest_experimental"
  88. branch=""
  89. ## LinuxGSM Server Details
  90. # Do not edit
  91. gamename="ARMA 3"
  92. engine="realvirtuality"
  93. #### Directories ####
  94. # Edit with care
  95. ## Server Specific Directories
  96. systemdir="${serverfiles}"
  97. executabledir="${serverfiles}"
  98. executable="./arma3server"
  99. servercfg="${servicename}.server.cfg"
  100. networkcfg="${servicename}.network.cfg"
  101. servercfgdefault="server.cfg"
  102. networkcfgdefault="network.cfg"
  103. servercfgdir="${systemdir}/cfg"
  104. servercfgfullpath="${servercfgdir}/${servercfg}"
  105. networkcfgfullpath="${servercfgdir}/${networkcfg}"
  106. ## Backup Directory
  107. backupdir="${lgsmdir}/backup"
  108. ## Logging Directories
  109. logdir="${rootdir}/log"
  110. lgsmlogdir="${logdir}/script"
  111. consolelogdir="${logdir}/console"
  112. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  113. consolelog="${consolelogdir}/${servicename}-console.log"
  114. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  115. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  116. ## Logs Naming
  117. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  118. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"