From 8582f6e2d60b2e1b44501cb5b64fa0fc16396118 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 31 Aug 2021 20:39:26 +0100 Subject: [PATCH] added java --- lgsm/functions/info_messages.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index 3a0ea6774..ae67b0e58 100755 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -683,6 +683,8 @@ fn_info_message_ports(){ 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}"