_default.cfg 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  82. stoponlyifnoplayers="off"
  83. stoponlyifnoplayersallcommands="on"
  84. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  85. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  86. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  87. warnplayerstimer="0"
  88. ## Updating | https://docs.linuxgsm.com/commands/update
  89. updateonstart="off"
  90. ## Backup | https://docs.linuxgsm.com/commands/backup
  91. maxbackups="4"
  92. maxbackupdays="30"
  93. stoponbackup="on"
  94. ## Logging | https://docs.linuxgsm.com/features/logging
  95. consolelogging="on"
  96. logdays="7"
  97. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  98. # Query delay time
  99. querydelay="1"
  100. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  101. ansi="on"
  102. #### Advanced Settings ####
  103. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  104. sleeptime="0.5"
  105. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  106. # 1: tmux kill
  107. # 2: CTRL+c
  108. # 3: quit
  109. # 4: quit 120s
  110. # 5: stop
  111. # 6: q
  112. # 7: exit
  113. # 8: 7 Days to Die
  114. # 9: GoldSrc
  115. # 10: Avorion
  116. # 11: end
  117. stopmode="2"
  118. ## Query mode
  119. # 1: session only
  120. # 2: gamedig (gsquery fallback)
  121. # 3: gamedig
  122. # 4: gsquery
  123. # 5: tcp
  124. querymode="5"
  125. querytype=""
  126. ## Console type
  127. consoleverbose="yes"
  128. consoleinteract="yes"
  129. ## Game Server Details
  130. # Do not edit
  131. gamename="Vintage Story"
  132. engine="vintagestory"
  133. glibc="2.17"
  134. #### Directories ####
  135. # Edit with care
  136. ## Game Server Directories
  137. systemdir="${serverfiles}"
  138. executabledir="${systemdir}"
  139. preexecutable=""
  140. executable="./VintagestoryServer"
  141. servercfgdir="${serverfiles}/data/${selfname}"
  142. servercfg="serverconfig.json"
  143. servercfgdirdefault="${lgsmdir}/config-default/config-game"
  144. servercfgdefault="serverconfig.json"
  145. servercfgfullpath="${servercfgdir}/${servercfg}"
  146. ## Backup Directory
  147. backupdir="${lgsmdir}/backup"
  148. ## Logging Directories
  149. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  150. gamelogdir="${servercfgdir}/Logs"
  151. lgsmlogdir="${logdir}/script"
  152. consolelogdir="${logdir}/console"
  153. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  154. consolelog="${consolelogdir}/${selfname}-console.log"
  155. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  156. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  157. ## Logs Naming
  158. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  159. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  160. ## Log Parameters
  161. logtimestamp="off"
  162. logtimestampformat="%Y-%m-%d %H:%M:%S"