public class GenericCommandHelpTopic extends HelpTopic
Modifier and Type | Field and Description |
---|---|
protected Command |
command |
amendedPermission, fullText, name, shortText
Constructor and Description |
---|
GenericCommandHelpTopic(@NotNull Command command) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSee(@NotNull CommandSender sender)
Determines if a
Player is allowed to see this help topic. |
amendCanSee, amendTopic, applyAmendment, getFullText, getName, getShortText
protected Command command
public boolean canSee(@NotNull @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 © 2021. All rights reserved.