_default.cfg 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  65. pushbulletalert="off"
  66. pushbullettoken="accesstoken"
  67. channeltag=""
  68. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  69. pushoveralert="off"
  70. pushovertoken="accesstoken"
  71. pushoveruserkey="userkey"
  72. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  73. rocketchatalert="off"
  74. rocketchatwebhook="webhook"
  75. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  76. slackalert="off"
  77. slackwebhook="webhook"
  78. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  79. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  80. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  81. telegramapi="api.telegram.org"
  82. telegramalert="off"
  83. telegramtoken="accesstoken"
  84. telegramchatid=""
  85. telegramthreadid=""
  86. telegramsilentnotification="false"
  87. curlcustomstring=""
  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. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  106. # Server appid
  107. appid="405100"
  108. steamcmdforcewindows="no"
  109. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  110. branch=""
  111. betapassword=""
  112. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  113. steammaster="false"
  114. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  115. # 1: tmux kill
  116. # 2: CTRL+c
  117. # 3: quit
  118. # 4: quit 120s
  119. # 5: stop
  120. # 6: q
  121. # 7: exit
  122. # 8: 7 Days to Die
  123. # 9: GoldSrc
  124. # 10: Avorion
  125. # 11: end
  126. stopmode="2"
  127. ## Query mode
  128. # 1: session only
  129. # 2: gamedig (gsquery fallback)
  130. # 3: gamedig
  131. # 4: gsquery
  132. # 5: tcp
  133. querymode="2"
  134. querytype="protocol-valve"
  135. ## Console type
  136. consoleverbose="no"
  137. consoleinteract="no"
  138. ## Game Server Details
  139. # Do not edit
  140. gamename="Hurtworld"
  141. engine="unity3d"
  142. glibc="2.15"
  143. #### Directories ####
  144. # Edit with care
  145. ## Game Server Directories
  146. systemdir="${serverfiles}"
  147. executabledir="${serverfiles}"
  148. executable="./Hurtworld.x86_64"
  149. ## Backup Directory
  150. backupdir="${lgsmdir}/backup"
  151. ## Logging Directories
  152. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  153. gamelogdir="${logdir}/server"
  154. lgsmlogdir="${logdir}/script"
  155. consolelogdir="${logdir}/console"
  156. gamelog="${gamelogdir}/${selfname}-game.log"
  157. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  158. consolelog="${consolelogdir}/${selfname}-console.log"
  159. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  160. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  161. ## Logs Naming
  162. gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
  163. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  164. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  165. ## Log Parameters
  166. logtimestamp="off"
  167. logtimestampformat="%Y-%m-%d %H:%M:%S"