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 TypeMethodDescriptionvoid
addSubCommand
(SubCommand command) this method adds another command to the parent commandboolean
Methods inherited from class com.booksaw.betterTeams.commands.ParentCommand
addSubCommands, checkAsync, getArguments, getCommand, getHelp, getMaximumArguments, getMinimumArguments, getNode, getReference, getSubCommands, onCommand, onCommand, onTabComplete, runAsync
Methods 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:ParentCommand
this method adds another command to the parent command- Overrides:
addSubCommand
in classParentCommand
- Parameters:
command
- the command to add
-
isEnabled
-