_default.cfg 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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="28015"
  12. rconport="28016"
  13. appport="28082"
  14. queryport="28017"
  15. rconpassword="CHANGE_ME"
  16. rconweb="1" # values: Facepunch web panel, Rustadmin desktop and Rustadmin Online = 1, Rusty = 0.
  17. servername="LinuxGSM"
  18. gamemode="vanilla" # values: vanilla, softcore ( Doc: https://wiki.facepunch.com/rust/server-gamemodes )
  19. serverlevel="Procedural Map" # values: Procedural Map, Barren, HapisIsland, SavasIsland
  20. customlevelurl="" # Custom level url. +server.levelurl \"${customlevelurl}\"
  21. seed="" # range: 1-2147483647, used to reproduce a procedural map.
  22. salt="" # range: unknown, used to recover a known setting from an existing map.
  23. maxplayers="50"
  24. worldsize="3000" # default: 3000, range: 1000-6000, map size in meters.
  25. saveinterval="300" # Auto-save in seconds.
  26. tickrate="30" # default: 30, range: 15-100.
  27. tags="" # values: monthly, biweekly, weekly, vanilla, hardcore, softcore, pve, roleplay, creative, minigame, training, battlefield, broyale, builds, NA, SA, EU, WA, EA, OC, AF ( Doc: https://wiki.facepunch.com/rust/server-browser-tags )
  28. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  29. startparameters="-batchmode +app.listenip ${ip} +app.port ${appport} +server.ip ${ip} +server.port ${port} +server.queryport ${queryport} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${selfname}\" +server.gamemode ${gamemode} +server.level \"${serverlevel}\" +server.seed ${seed} +server.salt ${salt} +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.web ${rconweb} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" +server.tags ${tags} -logfile ${gamelog}"
  30. ## Extra Parameters | https://docs.linuxgsm.com/configuration/start-parameters#extra-parameters
  31. # Added to the end of startparameters.
  32. extraparams=""
  33. #### LinuxGSM Settings ####
  34. ## LinuxGSM Stats
  35. # Send useful stats to LinuxGSM developers.
  36. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  37. # (on|off)
  38. stats="off"
  39. ## Notification Alerts
  40. # (on|off)
  41. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  42. displayip=""
  43. # More info | https://docs.linuxgsm.com/alerts#more-info
  44. postalert="off"
  45. # Alert on Start/Stop/Restart
  46. statusalert="off"
  47. # Minutes to wait between repeated monitor alerts, 0 sends every alert
  48. alertcooldown="0"
  49. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  50. discordalert="off"
  51. discordwebhook="webhook"
  52. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  53. emailalert="off"
  54. email="email@example.com"
  55. emailfrom=""
  56. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  57. gotifyalert="off"
  58. gotifytoken="token"
  59. gotifywebhook="webhook"
  60. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  61. iftttalert="off"
  62. ifttttoken="accesstoken"
  63. iftttevent="linuxgsm_alert"
  64. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  65. ntfyalert="off"
  66. ntfytopic="LinuxGSM"
  67. ntfyserver="https://ntfy.sh"
  68. ntfytoken=""
  69. ntfyusername=""
  70. ntfypassword=""
  71. ntfypriority=""
  72. ntfytags=""
  73. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  74. matrixalert="off"
  75. matrixhomeserver="matrix.org"
  76. matrixtoken="accesstoken"
  77. matrixroom=""
  78. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  79. pushbulletalert="off"
  80. pushbullettoken="accesstoken"
  81. channeltag=""
  82. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  83. pushoveralert="off"
  84. pushovertoken="accesstoken"
  85. pushoveruserkey="userkey"
  86. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  87. rocketchatalert="off"
  88. rocketchatwebhook="webhook"
  89. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  90. slackalert="off"
  91. slackwebhook="webhook"
  92. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  93. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  94. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  95. telegramapi="api.telegram.org"
  96. telegramalert="off"
  97. telegramtoken="accesstoken"
  98. telegramchatid=""
  99. telegramthreadid=""
  100. telegramsilentnotification="false"
  101. curlcustomstring=""
  102. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  103. stoponlyifnoplayers="off"
  104. stoponlyifnoplayersallcommands="on"
  105. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  106. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  107. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  108. warnplayerstimer="0"
  109. ## Updating | https://docs.linuxgsm.com/commands/update
  110. updateonstart="off"
  111. ## Backup | https://docs.linuxgsm.com/commands/backup
  112. maxbackups="4"
  113. maxbackupdays="30"
  114. stoponbackup="on"
  115. ## Logging | https://docs.linuxgsm.com/features/logging
  116. consolelogging="on"
  117. logdays="7"
  118. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  119. # Query delay time
  120. querydelay="10"
  121. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  122. ansi="on"
  123. #### Advanced Settings ####
  124. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  125. sleeptime="0.5"
  126. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  127. # Server appid
  128. appid="258550"
  129. steamcmdforcewindows="no"
  130. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  131. branch=""
  132. betapassword=""
  133. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  134. steammaster="false"
  135. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  136. # 1: tmux kill
  137. # 2: CTRL+c
  138. # 3: quit
  139. # 4: quit 120s
  140. # 5: stop
  141. # 6: q
  142. # 7: exit
  143. # 8: 7 Days to Die
  144. # 9: GoldSrc
  145. # 10: Avorion
  146. # 11: end
  147. stopmode="4"
  148. ## Query mode
  149. # 1: session only
  150. # 2: gamedig (gsquery fallback)
  151. # 3: gamedig
  152. # 4: gsquery
  153. # 5: tcp
  154. querymode="2"
  155. querytype="protocol-valve"
  156. ## Console type
  157. consoleverbose="yes"
  158. consoleinteract="yes"
  159. ## Game Server Details
  160. # Do not edit
  161. gamename="Rust"
  162. engine="unity3d"
  163. glibc="2.15"
  164. #### Directories ####
  165. # Edit with care
  166. ## Game Server Directories
  167. systemdir="${serverfiles}"
  168. executabledir="${serverfiles}"
  169. executable="./RustDedicated"
  170. serveridentitydir="${systemdir}/server/${selfname}"
  171. servercfgdir="${serveridentitydir}/cfg"
  172. servercfg="server.cfg"
  173. servercfgdefault="server.cfg"
  174. servercfgfullpath="${servercfgdir}/${servercfg}"
  175. ## Backup Directory
  176. backupdir="${lgsmdir}/backup"
  177. ## Logging Directories
  178. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  179. gamelogdir="${logdir}/server"
  180. lgsmlogdir="${logdir}/script"
  181. consolelogdir="${logdir}/console"
  182. gamelog="${gamelogdir}/${selfname}-game.log"
  183. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  184. consolelog="${consolelogdir}/${selfname}-console.log"
  185. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  186. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  187. ## Logs Naming
  188. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  189. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  190. gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
  191. ## Log Parameters
  192. logtimestamp="off"
  193. logtimestampformat="%Y-%m-%d %H:%M:%S"