Quellcode durchsuchen

Added project cars

Daniel Gibbs vor 9 Jahren
Ursprung
Commit
fab297b750
1 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen
  1. 11 0
      lgsm/functions/command_details.sh

+ 11 - 0
lgsm/functions/command_details.sh

@@ -487,6 +487,17 @@ fn_details_mumble(){
 	} | column -s $'\t' -t
 	} | column -s $'\t' -t
 }
 }
 
 
+fn_details_projectcars(){
+	echo -e "netstat -atunp | grep DedicatedS"
+	echo -e ""
+	{
+		echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
+		echo -e "> Game\tINBOUND\t${port}\tudp"
+		echo -e "> Query\tINBOUND\t${queryport}\tudp"
+		echo -e "> Steam\tINBOUND\t${queryport}\tudp"
+	} | column -s $'\t' -t
+}
+
 fn_details_projectzomboid(){
 fn_details_projectzomboid(){
 	echo -e "netstat -atunp | grep java"
 	echo -e "netstat -atunp | grep java"
 	echo -e ""
 	echo -e ""