_default.cfg 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #### Server Settings ####
  2. ## SteamCMD Login | https://github.com/GameServerManagers/LinuxGSM/wiki/SteamCMD#steamcmd-login
  3. steamuser="username"
  4. steampass='password'
  5. ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
  6. ip="0.0.0.0"
  7. port="2302"
  8. ## ARMA 3 Modules
  9. # Add mods with relative paths:
  10. # mods/@cba_a3
  11. # To load the "Community Base Addons v3" module found in the
  12. # directory serverfiles/mods/@cba_a3. Load several mods as:
  13. # mods="mods/@ace\;mods/@acex\;mods/@cba_a3"
  14. mods=""
  15. ## Server-side Mods
  16. servermods=""
  17. ## Path to BattlEye
  18. # Leave empty for default
  19. bepath=""
  20. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  21. fn_parms(){
  22. parms="-netlog -ip=${ip} -port=${port} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods} -servermod=${servermods} -bepath=${bepath} -autoinit -loadmissiontomemory"
  23. }
  24. #### LinuxGSM Settings ####
  25. ## Notification Alerts
  26. # (on|off)
  27. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  28. emailalert="off"
  29. email="email@example.com"
  30. emailfrom=""
  31. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  32. pushbulletalert="off"
  33. pushbullettoken="accesstoken"
  34. channeltag=""
  35. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  36. updateonstart="off"
  37. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  38. maxbackups="4"
  39. maxbackupdays="30"
  40. stoponbackup="on"
  41. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  42. consolelogging="on"
  43. logdays="7"
  44. #### LinuxGSM Advanced Settings ####
  45. ## SteamCMD Settings
  46. # Server appid
  47. appid="233780"
  48. # Steam App Branch Select
  49. # Allows to opt into the various Steam app branches. Default branch is "".
  50. # Example: "-beta latest_experimental"
  51. branch=""
  52. ## LinuxGSM Server Details
  53. # Do not edit
  54. gamename="ARMA 3"
  55. engine="realvirtuality"
  56. #### Directories ####
  57. # Edit with care
  58. ## Server Specific Directories
  59. systemdir="${serverfiles}"
  60. executabledir="${serverfiles}"
  61. executable="./arma3server"
  62. servercfg="${servicename}.server.cfg"
  63. networkcfg="${servicename}.network.cfg"
  64. servercfgdefault="server.cfg"
  65. networkcfgdefault="network.cfg"
  66. servercfgdir="${systemdir}/cfg"
  67. servercfgfullpath="${servercfgdir}/${servercfg}"
  68. networkcfgfullpath="${servercfgdir}/${networkcfg}"
  69. ## Backup Directory
  70. backupdir="${lgsmdir}/backup"
  71. ## Logging Directories
  72. #gamelogdir="" # No server logs available
  73. scriptlogdir="${logdir}/script"
  74. consolelogdir="${logdir}/console"
  75. scriptlog="${scriptlogdir}/${servicename}-script.log"
  76. consolelog="${consolelogdir}/${servicename}-console.log"
  77. emaillog="${scriptlogdir}/${servicename}-email.log"
  78. ## Logs Naming
  79. scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  80. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"