_default.cfg 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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="-netlog -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. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  35. emailalert="off"
  36. email="email@example.com"
  37. emailfrom=""
  38. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  39. pushbulletalert="off"
  40. pushbullettoken="accesstoken"
  41. channeltag=""
  42. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  43. updateonstart="off"
  44. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  45. maxbackups="4"
  46. maxbackupdays="30"
  47. stoponbackup="on"
  48. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  49. consolelogging="on"
  50. logdays="7"
  51. #### LinuxGSM Advanced Settings ####
  52. ## SteamCMD Settings
  53. # Server appid
  54. appid="233780"
  55. # Steam App Branch Select
  56. # Allows to opt into the various Steam app branches. Default branch is "".
  57. # Example: "-beta latest_experimental"
  58. branch=""
  59. ## LinuxGSM Server Details
  60. # Do not edit
  61. gamename="ARMA 3"
  62. engine="realvirtuality"
  63. #### Directories ####
  64. # Edit with care
  65. ## Server Specific Directories
  66. systemdir="${serverfiles}"
  67. executabledir="${serverfiles}"
  68. executable="./arma3server"
  69. servercfg="${servicename}.server.cfg"
  70. networkcfg="${servicename}.network.cfg"
  71. servercfgdefault="server.cfg"
  72. networkcfgdefault="network.cfg"
  73. servercfgdir="${systemdir}/cfg"
  74. servercfgfullpath="${servercfgdir}/${servercfg}"
  75. networkcfgfullpath="${servercfgdir}/${networkcfg}"
  76. ## Backup Directory
  77. backupdir="${lgsmdir}/backup"
  78. ## Logging Directories
  79. logdir="${rootdir}/log"
  80. lgsmlogdir="${logdir}/script"
  81. consolelogdir="${logdir}/console"
  82. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  83. consolelog="${consolelogdir}/${servicename}-console.log"
  84. emaillog="${lgsmlogdir}/${servicename}-email.log"
  85. ## Logs Naming
  86. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  87. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"