Package | Description |
---|---|
org.bukkit.help |
Classes used to manipulate the default command and topic assistance system.
|
Modifier and Type | Class and 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 | Method and 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(String topicName)
Returns a help topic for a given topic name.
|
Modifier and Type | Method and Description |
---|---|
Collection<HelpTopic> |
HelpMap.getHelpTopics()
Returns a collection of all the registered help topics.
|
Modifier and Type | Method and Description |
---|---|
void |
HelpMap.addTopic(HelpTopic topic)
Adds a topic to the server's help index.
|
int |
HelpTopicComparator.compare(HelpTopic lhs,
HelpTopic rhs) |
Constructor and Description |
---|
IndexHelpTopic(String name,
String shortText,
String permission,
Collection<HelpTopic> topics) |
IndexHelpTopic(String name,
String shortText,
String permission,
Collection<HelpTopic> topics,
String preamble) |
Copyright © 2022. All rights reserved.