_default.cfg 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. # Notification Alerts
  10. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  11. fn_parms(){
  12. parms="--config ${servercfg}"
  13. }
  14. #### LinuxGSM Settings ####
  15. ## Notification Alerts
  16. # (on|off)
  17. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  18. emailalert="off"
  19. email="email@example.com"
  20. emailfrom=""
  21. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  22. pushbulletalert="off"
  23. pushbullettoken="accesstoken"
  24. channeltag=""
  25. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  26. updateonstart="off"
  27. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  28. maxbackups="4"
  29. maxbackupdays="30"
  30. stoponbackup="on"
  31. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  32. consolelogging="on"
  33. logdays="7"
  34. #### LinuxGSM Advanced Settings ####
  35. ## SteamCMD Settings
  36. # Server appid
  37. appid="332670"
  38. # Steam App Branch Select
  39. # Allows to opt into the various Steam app branches. Default branch is "".
  40. # Example: "-beta latest_experimental"
  41. branch=""
  42. ## LinuxGSM Server Details
  43. # Do not edit
  44. gamename="Project Cars"
  45. engine="madness"
  46. #### Directories ####
  47. # Edit with care
  48. ## Server Specific Directories
  49. systemdir="${serverfiles}"
  50. executabledir="${serverfiles}"
  51. executable="./DedicatedServerCmd"
  52. servercfg="${servicename}.cfg"
  53. servercfgdefault="server.cfg"
  54. servercfgdir="${systemdir}"
  55. servercfgfullpath="${servercfgdir}/${servercfg}"
  56. ## Backup Directory
  57. backupdir="${rootdir}/backups"
  58. ## Logging Directories
  59. logdir="${rootdir}/log"
  60. gamelogdir="${systemdir}/logs"
  61. lgsmlogdir="${logdir}/script"
  62. consolelogdir="${logdir}/console"
  63. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  64. consolelog="${consolelogdir}/${servicename}-console.log"
  65. emaillog="${lgsmlogdir}/${servicename}-email.log"
  66. ## Logs Naming
  67. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  68. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"