Package me.neznamy.tab.shared.command
Class TabCommand
java.lang.Object
me.neznamy.tab.shared.command.SubCommand
me.neznamy.tab.shared.command.TabCommand
The core command handler
-
Field Summary
Fields inherited from class me.neznamy.tab.shared.command.SubCommand
extraProperties -
Constructor Summary
ConstructorsConstructorDescriptionConstructs new instance with given parameter and registers all subcommands -
Method Summary
Methods inherited from class me.neznamy.tab.shared.command.SubCommand
getAllProperties, getMessages, getName, getOnlinePlayers, getStartingArgument, getSubcommands, hasPermission, hasPermission, registerSubCommand, sendMessage, sendMessages, sendRawMessage, setAllProperties
-
Constructor Details
-
TabCommand
public TabCommand()Constructs new instance with given parameter and registers all subcommands
-
-
Method Details
-
execute
Description copied from class:SubCommandPerforms the command- Specified by:
executein classSubCommand- Parameters:
sender- command sender or null if consoleargs- arguments of the command
-
complete
Description copied from class:SubCommandPerforms command complete and returns list of arguments to be shown- Overrides:
completein classSubCommand- Parameters:
sender- command senderarguments- arguments inserted in chat so far- Returns:
- List of possible arguments
-