|
|
@ -226,14 +226,6 @@ echo -e "" |
|
|
|
# Engine Specific details |
|
|
|
|
|
|
|
fn_details_avalanche(){ |
|
|
|
check_ip.sh |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -252,14 +244,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_dontstarve(){ |
|
|
|
check_ip.sh |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -278,14 +262,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_projectzomboid(){ |
|
|
|
check_ip.sh |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -305,16 +281,6 @@ fn_details_statusbottom |
|
|
|
|
|
|
|
|
|
|
|
fn_details_realvirtuality(){ |
|
|
|
check_ip.sh |
|
|
|
fn_parms |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -339,16 +305,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_seriousengine35(){ |
|
|
|
check_ip.sh |
|
|
|
fn_parms |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -368,16 +324,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_source(){ |
|
|
|
check_ip.sh |
|
|
|
fn_parms |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -400,16 +346,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_spark(){ |
|
|
|
check_ip.sh |
|
|
|
fn_parms |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -438,16 +374,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_starbound(){ |
|
|
|
check_ip.sh |
|
|
|
fn_parms |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -469,14 +395,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_teamspeak3(){ |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -497,16 +415,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_teeworlds(){ |
|
|
|
check_ip.sh |
|
|
|
fn_parms |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -525,16 +433,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_terraria(){ |
|
|
|
check_ip.sh |
|
|
|
fn_parms |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -555,16 +453,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_sdtd(){ |
|
|
|
fn_check_ip.sh |
|
|
|
fn_parms |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -602,16 +490,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_hurtworld(){ |
|
|
|
check_ip.sh |
|
|
|
fn_parms |
|
|
|
fn_details_config |
|
|
|
fn_details_distro |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -633,16 +511,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_unreal(){ |
|
|
|
check_ip.sh |
|
|
|
fn_parms |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -690,16 +558,6 @@ fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
fn_details_ark(){ |
|
|
|
check_ip.sh |
|
|
|
fn_parms |
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_disk |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
fn_details_commandlineparms |
|
|
|
echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
@ -718,6 +576,10 @@ echo -e "" |
|
|
|
fn_details_statusbottom |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Run checks and gathers details to display. |
|
|
|
check.sh |
|
|
|
|
|
|
|
if [ ! -e "${servercfgfullpath}" ]; then |
|
|
|
if [ "${gamename}" != "Hurtworld" ]; then |
|
|
|
echo "" |
|
|
@ -734,8 +596,21 @@ if [ ! -e "${servercfgfullpath}" ]; then |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
info_config.sh |
|
|
|
info_distro.sh |
|
|
|
info_glibc.sh |
|
|
|
fn_details_os |
|
|
|
fn_details_performance |
|
|
|
fn_details_gameserver |
|
|
|
fn_details_backup |
|
|
|
# Some game servers do not have parms. |
|
|
|
if [ "${gamename}" != "Teamspeak 3" ]||[ "${engine}" != "avalanche" ]||[ "${engine}" != "dontstarve" ]||[ "${engine}" == "projectzomboid" ]; then |
|
|
|
fn_parms |
|
|
|
fn_details_commandlineparms |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Display details depending on game or engine. |
|
|
|
if [ "${engine}" == "avalanche" ]; then |
|
|
|
fn_details_avalanche |
|
|
|
elif [ "${engine}" == "dontstarve" ]; then |
|
|
|