_default.cfg 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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. ip="0.0.0.0"
  11. port="27015"
  12. maxplayers="20"
  13. defaultmap="PEI"
  14. servername="LinuxGSM"
  15. perspective="first" # values: first, third, vehicle, Both.
  16. gamemode="normal" # values: normal, easy, gold.
  17. ## Game Server Login Token (GSLT): Required
  18. # GSLT is required for running a public server.
  19. # More info: https://docs.linuxgsm.com/steamcmd/gslt
  20. gslt=""
  21. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  22. startparameters="-nographics -batchmode -bind ${ip} -port ${port} -maxplayers ${maxplayers} -perspective ${perspective} -mode ${gamemode} -name ${servername} -map ${defaultmap} -gslt ${gslt} +InternetServer/${selfname}"
  23. #### LinuxGSM Settings ####
  24. ## LinuxGSM Stats
  25. # Send useful stats to LinuxGSM developers.
  26. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  27. # (on|off)
  28. stats="off"
  29. ## Notification Alerts
  30. # (on|off)
  31. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  32. displayip=""
  33. # More info | https://docs.linuxgsm.com/alerts#more-info
  34. postalert="off"
  35. # Alert on Start/Stop/Restart
  36. statusalert="off"
  37. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  38. discordalert="off"
  39. discordwebhook="webhook"
  40. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  41. emailalert="off"
  42. email="email@example.com"
  43. emailfrom=""
  44. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  45. gotifyalert="off"
  46. gotifytoken="token"
  47. gotifywebhook="webhook"
  48. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  49. iftttalert="off"
  50. ifttttoken="accesstoken"
  51. iftttevent="linuxgsm_alert"
  52. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  53. ntfyalert="off"
  54. ntfytopic="LinuxGSM"
  55. ntfyserver="https://ntfy.sh"
  56. ntfytoken=""
  57. ntfyusername=""
  58. ntfypassword=""
  59. ntfypriority=""
  60. ntfytags=""
  61. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  62. matrixalert="off"
  63. matrixhomeserver="matrix.org"
  64. matrixtoken="accesstoken"
  65. matrixroom=""
  66. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  67. pushbulletalert="off"
  68. pushbullettoken="accesstoken"
  69. channeltag=""
  70. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  71. pushoveralert="off"
  72. pushovertoken="accesstoken"
  73. pushoveruserkey="userkey"
  74. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  75. rocketchatalert="off"
  76. rocketchatwebhook="webhook"
  77. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  78. slackalert="off"
  79. slackwebhook="webhook"
  80. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  81. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  82. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  83. telegramapi="api.telegram.org"
  84. telegramalert="off"
  85. telegramtoken="accesstoken"
  86. telegramchatid=""
  87. telegramthreadid=""
  88. telegramsilentnotification="false"
  89. curlcustomstring=""
  90. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  91. stoponlyifnoplayers="off"
  92. stoponlyifnoplayersallcommands="on"
  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. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  111. # Server appid
  112. appid="1110390"
  113. steamcmdforcewindows="no"
  114. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  115. branch=""
  116. betapassword=""
  117. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  118. steammaster="false"
  119. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  120. # 1: tmux kill
  121. # 2: CTRL+c
  122. # 3: quit
  123. # 4: quit 120s
  124. # 5: stop
  125. # 6: q
  126. # 7: exit
  127. # 8: 7 Days to Die
  128. # 9: GoldSrc
  129. # 10: Avorion
  130. # 11: end
  131. stopmode="2"
  132. ## Query mode
  133. # 1: session only
  134. # 2: gamedig (gsquery fallback)
  135. # 3: gamedig
  136. # 4: gsquery
  137. # 5: tcp
  138. querymode="2"
  139. querytype="protocol-valve"
  140. ## Console type
  141. consoleverbose="yes"
  142. consoleinteract="yes"
  143. ## Game Server Details
  144. # Do not edit
  145. gamename="Unturned"
  146. engine="unity3d"
  147. glibc="2.15"
  148. #### Directories ####
  149. # Edit with care
  150. ## Game Server Directories
  151. systemdir="${serverfiles}"
  152. executabledir="${serverfiles}"
  153. executable="./Unturned_Headless.x86_64"
  154. servercfgdir="${systemdir}/Servers/${selfname}"
  155. servercfg="Config.json"
  156. servercfgdefault="Config.json"
  157. servercfgfullpath="${servercfgdir}/${servercfg}"
  158. ## Backup Directory
  159. backupdir="${lgsmdir}/backup"
  160. ## Logging Directories
  161. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  162. gamelogdir="${logdir}/server"
  163. lgsmlogdir="${logdir}/script"
  164. consolelogdir="${logdir}/console"
  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. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  171. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  172. ## Log Parameters
  173. logtimestamp="off"
  174. logtimestampformat="%Y-%m-%d %H:%M:%S"