From 184337a8592c1fd5dc99c317c7c0123211840ce5 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 31 Aug 2021 20:52:20 +0100 Subject: [PATCH] add bf1942 --- lgsm/functions/info_messages.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index 1ab8aac85..20e3314a5 100755 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -675,16 +675,16 @@ fn_info_message_ports(){ echo -e "${lightblue}Useful port diagnostic command:${default}" if [ "${shortname}" == "av" ]; then echo -e "ss -tuplwn | grep AvorionServer" + elif [ "${shortname}" == "bf1942" ]; then + echo -e "ss -tuplwn | grep bf1942_lnxded" + elif [ "${shortname}" == "mc" ]||[ "${shortname}" == "pmc" ]||[ "${shortname}" == "rw" ]||[ "${shortname}" == "wmc" ]; then + echo -e "ss -tuplwn | grep java" + elif [ "${shortname}" == "terraria" ]; then + echo -e "ss -tuplwn | grep Main" elif [ "${engine}" == "source" ]; then echo -e "ss -tuplwn | grep srcds_linux" elif [ "${engine}" == "goldsrc" ]; then echo -e "ss -tuplwn | grep hlds_linux" - elif [ "${shortname}" == "rw" ]; then - echo -e "ss -tuplwn | grep java" - elif [ "${shortname}" == "terraria" ]; then - echo -e "ss -tuplwn | grep Main" - elif [ "${shortname}" == "mc" ]||[ "${shortname}" == "pmc" ]||[ "${shortname}" == "rw" ]||[ "${shortname}" == "wmc" ]; then - echo -e "ss -tuplwn | grep java" else executableshort="$(echo "${executable//.\/}" | cut -c -15)" echo -e "ss -tuplwn | grep ${executableshort}"