_default.cfg 4.7 KB

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