Package | Description |
---|---|
org.bukkit.command.defaults |
Commands for emulating the Minecraft commands and other necessary ones for
use by a Bukkit implementation.
|
org.bukkit.help |
Classes used to manipulate the default command and topic assistance system.
|
Modifier and Type | Method | Description |
---|---|---|
protected HelpTopic |
HelpCommand.findPossibleMatches(java.lang.String searchString) |
Modifier and Type | Class | Description |
---|---|---|
class |
GenericCommandHelpTopic |
Lacking an alternative, the help system will create instances of
GenericCommandHelpTopic for each command in the server's CommandMap.
|
class |
IndexHelpTopic |
This help topic generates a list of other help topics.
|
Modifier and Type | Field | Description |
---|---|---|
protected java.util.Collection<HelpTopic> |
IndexHelpTopic.allTopics |
Modifier and Type | Method | Description |
---|---|---|
HelpTopic |
HelpTopicFactory.createTopic(TCommand command) |
This method accepts a command deriving from a custom command base class
and constructs a custom HelpTopic for it.
|
HelpTopic |
HelpMap.getHelpTopic(java.lang.String topicName) |
Returns a help topic for a given topic name.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Collection<HelpTopic> |
HelpMap.getHelpTopics() |
Returns a collection of all the registered help topics.
|
Modifier and Type | Method | Description |
---|---|---|
void |
HelpMap.addTopic(HelpTopic topic) |
Adds a topic to the server's help index.
|
protected java.lang.String |
IndexHelpTopic.buildIndexLine(CommandSender sender,
HelpTopic topic) |
Builds individual lines in the index topic.
|
int |
HelpTopicComparator.compare(HelpTopic lhs,
HelpTopic rhs) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
IndexHelpTopic.setTopicsCollection(java.util.Collection<HelpTopic> topics) |
Sets the contents of the internal allTopics collection.
|
Constructor | Description |
---|---|
IndexHelpTopic(java.lang.String name,
java.lang.String shortText,
java.lang.String permission,
java.util.Collection<HelpTopic> topics) |
|
IndexHelpTopic(java.lang.String name,
java.lang.String shortText,
java.lang.String permission,
java.util.Collection<HelpTopic> topics,
java.lang.String preamble) |
Copyright © 2018. All rights reserved.