Package me.neznamy.tab.shared.command
Class DebugCommand
java.lang.Object
me.neznamy.tab.shared.command.SubCommand
me.neznamy.tab.shared.command.DebugCommand
Handler for "/tab debug" 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 commandReturns list of extra properties if unlimited nametag mode is enabledMethods inherited from class me.neznamy.tab.shared.command.SubCommand
getAllProperties, getMessages, getName, getOnlinePlayers, getStartingArgument, getSubcommands, hasPermission, hasPermission, registerSubCommand, sendMessage, sendMessages, sendRawMessage, setAllProperties
-
Constructor Details
-
DebugCommand
public DebugCommand()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
-
getExtraLines
Returns list of extra properties if unlimited nametag mode is enabled- Returns:
- list of extra properties
-
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
-