_default.cfg 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  18. postalert="off"
  19. postdays="7"
  20. posttarget="https://hastebin.com"
  21. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  22. discordalert="off"
  23. discordwebhook="webhook"
  24. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  25. emailalert="off"
  26. email="email@example.com"
  27. emailfrom=""
  28. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  29. iftttalert="off"
  30. ifttttoken="accesstoken"
  31. iftttevent="linuxgsm_alert"
  32. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  33. mailgunalert="off"
  34. mailguntoken="accesstoken"
  35. mailgundomain="example.com"
  36. mailgunemailfrom="alert@example.com"
  37. mailgunemail="email@myemail.com"
  38. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  39. pushbulletalert="off"
  40. pushbullettoken="accesstoken"
  41. channeltag=""
  42. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  43. pushoveralert="off"
  44. pushovertoken="accesstoken"
  45. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  46. telegramalert="off"
  47. telegramtoken="accesstoken"
  48. telegramchatid=""
  49. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  50. updateonstart="off"
  51. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  52. maxbackups="4"
  53. maxbackupdays="30"
  54. stoponbackup="on"
  55. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  56. consolelogging="on"
  57. logdays="7"
  58. #### LinuxGSM Advanced Settings ####
  59. ## SteamCMD Settings
  60. # Server appid
  61. appid="332670"
  62. # Steam App Branch Select
  63. # Allows to opt into the various Steam app branches. Default branch is "".
  64. # Example: "-beta latest_experimental"
  65. branch=""
  66. ## LinuxGSM Server Details
  67. # Do not edit
  68. gamename="Project Cars"
  69. engine="madness"
  70. #### Directories ####
  71. # Edit with care
  72. ## Server Specific Directories
  73. systemdir="${serverfiles}"
  74. executabledir="${serverfiles}"
  75. executable="./DedicatedServerCmd"
  76. servercfg="${servicename}.cfg"
  77. servercfgdefault="server.cfg"
  78. servercfgdir="${systemdir}"
  79. servercfgfullpath="${servercfgdir}/${servercfg}"
  80. ## Backup Directory
  81. backupdir="${rootdir}/backups"
  82. ## Logging Directories
  83. logdir="${rootdir}/log"
  84. gamelogdir="${systemdir}/logs"
  85. lgsmlogdir="${logdir}/script"
  86. consolelogdir="${logdir}/console"
  87. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  88. consolelog="${consolelogdir}/${servicename}-console.log"
  89. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  90. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  91. ## Logs Naming
  92. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  93. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"