Browse Source

New start parms

pull/713/head
lrob 9 years ago
parent
commit
6b89e412a1
  1. 5
      Rust/rustserver

5
Rust/rustserver

@ -28,17 +28,18 @@ servername="Rust LGSM Server"
ip="0.0.0.0"
port="28015" #+server.port
rconport="28016" #+rcon.port
rconpassword="" #+rcon.password
maxplayers="40" #+max.players
map="" #Optional +server.map "Procedural Map" or TestLevel
# Advanced
worldsize="4000" #+server.worldsize default 4000
saveinterval="600" #+server.saveinterval default 600 (seconds)
saveinterval="300" #+server.saveinterval in seconds
logfile="\"gamelog.txt\""
# https://developer.valvesoftware.com/wiki/Rust_Dedicated_Server
fn_parms(){
parms="-batchmode +server.hostname \"${servername}\" +server.identity \"${servicename}\" +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.port ${rconport} -datadir \"serverdata/\" -logfile ${logfile}"
parms="-batchmode +server.hostname \"${servername}\" +server.identity \"${servicename}\" +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -datadir \"serverdata/\" -logfile ${logfile}"
}
#### Advanced Variables ####

Loading…
Cancel
Save