public class GenericCommandHelpTopic extends HelpTopic
Modifier and Type | Field and Description |
---|---|
protected Command |
command |
amendedPermission, fullText, name, shortText
Constructor and Description |
---|
GenericCommandHelpTopic(Command command) |
Modifier and Type | Method and 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(Command command)
public boolean canSee(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 © 2017. All rights reserved.