|
@@ -286,7 +286,7 @@ fn_details_ports(){
|
|
|
echo -e "Change ports by editing the parameters in:"
|
|
echo -e "Change ports by editing the parameters in:"
|
|
|
|
|
|
|
|
parmslocation="${red}UNKNOWN${default}"
|
|
parmslocation="${red}UNKNOWN${default}"
|
|
|
- local ports_edit_array=( "avalanche" "dontstarve" "projectzomboid" "idtech3" "realvirtuality" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "Teamspeak 3" "7 Days To Die" )
|
|
|
|
|
|
|
+ local ports_edit_array=( "avalanche" "dontstarve" "projectzomboid" "idtech3" "realvirtuality" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "Teamspeak 3" "Mumble" "7 Days To Die" )
|
|
|
for port_edit in "${ports_edit_array[@]}"
|
|
for port_edit in "${ports_edit_array[@]}"
|
|
|
do
|
|
do
|
|
|
if [ "${engine}" == "${port_edit}" ]||[ "${gamename}" == "${port_edit}" ]; then
|
|
if [ "${engine}" == "${port_edit}" ]||[ "${gamename}" == "${port_edit}" ]; then
|
|
@@ -441,6 +441,17 @@ fn_details_teamspeak3(){
|
|
|
} | column -s $'\t' -t
|
|
} | column -s $'\t' -t
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+fn_details_mumble(){
|
|
|
|
|
+ echo -e "netstat -atunp | grep murmur"
|
|
|
|
|
+ echo -e ""
|
|
|
|
|
+ port=$(cat "${servercfgfullpath}" | grep 'port=' | awk -F'=' '{ print $2 }'
|
|
|
|
|
+ {
|
|
|
|
|
+ echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
|
|
|
|
|
+ echo -e "> Voice\tIN&OUT\t${port}\tudp"
|
|
|
|
|
+ echo -e "> ServerQuery\tIN&OUT\t${port}\ttcp"
|
|
|
|
|
+ } | column -s $'\t' -t
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
fn_details_teeworlds(){
|
|
fn_details_teeworlds(){
|
|
|
echo -e "netstat -atunp | grep teeworlds_srv"
|
|
echo -e "netstat -atunp | grep teeworlds_srv"
|
|
|
echo -e ""
|
|
echo -e ""
|
|
@@ -608,6 +619,8 @@ elif [ "${gamename}" == "7 Days To Die" ]; then
|
|
|
fn_details_sdtd
|
|
fn_details_sdtd
|
|
|
elif [ "${gamename}" == "Teamspeak 3" ]; then
|
|
elif [ "${gamename}" == "Teamspeak 3" ]; then
|
|
|
fn_details_teamspeak3
|
|
fn_details_teamspeak3
|
|
|
|
|
+elif [ "${gamename}" == "Mumble" ]; then
|
|
|
|
|
+ fn_details_mumble
|
|
|
elif [ "${gamename}" == "Rust" ]; then
|
|
elif [ "${gamename}" == "Rust" ]; then
|
|
|
fn_details_rust
|
|
fn_details_rust
|
|
|
else
|
|
else
|
|
@@ -615,4 +628,4 @@ else
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
fn_details_statusbottom
|
|
fn_details_statusbottom
|
|
|
-core_exit.sh
|
|
|
|
|
|
|
+core_exit.sh
|