_default.cfg 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. ##################################
  2. ######## Default Settings ########
  3. ##################################
  4. # DO NOT EDIT, ANY CHANGES 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. #### Game 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. ## LinuxGSM Stats
  17. # Send useful stats to LinuxGSM developers.
  18. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  19. # (on|off)
  20. stats="off"
  21. ## Notification Alerts
  22. # (on|off)
  23. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  24. displayip=""
  25. # More info | https://docs.linuxgsm.com/alerts#more-info
  26. postalert="off"
  27. postdays="7"
  28. posttarget="https://termbin.com"
  29. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  30. discordalert="off"
  31. discordwebhook="webhook"
  32. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  33. emailalert="off"
  34. email="email@example.com"
  35. emailfrom=""
  36. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  37. iftttalert="off"
  38. ifttttoken="accesstoken"
  39. iftttevent="linuxgsm_alert"
  40. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  41. mailgunalert="off"
  42. mailguntoken="accesstoken"
  43. mailgundomain="example.com"
  44. mailgunemailfrom="alert@example.com"
  45. mailgunemail="email@myemail.com"
  46. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  47. pushbulletalert="off"
  48. pushbullettoken="accesstoken"
  49. channeltag=""
  50. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  51. pushoveralert="off"
  52. pushovertoken="accesstoken"
  53. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  54. slackalert="off"
  55. slackwebhook="webhook"
  56. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  57. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  58. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  59. # any custom string in curl - simple ignore this parameter.
  60. telegramalert="off"
  61. telegramtoken="accesstoken"
  62. telegramchatid=""
  63. curlcustomstring=""
  64. ## Updating | https://docs.linuxgsm.com/commands/update
  65. updateonstart="off"
  66. ## Backup | https://docs.linuxgsm.com/commands/backup
  67. maxbackups="4"
  68. maxbackupdays="30"
  69. stoponbackup="on"
  70. ## Logging | https://docs.linuxgsm.com/features/logging
  71. consolelogging="on"
  72. logdays="7"
  73. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  74. # Query delay time
  75. querydelay="1"
  76. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  77. ansi="on"
  78. #### Advanced Settings ####
  79. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  80. sleeptime="0.5"
  81. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  82. # Server appid
  83. appid="349090"
  84. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  85. branch=""
  86. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  87. steammaster="true"
  88. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  89. # 1: tmux kill
  90. # 2: CTRL+c
  91. # 3: quit
  92. # 4: quit 120s
  93. # 5: stop
  94. # 6: q
  95. # 7: exit
  96. # 8: 7 Days to Die
  97. # 9: GoldSrc
  98. # 10: Avorion
  99. stopmode="3"
  100. ## Query mode
  101. # 1: session only
  102. # 2: gamedig + gsquery
  103. # 3: gamedig
  104. # 4: gsquery
  105. # 5: tcp
  106. querymode="2"
  107. querytype="protocol-valve"
  108. ## Game Server Details
  109. # Do not edit
  110. gamename="Quake Live"
  111. engine="idtech3_ql"
  112. glibc="2.15"
  113. #### Directories ####
  114. # Edit with care
  115. ## Game Server Directories
  116. systemdir="${serverfiles}"
  117. executabledir="${serverfiles}"
  118. executable=$([ "$(uname -m)" == "x86_64" ] && echo -e "./run_server_x64.sh" || echo -e "./run_server_x86.sh")
  119. servercfgdir="${systemdir}/baseq3"
  120. servercfg="${selfname}.cfg"
  121. servercfgdefault="server.cfg"
  122. servercfgfullpath="${servercfgdir}/${servercfg}"
  123. ## Backup Directory
  124. backupdir="${lgsmdir}/backup"
  125. ## Logging Directories
  126. logdir="${rootdir}/log"
  127. gamelogdir="${logdir}/server"
  128. lgsmlogdir="${logdir}/script"
  129. consolelogdir="${logdir}/console"
  130. gamelog="${gamelogdir}/${selfname}-game.log"
  131. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  132. consolelog="${consolelogdir}/${selfname}-console.log"
  133. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  134. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  135. ## Logs Naming
  136. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  137. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"