Browse Source

add rcon to insserver

pull/3428/head
Daniel Gibbs 4 years ago
parent
commit
3e30f1f9d7
  1. 4
      lgsm/config-default/config-lgsm/inssserver/_default.cfg
  2. 4
      lgsm/functions/info_messages.sh
  3. 1
      lgsm/functions/info_parms.sh

4
lgsm/config-default/config-lgsm/inssserver/_default.cfg

@ -12,6 +12,8 @@
ip="0.0.0.0"
port="27102"
queryport="27131"
rconport="27015"
rconpassword=""
servername="LinuxGSM Server"
defaultmap="Canyon"
defaultscenario="Scenario_Crossing_Push_Security"
@ -19,7 +21,7 @@ maxplayers="28"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
## Parameter Docs | https://sandstorm-support.newworldinteractive.com/hc/en-us/articles/360049211072-Server-Admin-Guide
startparameters="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers} -Port=${port} -QueryPort=${queryport} -hostname='${servername}' -log"
startparameters="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers} -Port=${port} -QueryPort=${queryport} -hostname='${servername}' -Rcon -RconPassword=${rconpassword} -RconListenPort=${rconport} -log"
#### LinuxGSM Settings ####

4
lgsm/functions/info_messages.sh

@ -871,7 +871,7 @@ fn_info_message_goldsrc(){
} | column -s $'\t' -t
}
fn_info_message_hurtworld(){
fn_info_message_hw(){
{
echo -e "${lightblue}DESCRIPTION\tPORT\tPROTOCOL\tLISTEN${default}"
echo -e "Game\t${port}\tudp\t$(echo "${ssinfo}" | grep ${port} | wc -l)"
@ -1463,7 +1463,7 @@ fn_info_message_select_engine(){
elif [ "${shortname}" == "fctr" ]; then
fn_info_message_factorio
elif [ "${shortname}" == "hw" ]; then
fn_info_message_hurtworld
fn_info_message_hw
elif [ "${shortname}" == "inss" ]; then
fn_info_message_inss
elif [ "${shortname}" == "jk2" ]; then

1
lgsm/functions/info_parms.sh

@ -68,6 +68,7 @@ fn_info_parms_hurtworld(){
fn_info_parms_inss(){
port=${port:-"0"}
queryport=${queryport:-"0"}
rconport=${port:-"0"}
servername=${servername:-"NOT SET"}
serverpassword=${serverpassword:-"NOT SET"}
defaultmap=${defaultmap:-"NOT SET"}

Loading…
Cancel
Save