_default.cfg 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  10. fn_parms(){
  11. parms="--config ${servercfg}"
  12. }
  13. #### LinuxGSM Settings ####
  14. ## Notification Alerts
  15. # (on|off)
  16. # More info | https://docs.linuxgsm.com/alerts#more-info
  17. postalert="off"
  18. postdays="7"
  19. posttarget="https://hastebin.com"
  20. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  21. discordalert="off"
  22. discordwebhook="webhook"
  23. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  24. emailalert="off"
  25. email="email@example.com"
  26. emailfrom=""
  27. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  28. iftttalert="off"
  29. ifttttoken="accesstoken"
  30. iftttevent="linuxgsm_alert"
  31. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  32. mailgunalert="off"
  33. mailguntoken="accesstoken"
  34. mailgundomain="example.com"
  35. mailgunemailfrom="alert@example.com"
  36. mailgunemail="email@myemail.com"
  37. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  38. pushbulletalert="off"
  39. pushbullettoken="accesstoken"
  40. channeltag=""
  41. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  42. pushoveralert="off"
  43. pushovertoken="accesstoken"
  44. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  45. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  46. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  47. # any custom string in curl - simple ignore this parameter.
  48. telegramalert="off"
  49. telegramtoken="accesstoken"
  50. telegramchatid=""
  51. curlcustomstring=""
  52. ## Updating | https://docs.linuxgsm.com/commands/update
  53. updateonstart="off"
  54. ## Backup | https://docs.linuxgsm.com/commands/backup
  55. maxbackups="4"
  56. maxbackupdays="30"
  57. stoponbackup="on"
  58. ## Logging | https://docs.linuxgsm.com/features/logging
  59. consolelogging="on"
  60. logdays="7"
  61. #### LinuxGSM Advanced Settings ####
  62. # ANSI Colors
  63. ansi="on"
  64. ## SteamCMD Settings
  65. # Server appid
  66. appid="332670"
  67. # Steam App Branch Select
  68. # Allows to opt into the various Steam app branches. Default branch is "".
  69. # Example: "-beta latest_experimental"
  70. branch=""
  71. ## LinuxGSM Server Details
  72. # Do not edit
  73. gamename="Project Cars"
  74. engine="madness"
  75. #### Directories ####
  76. # Edit with care
  77. ## Server Specific Directories
  78. systemdir="${serverfiles}"
  79. executabledir="${serverfiles}"
  80. executable="./DedicatedServerCmd"
  81. servercfg="${servicename}.cfg"
  82. servercfgdefault="server.cfg"
  83. servercfgdir="${systemdir}"
  84. servercfgfullpath="${servercfgdir}/${servercfg}"
  85. ## Backup Directory
  86. backupdir="${rootdir}/backups"
  87. ## Logging Directories
  88. logdir="${rootdir}/log"
  89. gamelogdir="${systemdir}/logs"
  90. lgsmlogdir="${logdir}/script"
  91. consolelogdir="${logdir}/console"
  92. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  93. consolelog="${consolelogdir}/${servicename}-console.log"
  94. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  95. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  96. ## Logs Naming
  97. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  98. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"