diff --git a/functions/fn_details b/functions/fn_details index eaed131cc..4870c7900 100644 --- a/functions/fn_details +++ b/functions/fn_details @@ -2,7 +2,7 @@ # LGSM fn_details function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -# Version: 270515 +# Version: 060715 # Description: Displays server infomation. @@ -89,6 +89,9 @@ column -s $'\t' -t .fn_details_gameserver rm -f .fn_details_gameserver echo -e "" echo -e "\e[34mService name:\t\e[0m${servicename}" >> .fn_details_gameserver +if [ -n ${version} ]; then + echo -e "\e[34m${selfname} version:\t\e[0m${version}" >> .fn_details_gameserver +fi echo -e "\e[34mUser:\t\e[0m$(whoami)" >> .fn_details_gameserver echo -e "\e[34mLocation:\t\e[0m${rootdir}" >> .fn_details_gameserver if [ ! -z "${servercfgfullpath}" ]; then @@ -513,4 +516,4 @@ elif [ "${gamename}" == "Teamspeak 3" ]; then fn_details_teamspeak3 else fn_printerrornl "Unable to detect server engine." -fi \ No newline at end of file +fi