_default.cfg 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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. # A Hytale account that owns the game is needed for two one-time logins:
  11. # 1. Install: the Hytale downloader shows a login URL to approve in a browser (also in docker logs).
  12. # 2. First start: LinuxGSM shows the server login URL (and sends it as an alert) to approve.
  13. # The server saves it (Server/auth.enc) and restores it on restart. To log in again manually:
  14. # ./hytserver send "/auth login device"
  15. # https://docs.linuxgsm.com/game-servers/hytale
  16. # Server name, password and max players are set in Server/config.json, created on first start.
  17. ip="0.0.0.0"
  18. port="5520"
  19. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  20. startparameters="--bind ${ip}:${port}"
  21. ## Release Settings
  22. # Patchline (release|pre-release)
  23. hytalepatchline="release"
  24. #### LinuxGSM Settings ####
  25. ## LinuxGSM Stats
  26. # Send useful stats to LinuxGSM developers.
  27. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  28. # (on|off)
  29. stats="off"
  30. ## Notification Alerts
  31. # (on|off)
  32. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  33. displayip=""
  34. # More info | https://docs.linuxgsm.com/alerts#more-info
  35. postalert="off"
  36. # Alert on Start/Stop/Restart
  37. statusalert="off"
  38. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  39. discordalert="off"
  40. discordwebhook="webhook"
  41. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  42. emailalert="off"
  43. email="email@example.com"
  44. emailfrom=""
  45. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  46. gotifyalert="off"
  47. gotifytoken="token"
  48. gotifywebhook="webhook"
  49. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  50. iftttalert="off"
  51. ifttttoken="accesstoken"
  52. iftttevent="linuxgsm_alert"
  53. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  54. ntfyalert="off"
  55. ntfytopic="LinuxGSM"
  56. ntfyserver="https://ntfy.sh"
  57. ntfytoken=""
  58. ntfyusername=""
  59. ntfypassword=""
  60. ntfypriority=""
  61. ntfytags=""
  62. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  63. pushbulletalert="off"
  64. pushbullettoken="accesstoken"
  65. channeltag=""
  66. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  67. pushoveralert="off"
  68. pushovertoken="accesstoken"
  69. pushoveruserkey="userkey"
  70. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  71. rocketchatalert="off"
  72. rocketchatwebhook="webhook"
  73. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  74. slackalert="off"
  75. slackwebhook="webhook"
  76. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  77. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  78. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  79. telegramapi="api.telegram.org"
  80. telegramalert="off"
  81. telegramtoken="accesstoken"
  82. telegramchatid=""
  83. telegramthreadid=""
  84. telegramsilentnotification="false"
  85. curlcustomstring=""
  86. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  87. stoponlyifnoplayers="off"
  88. stoponlyifnoplayersallcommands="on"
  89. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  90. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  91. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  92. warnplayerstimer="0"
  93. ## Updating | https://docs.linuxgsm.com/commands/update
  94. updateonstart="off"
  95. ## Backup | https://docs.linuxgsm.com/commands/backup
  96. maxbackups="4"
  97. maxbackupdays="30"
  98. stoponbackup="on"
  99. ## Logging | https://docs.linuxgsm.com/features/logging
  100. consolelogging="on"
  101. logdays="7"
  102. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  103. # Query delay time
  104. querydelay="1"
  105. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  106. ansi="on"
  107. #### Advanced Settings ####
  108. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  109. sleeptime="0.5"
  110. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  111. # 1: tmux kill
  112. # 2: CTRL+c
  113. # 3: quit
  114. # 4: quit 120s
  115. # 5: stop
  116. # 6: q
  117. # 7: exit
  118. # 8: 7 Days to Die
  119. # 9: GoldSrc
  120. # 10: Avorion
  121. # 11: end
  122. stopmode="5"
  123. ## Query mode
  124. # 1: session only
  125. # 2: gamedig (gsquery fallback)
  126. # 3: gamedig
  127. # 4: gsquery
  128. # 5: tcp
  129. querymode="1"
  130. querytype=""
  131. ## Console type
  132. consoleverbose="yes"
  133. consoleinteract="yes"
  134. ## Game Server Details
  135. # Do not edit
  136. gamename="Hytale"
  137. engine="hytale"
  138. glibc="null"
  139. #### Directories ####
  140. # Edit with care
  141. ## Game Server Directories
  142. systemdir="${serverfiles}/Server"
  143. executabledir="${serverfiles}"
  144. executable="./start.sh"
  145. servercfgdir="${systemdir}"
  146. servercfg="config.json"
  147. servercfgdefault="config.json"
  148. servercfgfullpath="${servercfgdir}/${servercfg}"
  149. ## Backup Directory
  150. backupdir="${lgsmdir}/backup"
  151. ## Logging Directories
  152. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  153. gamelogdir="${systemdir}/logs"
  154. lgsmlogdir="${logdir}/script"
  155. consolelogdir="${logdir}/console"
  156. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  157. consolelog="${consolelogdir}/${selfname}-console.log"
  158. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  159. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  160. ## Logs Naming
  161. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  162. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  163. ## Log Parameters
  164. logtimestamp="off"
  165. logtimestampformat="%Y-%m-%d %H:%M:%S"