Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.12 KB | None | 0 0
  1. ##################################
  2. ######## Default Settings ########
  3. ##################################
  4. # DO NOT EDIT 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.  
  9. #### Server Settings ####
  10.  
  11. ## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
  12. # More settings available after install in serverfiles/server/rust-server/server.cfg
  13. ip="177.54.148.95"
  14. port="28015"
  15. rconport="28016"
  16. rconpassword="123123123123123"
  17. rconweb="1" # Value is: 1 for Facepunch's web panel; 0 for RCON tools like Rusty or Rustadmin
  18. servername="[BR|20X] VELHO OESTE BRASIL | WIPOU AGORA 22/08 AS 17:00H"
  19. maxplayers="100"
  20.  
  21. # Advanced Start Settings
  22. seed="1014" # default random; range : 1 to 2147483647 ; used to change or reproduce a procedural map
  23. salt="" # default random; range : unknown range ; used to recover a known setting from an existing map
  24. worldsize="3500" # default 3000; range : 1000 to 6000 ; map size in meters
  25. saveinterval="300" # Auto-save in seconds
  26. tickrate="30" # default 30; range : 15 to 100
  27.  
  28. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  29. fn_parms(){
  30. # Specific to Rust
  31. if [ -n "${seed}" ]; then
  32. # If set, then add to start parms
  33. conditionalseed="+server.seed ${seed}"
  34. else
  35. # Keep randomness of the number if not set
  36. conditionalseed=""
  37. fi
  38. if [ -n "${salt}" ]; then
  39. # If set, then add to start parms
  40. conditionalsalt="+server.salt ${salt}"
  41. else
  42. # Keep randomness of the number if not set
  43. conditionalsalt=""
  44. fi
  45. parms="-batchmode +server.ip ${ip} +server.port ${port} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${servicename}\" ${conditionalseed} ${conditionalsalt} +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.web ${rconweb} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -logfile \"${gamelogdate}\""
  46. }
  47.  
  48. #### LinuxGSM Settings ####
  49.  
  50. ## Notification Alerts
  51. # (on|off)
  52.  
  53. # More info | https://docs.linuxgsm.com/alerts#more-info
  54. postalert="off"
  55. postdays="7"
  56. posttarget="https://hastebin.com"
  57.  
  58. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  59. discordalert="off"
  60. discordwebhook="webhook"
  61.  
  62. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  63. emailalert="off"
  64. email="email@example.com"
  65. emailfrom=""
  66.  
  67. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  68. iftttalert="off"
  69. ifttttoken="accesstoken"
  70. iftttevent="linuxgsm_alert"
  71.  
  72. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  73. mailgunalert="off"
  74. mailguntoken="accesstoken"
  75. mailgundomain="example.com"
  76. mailgunemailfrom="alert@example.com"
  77. mailgunemail="email@myemail.com"
  78.  
  79. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  80. pushbulletalert="off"
  81. pushbullettoken="accesstoken"
  82. channeltag=""
  83.  
  84. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  85. pushoveralert="off"
  86. pushovertoken="accesstoken"
  87.  
  88. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  89. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  90. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  91. # any custom string in curl - simple ignore this parameter.
  92. telegramalert="off"
  93. telegramtoken="accesstoken"
  94. telegramchatid=""
  95. curlcustomstring=""
  96.  
  97. ## Updating | https://docs.linuxgsm.com/commands/update
  98. updateonstart="off"
  99.  
  100. ## Backup | https://docs.linuxgsm.com/commands/backup
  101. maxbackups="4"
  102. maxbackupdays="30"
  103. stoponbackup="on"
  104.  
  105. ## Logging | https://docs.linuxgsm.com/features/logging
  106. consolelogging="on"
  107. logdays="7"
  108.  
  109. #### LinuxGSM Advanced Settings ####
  110.  
  111. # ANSI Colors
  112. ansi="on"
  113.  
  114. ## SteamCMD Settings
  115. # Server appid
  116. appid="258550"
  117. # Steam App Branch Select
  118. # Allows to opt into the various Steam app branches. Default branch is "".
  119. # Example: "-beta latest_experimental"
  120. branch=""
  121.  
  122. ## LinuxGSM Server Details
  123. # Do not edit
  124. gamename="Rust"
  125. engine="unity3d"
  126.  
  127. #### Directories ####
  128. # Edit with care
  129.  
  130. ## Server Specific Directories
  131. systemdir="${serverfiles}"
  132. executabledir="${serverfiles}"
  133. executable="./RustDedicated"
  134. serveridentitydir="${systemdir}/server/${servicename}"
  135. servercfg="server.cfg"
  136. servercfgdefault="server.cfg"
  137. servercfgdir="${serveridentitydir}/cfg"
  138. servercfgfullpath="${servercfgdir}/${servercfg}"
  139.  
  140. ## Backup Directory
  141. backupdir="${rootdir}/backups"
  142.  
  143. ## Logging Directories
  144. logdir="${rootdir}/log"
  145. gamelogdir="${logdir}/server"
  146. lgsmlogdir="${logdir}/script"
  147. consolelogdir="${logdir}/console"
  148. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  149. consolelog="${consolelogdir}/${servicename}-console.log"
  150. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  151. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  152.  
  153. ## Logs Naming
  154. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  155. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  156. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement