_default.cfg 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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. telegramalert="off"
  64. telegramtoken="accesstoken"
  65. telegramchatid=""
  66. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  67. updateonstart="off"
  68. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  69. maxbackups="4"
  70. maxbackupdays="30"
  71. stoponbackup="on"
  72. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  73. consolelogging="on"
  74. logdays="7"
  75. #### LinuxGSM Advanced Settings ####
  76. ## SteamCMD Settings
  77. # Server appid
  78. appid="233780"
  79. # Steam App Branch Select
  80. # Allows to opt into the various Steam app branches. Default branch is "".
  81. # Example: "-beta latest_experimental"
  82. branch=""
  83. ## LinuxGSM Server Details
  84. # Do not edit
  85. gamename="ARMA 3"
  86. engine="realvirtuality"
  87. #### Directories ####
  88. # Edit with care
  89. ## Server Specific Directories
  90. systemdir="${serverfiles}"
  91. executabledir="${serverfiles}"
  92. executable="./arma3server"
  93. servercfg="${servicename}.server.cfg"
  94. networkcfg="${servicename}.network.cfg"
  95. servercfgdefault="server.cfg"
  96. networkcfgdefault="network.cfg"
  97. servercfgdir="${systemdir}/cfg"
  98. servercfgfullpath="${servercfgdir}/${servercfg}"
  99. networkcfgfullpath="${servercfgdir}/${networkcfg}"
  100. ## Backup Directory
  101. backupdir="${lgsmdir}/backup"
  102. ## Logging Directories
  103. logdir="${rootdir}/log"
  104. lgsmlogdir="${logdir}/script"
  105. consolelogdir="${logdir}/console"
  106. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  107. consolelog="${consolelogdir}/${servicename}-console.log"
  108. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  109. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  110. ## Logs Naming
  111. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  112. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"