diff --git a/lgsm/config-default/config-lgsm/mofmserver/_default.cfg b/lgsm/config-default/config-lgsm/mofmserver/_default.cfg index a82d95909..97c946126 100644 --- a/lgsm/config-default/config-lgsm/mofmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mofmserver/_default.cfg @@ -17,14 +17,14 @@ port="7777" queryport="15000" # Overrides the IP address the server is running on. The server will use one of the available IP addresses but will not ascertain that this is a publicly reachable IP address. Used in Multi-IP environments. -multihome="0.0.0.0" +ip="10.0.2.6" # Maximal number of players for the server. Default is 2. maxplayers="32" ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters fn_parms(){ -parms="-port=${port} -BeaconPort=${queryport} -MULTIHOME="${multihome}" -maxplayers=${maxplayers}" +parms="-port=${port} -BeaconPort=${queryport} -MULTIHOME="${ip}" -maxplayers=${maxplayers}" } #### LinuxGSM Settings #### @@ -140,7 +140,7 @@ stopmode="2" # 3: gamedig # 4: gsquery # 5: tcp -querymode="2" +querymode="1" querytype="protocol-valve" ## Game Server Details diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index 5c7fda1ae..d5f07baa8 100644 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -872,7 +872,7 @@ fn_info_message_mohaa(){ } fn_info_message_mofm(){ - echo -e "netstat -atunp | grep MemoriesOfMars" + echo -e "netstat -atunp | grep MemoriesOfMa" echo -e "" { echo -e "${lightblue}DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL${default}"