_default.cfg 5.5 KB

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