|
|
@ -33,12 +33,12 @@ map="" #Optional +server.map "Procedural Map" or TestLevel |
|
|
|
|
|
|
|
# Advanced |
|
|
|
worldsize="4000" #+server.worldsize default 4000 |
|
|
|
saveinterval="600" #+server.saveinterval default 600 |
|
|
|
saveinterval="600" #+server.saveinterval default 600 (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} -datadir \"serverdata/\" -logfile ${logfile}" |
|
|
|
parms="-batchmode +server.hostname \"${servername}\" +server.identity \"${servicename}\" +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} -datadir \"serverdata/\" -logfile ${logfile}" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|