_default.cfg 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  19. displayip=""
  20. # More info | https://docs.linuxgsm.com/alerts#more-info
  21. postalert="off"
  22. postdays="7"
  23. posttarget="https://hastebin.com"
  24. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  25. discordalert="off"
  26. discordwebhook="webhook"
  27. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  28. emailalert="off"
  29. email="email@example.com"
  30. emailfrom=""
  31. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  32. iftttalert="off"
  33. ifttttoken="accesstoken"
  34. iftttevent="linuxgsm_alert"
  35. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  36. mailgunalert="off"
  37. mailguntoken="accesstoken"
  38. mailgundomain="example.com"
  39. mailgunemailfrom="alert@example.com"
  40. mailgunemail="email@myemail.com"
  41. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  42. pushbulletalert="off"
  43. pushbullettoken="accesstoken"
  44. channeltag=""
  45. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  46. pushoveralert="off"
  47. pushovertoken="accesstoken"
  48. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  49. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  50. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  51. # any custom string in curl - simple ignore this parameter.
  52. telegramalert="off"
  53. telegramtoken="accesstoken"
  54. telegramchatid=""
  55. curlcustomstring=""
  56. ## Updating | https://docs.linuxgsm.com/commands/update
  57. updateonstart="off"
  58. ## Backup | https://docs.linuxgsm.com/commands/backup
  59. maxbackups="4"
  60. maxbackupdays="30"
  61. stoponbackup="on"
  62. ## Logging | https://docs.linuxgsm.com/features/logging
  63. consolelogging="on"
  64. logdays="7"
  65. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  66. # Query delay time
  67. querydelay="1"
  68. #### LinuxGSM Advanced Settings ####
  69. # ANSI Colors
  70. ansi="on"
  71. # Message Display Time
  72. sleeptime="0.5"
  73. ## SteamCMD Settings
  74. # Server appid
  75. appid="349090"
  76. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  77. branch=""
  78. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  79. steammaster="true"
  80. ## LinuxGSM Server Details
  81. # Do not edit
  82. gamename="Quake Live"
  83. engine="idtech3_ql"
  84. glibc="2.15"
  85. #### Directories ####
  86. # Edit with care
  87. ## Server Specific Directories
  88. systemdir="${serverfiles}"
  89. executabledir="${serverfiles}"
  90. executable=$([ "$(uname -m)" == "x86_64" ] && echo "./run_server_x64.sh" || echo "./run_server_x86.sh")
  91. servercfg="${servicename}.cfg"
  92. servercfgdefault="server.cfg"
  93. servercfgdir="${serverfiles}/baseq3"
  94. servercfgfullpath="${servercfgdir}/${servercfg}"
  95. ## Backup Directory
  96. backupdir="${rootdir}/backups"
  97. ## Logging Directories
  98. logdir="${rootdir}/log"
  99. gamelogdir="${logdir}/server"
  100. lgsmlogdir="${logdir}/script"
  101. consolelogdir="${logdir}/console"
  102. gamelog="${gamelogdir}/${servicename}-game.log"
  103. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  104. consolelog="${consolelogdir}/${servicename}-console.log"
  105. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  106. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  107. ## Logs Naming
  108. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  109. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"