Package me.neznamy.tab.shared.command
Class WidthCommand
java.lang.Object
me.neznamy.tab.shared.command.SubCommand
me.neznamy.tab.shared.command.WidthCommand
Handler for "/tab width" subcommand
-
Field Summary
Fields inherited from class me.neznamy.tab.shared.command.SubCommand
extraProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPerforms command complete and returns list of arguments to be shownvoidPerforms the commandvoidsendInputCharacterIDs(me.neznamy.tab.api.TabPlayer sender, String input) voidsendUsage(me.neznamy.tab.api.TabPlayer sender) voidsendWidth(me.neznamy.tab.api.TabPlayer sender, char character, int amount) 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
-
WidthCommand
public WidthCommand()Constructs new instance
-
-
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
-
sendInputCharacterIDs
-
sendUsage
public void sendUsage(me.neznamy.tab.api.TabPlayer sender) -
sendWidth
public void sendWidth(me.neznamy.tab.api.TabPlayer sender, char character, int amount) -
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
-