_default.cfg 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  10. fn_parms(){
  11. parms="+hostServer 1 +dedicated 1"
  12. }
  13. #### LinuxGSM Settings ####
  14. ## Notification Alerts
  15. # (on|off)
  16. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  17. emailalert="off"
  18. email="email@example.com"
  19. emailfrom=""
  20. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  21. pushbulletalert="off"
  22. pushbullettoken="accesstoken"
  23. channeltag=""
  24. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  25. updateonstart="off"
  26. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  27. maxbackups="4"
  28. maxbackupdays="30"
  29. stoponbackup="on"
  30. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  31. consolelogging="on"
  32. logdays="7"
  33. #### LinuxGSM Advanced Settings ####
  34. ## LinuxGSM Server Details
  35. # Do not edit
  36. gamename="Battlefield: 1942"
  37. engine="refractor"
  38. ## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers
  39. servicename="bf1942-server"
  40. #### Directories ####
  41. # Edit with care
  42. ## Server Specific Directories
  43. systemdir="${serverfiles}"
  44. executabledir="${systemdir}"
  45. executable="./start.sh"
  46. servercfg="serversettings.con"
  47. servercfgdefault="serversettings.con"
  48. servercfgdir="${systemdir}/mods/bf1942/settings"
  49. servercfgfullpath="${servercfgdir}/${servercfg}"
  50. ## Backup Directory
  51. backupdir="${rootdir}/backups"
  52. ## Logging Directories
  53. logdir="${rootdir}/log"
  54. gamelogdir="${serverfiles}/Logs"
  55. lgsmlogdir="${logdir}/script"
  56. consolelogdir="${logdir}/console"
  57. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  58. consolelog="${consolelogdir}/${servicename}-console.log"
  59. emaillog="${lgsmlogdir}/${servicename}-email.log"
  60. ## Logs Naming
  61. lgsmlogdate="${scriptlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  62. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"