_default.cfg 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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 Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  10. startparameters="+exec ${servercfg}"
  11. #### LinuxGSM Settings ####
  12. ## LinuxGSM Stats
  13. # Send useful stats to LinuxGSM developers.
  14. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  15. # (on|off)
  16. stats="off"
  17. ## Notification Alerts
  18. # (on|off)
  19. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  20. displayip=""
  21. # More info | https://docs.linuxgsm.com/alerts#more-info
  22. postalert="off"
  23. # Alert on Start/Stop/Restart
  24. statusalert="off"
  25. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  26. discordalert="off"
  27. discordwebhook="webhook"
  28. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  29. emailalert="off"
  30. email="email@example.com"
  31. emailfrom=""
  32. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  33. gotifyalert="off"
  34. gotifytoken="token"
  35. gotifywebhook="webhook"
  36. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  37. iftttalert="off"
  38. ifttttoken="accesstoken"
  39. iftttevent="linuxgsm_alert"
  40. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  41. ntfyalert="off"
  42. ntfytopic="LinuxGSM"
  43. ntfyserver="https://ntfy.sh"
  44. ntfytoken=""
  45. ntfyusername=""
  46. ntfypassword=""
  47. ntfypriority=""
  48. ntfytags=""
  49. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  50. pushbulletalert="off"
  51. pushbullettoken="accesstoken"
  52. channeltag=""
  53. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  54. pushoveralert="off"
  55. pushovertoken="accesstoken"
  56. pushoveruserkey="userkey"
  57. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  58. rocketchatalert="off"
  59. rocketchatwebhook="webhook"
  60. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  61. slackalert="off"
  62. slackwebhook="webhook"
  63. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  64. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  65. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  66. telegramapi="api.telegram.org"
  67. telegramalert="off"
  68. telegramtoken="accesstoken"
  69. telegramchatid=""
  70. telegramthreadid=""
  71. telegramsilentnotification="false"
  72. curlcustomstring=""
  73. ## Updating | https://docs.linuxgsm.com/commands/update
  74. updateonstart="off"
  75. ## Backup | https://docs.linuxgsm.com/commands/backup
  76. maxbackups="4"
  77. maxbackupdays="30"
  78. stoponbackup="on"
  79. ## Logging | https://docs.linuxgsm.com/features/logging
  80. consolelogging="on"
  81. logdays="7"
  82. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  83. # Query delay time
  84. querydelay="1"
  85. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  86. ansi="on"
  87. #### Advanced Settings ####
  88. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  89. sleeptime="0.5"
  90. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  91. # Server appid
  92. appid="349090"
  93. steamcmdforcewindows="no"
  94. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  95. branch=""
  96. betapassword=""
  97. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  98. steammaster="true"
  99. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  100. # 1: tmux kill
  101. # 2: CTRL+c
  102. # 3: quit
  103. # 4: quit 120s
  104. # 5: stop
  105. # 6: q
  106. # 7: exit
  107. # 8: 7 Days to Die
  108. # 9: GoldSrc
  109. # 10: Avorion
  110. # 11: end
  111. stopmode="3"
  112. ## Query mode
  113. # 1: session only
  114. # 2: gamedig (gsquery fallback)
  115. # 3: gamedig
  116. # 4: gsquery
  117. # 5: tcp
  118. querymode="2"
  119. querytype="protocol-valve"
  120. ## Console type
  121. consoleverbose="yes"
  122. consoleinteract="yes"
  123. ## Game Server Details
  124. # Do not edit
  125. gamename="Quake Live"
  126. engine="idtech3_ql"
  127. glibc="2.15"
  128. #### Directories ####
  129. # Edit with care
  130. ## Game Server Directories
  131. systemdir="${serverfiles}"
  132. executabledir="${serverfiles}"
  133. executable=$([ "$(uname -m)" == "x86_64" ] && echo -e "./run_server_x64.sh" || echo -e "./run_server_x86.sh")
  134. servercfgdir="${systemdir}/baseq3"
  135. servercfg="${selfname}.cfg"
  136. servercfgdefault="server.cfg"
  137. servercfgfullpath="${servercfgdir}/${servercfg}"
  138. ## Backup Directory
  139. backupdir="${lgsmdir}/backup"
  140. ## Logging Directories
  141. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  142. gamelogdir="${logdir}/server"
  143. lgsmlogdir="${logdir}/script"
  144. consolelogdir="${logdir}/console"
  145. gamelog="${gamelogdir}/${selfname}-game.log"
  146. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  147. consolelog="${consolelogdir}/${selfname}-console.log"
  148. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  149. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  150. ## Logs Naming
  151. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  152. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  153. ## Log Parameters
  154. logtimestamp="off"
  155. logtimestampformat="%Y-%m-%d %H:%M:%S"