Add Steam connect link to status output

This commit is contained in:
Ben Peddell 2018-03-31 03:02:27 +10:00 committed by GitHub
parent 848dcf6c2f
commit 4778815a66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2921,6 +2921,7 @@ printStatus(){
if isTheServerOnline; then
echo -e "$NORMAL" "Server online: " "$GREEN" "Yes" "$NORMAL"
echo -e "$NORMAL" "ARKServers link: " "$GREEN" "http://arkservers.net/server/${publicip}:$(getQueryPort)" "$NORMAL"
echo -e "$NORMAL" "Steam connect link: " "$GREEN" "steam://connect/${publicip}:$(getQueryPort)" "$NORMAL"
else
echo -e "$NORMAL" "Server online: " "$RED" "No" "$NORMAL"
fi