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}"