<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<dd><code><ahref="VersionFetcher.html"title="interface in com.destroystokyo.paper.util">VersionFetcher</a></code></dd>
</dl>
<dlclass="notes">
<dt>Enclosing interface:</dt>
<dd><ahref="VersionFetcher.html"title="interface in com.destroystokyo.paper.util">VersionFetcher</a></dd>
</dl>
<hr>
<divclass="type-signature"><spanclass="modifiers">public static class </span><spanclass="element-name type-name-label">VersionFetcher.DummyVersionFetcher</span>
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a>
implements <ahref="VersionFetcher.html"title="interface in com.destroystokyo.paper.util">VersionFetcher</a></span></div>
<h2id="nested-classes-inherited-from-class-com.destroystokyo.paper.util.VersionFetcher">Nested classes/interfaces inherited from interface com.destroystokyo.paper.util.<ahref="VersionFetcher.html"title="interface in com.destroystokyo.paper.util">VersionFetcher</a></h2>
<code><ahref="VersionFetcher.DummyVersionFetcher.html"title="class in com.destroystokyo.paper.util">VersionFetcher.DummyVersionFetcher</a></code></div>
<divclass="block">Amount of time to cache results for in milliseconds</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#getVersionMessage(java.lang.String)"class="member-name-link">getVersionMessage</a><wbr>(<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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> serverVersion)</code></div>
<divclass="block">Gets the version message to cache and show to command senders.</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()"title="class or interface in java.lang"class="external-link">toString</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="VersionFetcher.html#getCacheTime()">VersionFetcher</a></code></span></div>
<divclass="block">Amount of time to cache results for in milliseconds
<p>
Negative values will never cache.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="VersionFetcher.html#getCacheTime()">getCacheTime</a></code> in interface <code><ahref="VersionFetcher.html"title="interface in com.destroystokyo.paper.util">VersionFetcher</a></code></dd>
<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="modifiers">public</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://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></span> <spanclass="element-name">getVersionMessage</span><wbr><spanclass="parameters">(<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://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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> serverVersion)</span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="VersionFetcher.html#getVersionMessage(java.lang.String)">VersionFetcher</a></code></span></div>
<divclass="block">Gets the version message to cache and show to command senders.
<p>NOTE: This is run in a new thread separate from that of the command processing thread</p></div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="VersionFetcher.html#getVersionMessage(java.lang.String)">getVersionMessage</a></code> in interface <code><ahref="VersionFetcher.html"title="interface in com.destroystokyo.paper.util">VersionFetcher</a></code></dd>
<dt>Parameters:</dt>
<dd><code>serverVersion</code> - the current version of the server (will match <ahref="../../../../org/bukkit/Bukkit.html#getVersion()"><code>Bukkit.getVersion()</code></a>)</dd>
<dt>Returns:</dt>
<dd>the message to show when requesting a version</dd>