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, getShortTextprotected Command command
public GenericCommandHelpTopic(@NotNull
                               Command command)
public boolean canSee(@NotNull
                      CommandSender sender)
HelpTopicPlayer 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 © 2022. All rights reserved.