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