_default.cfg 3.6 KB

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