diff --git a/lgsm/functions/info_config.sh b/lgsm/functions/info_config.sh index 2af36a53c..c2545dc48 100644 --- a/lgsm/functions/info_config.sh +++ b/lgsm/functions/info_config.sh @@ -212,7 +212,7 @@ fn_info_config_bfv(){ serverpassword=$(grep "game.serverPassword" "${servercfgfullpath}" | sed -e 's/^ *//g' -e '/^--/d' -e 's/game.serverPassword//g' | tr -d '=\";,:' | xargs) maxplayers=$(grep "game.serverMaxPlayers" "${servercfgfullpath}" | grep -v "\--" | tr -cd '[:digit:]') port=$(grep "game.serverPort" "${servercfgfullpath}" | grep -v "\--" | tr -cd '[:digit:]') - queryport="22000" + queryport="23000" ip=$(grep "game.serverIP" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^--/d' -e 's/game.serverIP//g' | tr -d '=\";,:' | xargs) ipsetinconfig=1 diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index aa615f4b7..2f89bea89 100644 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -983,7 +983,7 @@ fn_info_message_bf1942(){ } fn_info_message_bfv(){ - echo -e "netstat -atunp | grep bf1942_lnxd" + echo -e "netstat -atunp | grep bfv_linde" echo -e "" { echo -e "${lightblue}DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL${default}"