Browse Source

Added stationeers

still missing full port description
Daniel Gibbs 8 years ago
parent
commit
3ee3540f70
1 changed files with 10 additions and 0 deletions
  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
 	} | 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(){
 fn_info_message_teamspeak3(){
 	echo -e "netstat -atunp | grep ts3server"
 	echo -e "netstat -atunp | grep ts3server"
 	echo -e ""
 	echo -e ""