Can someone help me get just the Hostname from this Minecraft Query by xPaw.
Here is the repo: https://github.com/xPaw/PHP-Minecraft-Query
I believe i add something after GetInfo( ).
<?php
require('MinecraftQuery.class.php');
$Query = new MinecraftQuery( );
try
{
$Query->Connect( 'localhost', 25565 );
print_r( $Query->GetInfo( ));
}
catch( MinecraftQueryException $e )
{
echo $e->getMessage( );
}
?>