<dd><code><ahref="../../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a></code>, <code><ahref="StatusClient.html"title="interface in com.destroystokyo.paper.network">StatusClient</a></code></dd>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/InetSocketAddress.html"title="class or interface in java.net"class="external-link">InetSocketAddress</a></code></div>
<divclass="block">Returns the protocol version of the client.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/InetSocketAddress.html"title="class or interface in java.net"class="external-link">InetSocketAddress</a></code></div>
<divclass="block">Returns the virtual host the client is connected to.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="getAddress()">
<h3>getAddress</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/InetSocketAddress.html"title="class or interface in java.net"class="external-link">InetSocketAddress</a></span> <spanclass="element-name">getAddress</span>()</div>
<divclass="block">Returns the socket address of the client.</div>
<divclass="block">Returns the protocol version of the client.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The client's protocol version, or <code>-1</code> if unknown</dd>
<dt>See Also:</dt>
<dd>
<ulclass="see-list-long">
<li><ahref="http://wiki.vg/Protocol_version_numbers">List of protocol
version numbers</a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getVirtualHost()">
<h3>getVirtualHost</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/InetSocketAddress.html"title="class or interface in java.net"class="external-link">InetSocketAddress</a></span> <spanclass="element-name">getVirtualHost</span>()</div>
<divclass="block">Returns the virtual host the client is connected to.
<p>The virtual host refers to the hostname/port the client used to
connect to the server.</p></div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The client's virtual host, or <code>null</code> if unknown</dd>