Explorar o código

Added stationeers

still missing full port description
Daniel Gibbs %!s(int64=8) %!d(string=hai) anos
pai
achega
3ee3540f70
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      lgsm/functions/info_messages.sh

+ 10 - 0
lgsm/functions/info_messages.sh

@@ -835,6 +835,16 @@ fn_info_message_starbound(){
 	} | column -s $'\t' -t
 }
 
+fn_info_message_stationeers(){
+	echo -e "netstat -atunp | grep rocketstation"
+	echo -e ""
+	{
+		echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
+		echo -e "> Game\tINBOUND\t${port}\ttcp"
+		echo -e "> Query\tINBOUND\t${queryport}\ttcp"
+	} | column -s $'\t' -t
+}
+
 fn_info_message_teamspeak3(){
 	echo -e "netstat -atunp | grep ts3server"
 	echo -e ""