_default.cfg 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  51. pushbulletalert="off"
  52. pushbullettoken="accesstoken"
  53. channeltag=""
  54. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  55. pushoveralert="off"
  56. pushovertoken="accesstoken"
  57. pushoveruserkey="userkey"
  58. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  59. rocketchatalert="off"
  60. rocketchatwebhook="webhook"
  61. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  62. slackalert="off"
  63. slackwebhook="webhook"
  64. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  65. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  66. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  67. telegramapi="api.telegram.org"
  68. telegramalert="off"
  69. telegramtoken="accesstoken"
  70. telegramchatid=""
  71. telegramthreadid=""
  72. telegramsilentnotification="false"
  73. curlcustomstring=""
  74. ## Backup | https://docs.linuxgsm.com/commands/backup
  75. maxbackups="4"
  76. maxbackupdays="30"
  77. stoponbackup="on"
  78. ## Logging | https://docs.linuxgsm.com/features/logging
  79. consolelogging="on"
  80. logdays="7"
  81. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  82. # Query delay time
  83. querydelay="1"
  84. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  85. ansi="on"
  86. #### Advanced Settings ####
  87. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  88. sleeptime="0.5"
  89. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  90. # 1: tmux kill
  91. # 2: CTRL+c
  92. # 3: quit
  93. # 4: quit 120s
  94. # 5: stop
  95. # 6: q
  96. # 7: exit
  97. # 8: 7 Days to Die
  98. # 9: GoldSrc
  99. # 10: Avorion
  100. # 11: end
  101. stopmode="2"
  102. ## Query mode
  103. # 1: session only
  104. # 2: gamedig (gsquery fallback)
  105. # 3: gamedig
  106. # 4: gsquery
  107. # 5: tcp
  108. querymode="3"
  109. querytype="xonotic"
  110. ## Console type
  111. consoleverbose="yes"
  112. consoleinteract="yes"
  113. ## Game Server Details
  114. # Do not edit
  115. gamename="Xonotic"
  116. engine="unreal3"
  117. glibc="2.29"
  118. #### Directories ####
  119. # Edit with care
  120. ## Game Server Directories
  121. systemdir="${serverfiles}"
  122. executabledir="${systemdir}"
  123. executable="./xonotic-linux64-dedicated"
  124. servercfgdir="${systemdir}/${selfname}/data"
  125. servercfg="server.cfg"
  126. servercfgdefault="${systemdir}/server.cfg"
  127. servercfgfullpath="${servercfgdir}/${servercfg}"
  128. ## Backup Directory
  129. backupdir="${lgsmdir}/backup"
  130. ## Logging Directories
  131. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  132. gamelogdir="${logdir}/server"
  133. lgsmlogdir="${logdir}/script"
  134. consolelogdir="${logdir}/console"
  135. gamelog="${gamelogdir}/${selfname}-game.log"
  136. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  137. consolelog="${consolelogdir}/${selfname}-console.log"
  138. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  139. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  140. ## Logs Naming
  141. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  142. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  143. gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
  144. ## Log Parameters
  145. logtimestamp="off"
  146. logtimestampformat="%Y-%m-%d %H:%M:%S"