Package com.booksaw.betterTeams.commands
Class PermissionParentCommand
java.lang.Object
com.booksaw.betterTeams.commands.SubCommand
com.booksaw.betterTeams.commands.ParentCommand
com.booksaw.betterTeams.commands.PermissionParentCommand
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionParentCommand(CostManager prices, CooldownManager cooldowns, String command) PermissionParentCommand(String command) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubCommand(SubCommand command) this method adds another command to the parent commandbooleanMethods inherited from class com.booksaw.betterTeams.commands.ParentCommand
addSubCommands, checkAsync, getArguments, getCommand, getHelp, getMaximumArguments, getMinimumArguments, getNode, getReference, getSubCommands, onCommand, onCommand, onTabComplete, runAsyncMethods inherited from class com.booksaw.betterTeams.commands.SubCommand
addMetaStringList, addPlayerStringList, addTeamStringList, addTeamStringList, getArgMessage, getCommandAndArgMessage, getHelpMessage, needPlayer
-
Constructor Details
-
PermissionParentCommand
-
PermissionParentCommand
-
-
Method Details
-
addSubCommand
Description copied from class:ParentCommandthis method adds another command to the parent command- Overrides:
addSubCommandin classParentCommand- Parameters:
command- the command to add
-
isEnabled
-