Interface ParentCommand
public interface ParentCommand
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddSubCommand(SubCommand subCommand) Add a subCommandgetName()Get parent nameGet available subCommandsbooleanhasSubCommand(String name) Check if a parent command has the target sub-commandvoidsendSubCommands(org.bukkit.entity.Player p) Send sub-commands list to a player This includes subCommands with showInList true only He can see only commands which he have permission
- 
Method Details- 
hasSubCommandCheck if a parent command has the target sub-command
- 
addSubCommandAdd a subCommand
- 
sendSubCommandsvoid sendSubCommands(org.bukkit.entity.Player p) Send sub-commands list to a player This includes subCommands with showInList true only He can see only commands which he have permission
- 
getSubCommandsList<SubCommand> getSubCommands()Get available subCommands
- 
getNameString getName()Get parent name
 
-