_default.cfg 5.6 KB

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