Class GenericCommandHelpTopic
java.lang.Object
org.bukkit.help.HelpTopic
org.bukkit.help.GenericCommandHelpTopic
Lacking an alternative, the help system will create instances of
GenericCommandHelpTopic for each command in the server's CommandMap. You
can use this class as a base class for custom help topics, or as an example
for how to write your own.
-
Field Summary
FieldsFields inherited from class HelpTopic
amendedPermission, fullText, name, shortText -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSee(CommandSender sender) Determines if aPlayeris allowed to see this help topic.Methods inherited from class HelpTopic
amendCanSee, amendTopic, applyAmendment, getFullText, getName, getShortText
-
Field Details
-
command
-
-
Constructor Details
-
GenericCommandHelpTopic
-
-
Method Details
-
canSee
Description copied from class:HelpTopicDetermines if aPlayeris allowed to see this help topic.HelpTopic implementations should take server administrator wishes into account as set by the
HelpTopic.amendCanSee(String)function.
-