|
|
@ -22,9 +22,9 @@ maxplayers="28" |
|
|
|
fn_parms(){ |
|
|
|
# Allows serverpassword to work with parameters |
|
|
|
if [ "${serverpassword}" != "NOT SET" ]; then |
|
|
|
parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}?password="${serverpassword}" -hostname="${servername}" -log" |
|
|
|
parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}?password="${serverpassword}" -hostname="${servername}" -log" |
|
|
|
else |
|
|
|
parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport} -hostname="${servername}" -log" |
|
|
|
parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport} -hostname="${servername}" -log" |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|