public class GenericCommandHelpTopic extends HelpTopic
Modifier and Type | Field | Description |
---|---|---|
protected Command |
command |
amendedPermission, fullText, name, shortText
Constructor | Description |
---|---|
GenericCommandHelpTopic(Command command) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
canSee(CommandSender sender) |
Determines if a
Player is allowed to see this help topic. |
amendCanSee, amendTopic, applyAmendment, getFullText, getName, getShortText
protected Command command
public GenericCommandHelpTopic(@NotNull Command command)
public boolean canSee(@NotNull CommandSender sender)
HelpTopic
Player
is allowed to see this help topic.
HelpTopic implementations should take server administrator wishes into
account as set by the HelpTopic.amendCanSee(String)
function.
Copyright © 2019. All rights reserved.