_default.cfg 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  47. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  48. # any custom string in curl - simple ignore this parameter.
  49. telegramalert="off"
  50. telegramtoken="accesstoken"
  51. telegramchatid=""
  52. curlcustomstring=""
  53. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  54. updateonstart="off"
  55. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  56. maxbackups="4"
  57. maxbackupdays="30"
  58. stoponbackup="on"
  59. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  60. consolelogging="on"
  61. logdays="7"
  62. #### LinuxGSM Advanced Settings ####
  63. # ANSI Colors
  64. ansi="on"
  65. ## SteamCMD Settings
  66. # Server appid
  67. appid="332670"
  68. # Steam App Branch Select
  69. # Allows to opt into the various Steam app branches. Default branch is "".
  70. # Example: "-beta latest_experimental"
  71. branch=""
  72. ## LinuxGSM Server Details
  73. # Do not edit
  74. gamename="Project Cars"
  75. engine="madness"
  76. #### Directories ####
  77. # Edit with care
  78. ## Server Specific Directories
  79. systemdir="${serverfiles}"
  80. executabledir="${serverfiles}"
  81. executable="./DedicatedServerCmd"
  82. servercfg="${servicename}.cfg"
  83. servercfgdefault="server.cfg"
  84. servercfgdir="${systemdir}"
  85. servercfgfullpath="${servercfgdir}/${servercfg}"
  86. ## Backup Directory
  87. backupdir="${rootdir}/backups"
  88. ## Logging Directories
  89. logdir="${rootdir}/log"
  90. gamelogdir="${systemdir}/logs"
  91. lgsmlogdir="${logdir}/script"
  92. consolelogdir="${logdir}/console"
  93. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  94. consolelog="${consolelogdir}/${servicename}-console.log"
  95. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  96. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  97. ## Logs Naming
  98. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  99. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"