_default.cfg 6.6 KB

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