Advertisement
MajorH

Config details: rustserver

Feb 14th, 2018
541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. ##################################
  2. ######## Instance Settings ########
  3. ##################################
  4. # PLACE INSTANCE SETTINGS HERE
  5. ## These settings will apply to a specific instance##################################
  6. ######## Default Settings ########
  7. ##################################
  8. # DO NOT EDIT WILL BE OVERWRITTEN!
  9. # Copy settings from here and use them in either
  10. # common.cfg - applies settings to every instance
  11. # [instance].cfg - applies settings to a specific instance
  12.  
  13. #### Server Settings ####
  14.  
  15. ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
  16. # More settings available after install in serverfiles/server/rust-server/server.cfg
  17. ip="35.199.35.69"
  18. port="28221"
  19. rconport="28223"
  20. rconpassword="**********"
  21. rconweb="0" # Value is: 1 for Facepunch's web panel; 0 for RCON tools like Rusty or Rustadmin
  22. servername="TBSTESTTBS"
  23. maxplayers="50"
  24.  
  25. # Advanced Start Settings
  26. seed="1" # default random; range : 1 to 2147483647 ; used to change or reproduce a procedural map
  27. worldsize="1000" # default 3000; range : 1000 to 6000 ; map size in meters
  28. saveinterval="300" # Auto-save in seconds
  29. tickrate="30" # default 30; range : 15 to 100
  30.  
  31. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  32. fn_parms(){
  33. # Specific to Rust
  34. if [ -n "${seed}" ]; then
  35. # If set, then add to start parms
  36. conditionalseed="+server.seed ${seed}"
  37. else
  38. # Keep randomness of the number if not set
  39. conditionalseed=""
  40. fi
  41. parms="-batchmode +server.ip ${ip} +server.port ${port} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${servicename}\" ${conditionalseed} +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.web ${rconweb} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -logfile \"${gamelogdate}\""
  42. }
  43.  
  44. #### LinuxGSM Settings ####
  45.  
  46. ## Notification Alerts
  47. # (on|off)
  48.  
  49. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  50. postalert="off"
  51. postdays="7"
  52. posttarget="https://hastebin.com"
  53.  
  54. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  55. discordalert="off"
  56. discordwebhook="webhook"
  57.  
  58. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  59. emailalert="off"
  60. email="email@example.com"
  61. emailfrom=""
  62.  
  63. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  64. iftttalert="off"
  65. ifttttoken="accesstoken"
  66. iftttevent="linuxgsm_alert"
  67.  
  68. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  69. mailgunalert="off"
  70. mailguntoken="accesstoken"
  71. mailgundomain="example.com"
  72. mailgunemailfrom="alert@example.com"
  73. mailgunemail="email@myemail.com"
  74.  
  75. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  76. pushbulletalert="off"
  77. pushbullettoken="accesstoken"
  78. channeltag=""
  79.  
  80. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  81. pushoveralert="off"
  82. pushovertoken="accesstoken"
  83.  
  84. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  85. telegramalert="off"
  86. telegramtoken="accesstoken"
  87. telegramchatid=""
  88.  
  89. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  90. updateonstart="off"
  91.  
  92. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  93. maxbackups="4"
  94. maxbackupdays="30"
  95. stoponbackup="on"
  96.  
  97. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  98. consolelogging="on"
  99. logdays="7"
  100.  
  101. #### LinuxGSM Advanced Settings ####
  102.  
  103. ## SteamCMD Settings
  104. # Server appid
  105. appid="258550"
  106. # Steam App Branch Select
  107. # Allows to opt into the various Steam app branches. Default branch is "".
  108. # Example: "-beta latest_experimental"
  109. branch=""
  110.  
  111. ## LinuxGSM Server Details
  112. # Do not edit
  113. gamename="Rust"
  114. engine="unity3d"
  115.  
  116. #### Directories ####
  117. # Edit with care
  118.  
  119. ## Server Specific Directories
  120. systemdir="${serverfiles}"
  121. executabledir="${serverfiles}"
  122. executable="./RustDedicated"
  123. serveridentitydir="${systemdir}/server/${servicename}"
  124. servercfg="server.cfg"
  125. servercfgdefault="server.cfg"
  126. servercfgdir="${serveridentitydir}/cfg"
  127. servercfgfullpath="${servercfgdir}/${servercfg}"
  128.  
  129. ## Backup Directory
  130. backupdir="${rootdir}/backups"
  131.  
  132. ## Logging Directories
  133. logdir="${rootdir}/log"
  134. gamelogdir="${logdir}/server"
  135. lgsmlogdir="${logdir}/script"
  136. consolelogdir="${logdir}/console"
  137. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  138. consolelog="${consolelogdir}/${servicename}-console.log"
  139. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  140. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  141.  
  142. ## Logs Naming
  143. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  144. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  145. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement