diff --git a/Rust/rustserver b/Rust/rustserver index 003fcca06..d4737e38d 100644 --- a/Rust/rustserver +++ b/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 ####