_default.cfg 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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="+set net_strict 1 +set fs_homepath ${serverfiles} +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. ## Backup | https://docs.linuxgsm.com/commands/backup
  74. maxbackups="4"
  75. maxbackupdays="30"
  76. stoponbackup="on"
  77. ## Logging | https://docs.linuxgsm.com/features/logging
  78. consolelogging="on"
  79. logdays="7"
  80. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  81. # Query delay time
  82. querydelay="1"
  83. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  84. ansi="on"
  85. #### Advanced Settings ####
  86. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  87. sleeptime="0.5"
  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. # 11: end
  100. stopmode="3"
  101. ## Query mode
  102. # 1: session only
  103. # 2: gamedig (gsquery fallback)
  104. # 3: gamedig
  105. # 4: gsquery
  106. # 5: tcp
  107. querymode="2"
  108. querytype="protocol-quake3"
  109. ## Console type
  110. consoleverbose="yes"
  111. consoleinteract="no"
  112. ## Game Server Details
  113. # Do not edit
  114. gamename="Wolfenstein: Enemy Territory"
  115. engine="idtech3"
  116. glibc="2.2.4"
  117. #### Directories ####
  118. # Edit with care
  119. ## Game Server Directories
  120. systemdir="${serverfiles}"
  121. executabledir="${systemdir}"
  122. executable="./etded"
  123. servercfgdir="${systemdir}/etmain"
  124. servercfg="${selfname}.cfg"
  125. servercfgdefault="server.cfg"
  126. servercfgfullpath="${servercfgdir}/${servercfg}"
  127. ## Backup Directory
  128. backupdir="${lgsmdir}/backup"
  129. ## Logging Directories
  130. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  131. gamelogdir="${serverfiles}/Logs"
  132. lgsmlogdir="${logdir}/script"
  133. consolelogdir="${logdir}/console"
  134. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  135. consolelog="${consolelogdir}/${selfname}-console.log"
  136. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  137. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  138. ## Logs Naming
  139. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  140. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  141. ## Log Parameters
  142. logtimestamp="off"
  143. logtimestampformat="%Y-%m-%d %H:%M:%S"