_default.cfg 4.7 KB

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