_default.cfg 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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. servername="LinuxGSM"
  11. ip="0.0.0.0"
  12. port="12871"
  13. queryport="12881"
  14. maxplayers="20"
  15. defaultmap="nullius"
  16. creativemode="0" # values: Free Build = 1, Survival = 0
  17. ## Add admins using STEAMID64
  18. # Example : addadmin 012345678901234567; addadmin 987654321098765432
  19. admins=""
  20. ## Advanced Server Start Settings
  21. # Rollback server state (remove after start command)
  22. loadsave=""
  23. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  24. # http://hurtworld.wikia.com/wiki/Hosting_A_Server
  25. startparameters="-batchmode -nographics -logfile ${gamelog} -exec \"host ${port} ${defaultmap} ${loadsave};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode}${workshoploadmods};addadmin ${admins}\""
  26. ## Steam Workshop Mods | https://docs.linuxgsm.com/steamcmd/workshop
  27. # Workshop item or collection IDs, separated by spaces. Collections are expanded.
  28. # Downloaded with SteamCMD and loaded with loadmod on start. If you set your own startparameters, keep ${workshoploadmods} in -exec.
  29. # Run ./hwserver workshop-update after changing, or let update apply it.
  30. # workshopmods="2015422570"
  31. workshopmods=""
  32. #### LinuxGSM Settings ####
  33. ## LinuxGSM Stats
  34. # Send useful stats to LinuxGSM developers.
  35. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  36. # (on|off)
  37. stats="off"
  38. ## Notification Alerts
  39. # (on|off)
  40. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  41. displayip=""
  42. # More info | https://docs.linuxgsm.com/alerts#more-info
  43. postalert="off"
  44. # Alert on Start/Stop/Restart
  45. statusalert="off"
  46. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  47. discordalert="off"
  48. discordwebhook="webhook"
  49. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  50. emailalert="off"
  51. email="email@example.com"
  52. emailfrom=""
  53. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  54. gotifyalert="off"
  55. gotifytoken="token"
  56. gotifywebhook="webhook"
  57. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  58. iftttalert="off"
  59. ifttttoken="accesstoken"
  60. iftttevent="linuxgsm_alert"
  61. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  62. ntfyalert="off"
  63. ntfytopic="LinuxGSM"
  64. ntfyserver="https://ntfy.sh"
  65. ntfytoken=""
  66. ntfyusername=""
  67. ntfypassword=""
  68. ntfypriority=""
  69. ntfytags=""
  70. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  71. matrixalert="off"
  72. matrixhomeserver="matrix.org"
  73. matrixtoken="accesstoken"
  74. matrixroom=""
  75. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  76. pushbulletalert="off"
  77. pushbullettoken="accesstoken"
  78. channeltag=""
  79. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  80. pushoveralert="off"
  81. pushovertoken="accesstoken"
  82. pushoveruserkey="userkey"
  83. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  84. rocketchatalert="off"
  85. rocketchatwebhook="webhook"
  86. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  87. slackalert="off"
  88. slackwebhook="webhook"
  89. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  90. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  91. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  92. telegramapi="api.telegram.org"
  93. telegramalert="off"
  94. telegramtoken="accesstoken"
  95. telegramchatid=""
  96. telegramthreadid=""
  97. telegramsilentnotification="false"
  98. curlcustomstring=""
  99. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  100. stoponlyifnoplayers="off"
  101. stoponlyifnoplayersallcommands="on"
  102. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  103. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  104. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  105. warnplayerstimer="0"
  106. ## Updating | https://docs.linuxgsm.com/commands/update
  107. updateonstart="off"
  108. ## Backup | https://docs.linuxgsm.com/commands/backup
  109. maxbackups="4"
  110. maxbackupdays="30"
  111. stoponbackup="on"
  112. ## Logging | https://docs.linuxgsm.com/features/logging
  113. consolelogging="on"
  114. logdays="7"
  115. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  116. # Query delay time
  117. querydelay="1"
  118. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  119. ansi="on"
  120. #### Advanced Settings ####
  121. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  122. sleeptime="0.5"
  123. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  124. # Server appid
  125. appid="405100"
  126. steamcmdforcewindows="no"
  127. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  128. branch=""
  129. betapassword=""
  130. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  131. steammaster="false"
  132. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  133. # 1: tmux kill
  134. # 2: CTRL+c
  135. # 3: quit
  136. # 4: quit 120s
  137. # 5: stop
  138. # 6: q
  139. # 7: exit
  140. # 8: 7 Days to Die
  141. # 9: GoldSrc
  142. # 10: Avorion
  143. # 11: end
  144. stopmode="2"
  145. ## Query mode
  146. # 1: session only
  147. # 2: gamedig (gsquery fallback)
  148. # 3: gamedig
  149. # 4: gsquery
  150. # 5: tcp
  151. querymode="2"
  152. querytype="protocol-valve"
  153. ## Console type
  154. consoleverbose="no"
  155. consoleinteract="no"
  156. ## Game Server Details
  157. # Do not edit
  158. gamename="Hurtworld"
  159. engine="unity3d"
  160. glibc="2.15"
  161. #### Directories ####
  162. # Edit with care
  163. ## Game Server Directories
  164. systemdir="${serverfiles}"
  165. executabledir="${serverfiles}"
  166. executable="./Hurtworld.x86_64"
  167. ## Backup Directory
  168. backupdir="${lgsmdir}/backup"
  169. ## Logging Directories
  170. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  171. gamelogdir="${logdir}/server"
  172. lgsmlogdir="${logdir}/script"
  173. consolelogdir="${logdir}/console"
  174. gamelog="${gamelogdir}/${selfname}-game.log"
  175. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  176. consolelog="${consolelogdir}/${selfname}-console.log"
  177. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  178. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  179. ## Logs Naming
  180. gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
  181. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  182. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  183. ## Log Parameters
  184. logtimestamp="off"
  185. logtimestampformat="%Y-%m-%d %H:%M:%S"