_default.cfg 4.8 KB

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