_default.cfg 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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 Server"
  11. ip="0.0.0.0"
  12. port="12871"
  13. queryport="12881"
  14. maxplayers="20"
  15. defaultmap="" # Optional
  16. creativemode="0" # Free Build: creativemode="1"
  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. # Edit with care | 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};${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. # 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. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  54. mailgunalert="off"
  55. mailgunapiregion="us"
  56. mailguntoken="accesstoken"
  57. mailgundomain="example.com"
  58. mailgunemailfrom="alert@example.com"
  59. mailgunemail="email@myemail.com"
  60. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  61. pushbulletalert="off"
  62. pushbullettoken="accesstoken"
  63. channeltag=""
  64. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  65. pushoveralert="off"
  66. pushovertoken="accesstoken"
  67. pushoveruserkey="userkey"
  68. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  69. rocketchatalert="off"
  70. rocketchatwebhook="webhook"
  71. rocketchattoken=""
  72. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  73. slackalert="off"
  74. slackwebhook="webhook"
  75. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  76. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  77. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
  78. telegramapi="api.telegram.org"
  79. telegramalert="off"
  80. telegramtoken="accesstoken"
  81. telegramchatid=""
  82. curlcustomstring=""
  83. ## Updating | https://docs.linuxgsm.com/commands/update
  84. updateonstart="off"
  85. ## Backup | https://docs.linuxgsm.com/commands/backup
  86. maxbackups="4"
  87. maxbackupdays="30"
  88. stoponbackup="on"
  89. ## Logging | https://docs.linuxgsm.com/features/logging
  90. consolelogging="on"
  91. logdays="7"
  92. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  93. # Query delay time
  94. querydelay="1"
  95. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  96. ansi="on"
  97. #### Advanced Settings ####
  98. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  99. sleeptime="0.5"
  100. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  101. # Server appid
  102. appid="405100"
  103. steamcmdforcewindows="no"
  104. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  105. branch=""
  106. betapassword=""
  107. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  108. steammaster="false"
  109. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  110. # 1: tmux kill
  111. # 2: CTRL+c
  112. # 3: quit
  113. # 4: quit 120s
  114. # 5: stop
  115. # 6: q
  116. # 7: exit
  117. # 8: 7 Days to Die
  118. # 9: GoldSrc
  119. # 10: Avorion
  120. # 11: end
  121. stopmode="2"
  122. ## Query mode
  123. # 1: session only
  124. # 2: gamedig (gsquery fallback)
  125. # 3: gamedig
  126. # 4: gsquery
  127. # 5: tcp
  128. querymode="2"
  129. querytype="protocol-valve"
  130. ## Console type
  131. consoleverbose="no"
  132. consoleinteract="no"
  133. ## Game Server Details
  134. # Do not edit
  135. gamename="Hurtworld"
  136. engine="unity3d"
  137. glibc="2.15"
  138. #### Directories ####
  139. # Edit with care
  140. ## Game Server Directories
  141. systemdir="${serverfiles}"
  142. executabledir="${serverfiles}"
  143. executable="./Hurtworld.x86_64"
  144. ## Backup Directory
  145. backupdir="${lgsmdir}/backup"
  146. ## Logging Directories
  147. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  148. gamelogdir="${logdir}/server"
  149. lgsmlogdir="${logdir}/script"
  150. consolelogdir="${logdir}/console"
  151. gamelog="${gamelogdir}/${selfname}-game.log"
  152. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  153. consolelog="${consolelogdir}/${selfname}-console.log"
  154. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  155. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  156. ## Logs Naming
  157. gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
  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"