|
@ -384,7 +384,7 @@ fn_details_refractor(){ |
|
|
} | column -s $'\t' -t |
|
|
} | column -s $'\t' -t |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
fn_details_idtech3(){ |
|
|
fn_details_quakelive(){ |
|
|
echo -e "netstat -atunp | grep qzeroded" |
|
|
echo -e "netstat -atunp | grep qzeroded" |
|
|
echo -e "" |
|
|
echo -e "" |
|
|
if [ -z "${port}" ]||[ -z "${rconport}" ]||[ -z "${statsport}" ]; then |
|
|
if [ -z "${port}" ]||[ -z "${rconport}" ]||[ -z "${statsport}" ]; then |
|
@ -399,6 +399,19 @@ fn_details_idtech3(){ |
|
|
} | column -s $'\t' -t |
|
|
} | column -s $'\t' -t |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
fn_details_wolfensteinenemyterritory(){ |
|
|
|
|
|
echo -e "netstat -atunp | grep etded" |
|
|
|
|
|
echo -e "" |
|
|
|
|
|
if [ -z "${port}" ]||[ -z "${rconport}" ]||[ -z "${statsport}" ]; then |
|
|
|
|
|
echo -e "${red}ERROR!${default} Missing/commented ports in ${servercfg}." |
|
|
|
|
|
echo -e "" |
|
|
|
|
|
fi |
|
|
|
|
|
{ |
|
|
|
|
|
echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL" |
|
|
|
|
|
echo -e "> Game\tINBOUND\t${port}\tudp" |
|
|
|
|
|
} | column -s $'\t' -t |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fn_details_seriousengine35(){ |
|
|
fn_details_seriousengine35(){ |
|
|
echo -e "netstat -atunp | grep Sam3_Dedicate" |
|
|
echo -e "netstat -atunp | grep Sam3_Dedicate" |
|
@ -621,8 +634,6 @@ fn_display_details() { |
|
|
fn_details_minecraft |
|
|
fn_details_minecraft |
|
|
elif [ "${engine}" == "projectzomboid" ]; then |
|
|
elif [ "${engine}" == "projectzomboid" ]; then |
|
|
fn_details_projectzomboid |
|
|
fn_details_projectzomboid |
|
|
elif [ "${engine}" == "idtech3" ]; then |
|
|
|
|
|
fn_details_idtech3 |
|
|
|
|
|
elif [ "${engine}" == "realvirtuality" ]; then |
|
|
elif [ "${engine}" == "realvirtuality" ]; then |
|
|
fn_details_realvirtuality |
|
|
fn_details_realvirtuality |
|
|
elif [ "${engine}" == "seriousengine35" ]; then |
|
|
elif [ "${engine}" == "seriousengine35" ]; then |
|
@ -639,18 +650,22 @@ fn_display_details() { |
|
|
fn_details_terraria |
|
|
fn_details_terraria |
|
|
elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then |
|
|
elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then |
|
|
fn_details_unreal |
|
|
fn_details_unreal |
|
|
|
|
|
elif [ "${gamename}" == "7 Days To Die" ]; then |
|
|
|
|
|
fn_details_sdtd |
|
|
elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then |
|
|
elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then |
|
|
fn_details_ark |
|
|
fn_details_ark |
|
|
elif [ "${gamename}" == "Hurtworld" ]; then |
|
|
elif [ "${gamename}" == "Hurtworld" ]; then |
|
|
fn_details_hurtworld |
|
|
fn_details_hurtworld |
|
|
elif [ "${gamename}" == "7 Days To Die" ]; then |
|
|
elif [ "${gamename}" == "Quake Live" ]; then |
|
|
fn_details_sdtd |
|
|
fn_details_quakelive |
|
|
elif [ "${gamename}" == "TeamSpeak 3" ]; then |
|
|
elif [ "${gamename}" == "TeamSpeak 3" ]; then |
|
|
fn_details_teamspeak3 |
|
|
fn_details_teamspeak3 |
|
|
elif [ "${gamename}" == "Mumble" ]; then |
|
|
elif [ "${gamename}" == "Mumble" ]; then |
|
|
fn_details_mumble |
|
|
fn_details_mumble |
|
|
elif [ "${gamename}" == "Rust" ]; then |
|
|
elif [ "${gamename}" == "Rust" ]; then |
|
|
fn_details_rust |
|
|
fn_details_rust |
|
|
|
|
|
elif [ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then |
|
|
|
|
|
fn_details_wolfensteinenemyterritory |
|
|
else |
|
|
else |
|
|
fn_print_error_nl "Unable to detect server engine." |
|
|
fn_print_error_nl "Unable to detect server engine." |
|
|
fi |
|
|
fi |
|
|