<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#addTopic(org.bukkit.help.HelpTopic)"class="member-name-link">addTopic</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="HelpTopic.html"title="class in org.bukkit.help">HelpTopic</a> topic)</code></div>
<divclass="block">Clears out the contents of the help index.</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="HelpTopic.html"title="class in org.bukkit.help">HelpTopic</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#getHelpTopic(java.lang.String)"class="member-name-link">getHelpTopic</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> topicName)</code></div>
<divclass="block">Returns a help topic for a given topic name.</div>
</div>
<divclass="col-first odd-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/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="HelpTopic.html"title="class in org.bukkit.help">HelpTopic</a>></code></div>
<divclass="block">Returns a collection of all the registered help topics.</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/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/util/List.html"title="class or interface in java.util"class="external-link">List</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>></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#registerHelpTopicFactory(java.lang.Class,org.bukkit.help.HelpTopicFactory)"class="member-name-link">registerHelpTopicFactory</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/Class.html"title="class or interface in java.lang"class="external-link">Class</a><?> commandClass,
<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="HelpTopicFactory.html"title="interface in org.bukkit.help">HelpTopicFactory</a><?> factory)</code></div>
<divclass="block">Associates a <ahref="HelpTopicFactory.html"title="interface in org.bukkit.help"><code>HelpTopicFactory</code></a> object with given command base
<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="HelpTopic.html"title="class in org.bukkit.help">HelpTopic</a></span> <spanclass="element-name">getHelpTopic</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> topicName)</span></div>
<divclass="block">Returns a help topic for a given topic name.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>topicName</code> - The help topic name to look up.</dd>
<dt>Returns:</dt>
<dd>A <ahref="HelpTopic.html"title="class in org.bukkit.help"><code>HelpTopic</code></a> object matching the topic name or null if
none can be found.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getHelpTopics()">
<h3>getHelpTopics</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/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="HelpTopic.html"title="class in org.bukkit.help">HelpTopic</a>></span> <spanclass="element-name">getHelpTopics</span>()</div>
<divclass="block">Returns a collection of all the registered help topics.</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">addTopic</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="HelpTopic.html"title="class in org.bukkit.help">HelpTopic</a> topic)</span></div>
<divclass="block">Adds a topic to the server's help index.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>topic</code> - The new help topic to add.</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">registerHelpTopicFactory</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/Class.html"title="class or interface in java.lang"class="external-link">Class</a><?> commandClass,
<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="HelpTopicFactory.html"title="interface in org.bukkit.help">HelpTopicFactory</a><?> factory)</span></div>
<divclass="block">Associates a <ahref="HelpTopicFactory.html"title="interface in org.bukkit.help"><code>HelpTopicFactory</code></a> object with given command base
class. Plugins typically call this method during <code>onLoad()</code>. Once
registered, the custom HelpTopicFactory will be used to create a custom
<ahref="HelpTopic.html"title="class in org.bukkit.help"><code>HelpTopic</code></a> for all commands deriving from the <code>
commandClass</code> base class, or all commands deriving from <ahref="../command/PluginCommand.html"title="class in org.bukkit.command"><code>PluginCommand</code></a> who's executor derives from <code>
commandClass</code> base class.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>commandClass</code> - The class for which the custom HelpTopicFactory
applies. Must derive from either <ahref="../command/Command.html"title="class in org.bukkit.command"><code>Command</code></a>
or <ahref="../command/CommandExecutor.html"title="interface in org.bukkit.command"><code>CommandExecutor</code></a>.</dd>
<dd><code>factory</code> - The <ahref="HelpTopicFactory.html"title="interface in org.bukkit.help"><code>HelpTopicFactory</code></a> implementation to associate
with the <code>commandClass</code>.</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html"title="class or interface in java.lang"class="external-link">IllegalArgumentException</a></code> - Thrown if <code>commandClass</code> does
not derive from a legal base class.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getIgnoredPlugins()">
<h3>getIgnoredPlugins</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/util/List.html"title="class or interface in java.util"class="external-link">List</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>></span> <spanclass="element-name">getIgnoredPlugins</span>()</div>
<divclass="block">Gets the list of plugins the server administrator has chosen to exclude
from the help index. Plugin authors who choose to directly extend
<ahref="../command/Command.html"title="class in org.bukkit.command"><code>Command</code></a> instead of <ahref="../command/PluginCommand.html"title="class in org.bukkit.command"><code>PluginCommand</code></a> will need to check this collection in
their <ahref="HelpTopicFactory.html"title="interface in org.bukkit.help"><code>HelpTopicFactory</code></a> implementations to ensure they meet the
server administrator's expectations.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>A list of plugins that should be excluded from the help index.</dd>