Package me.neznamy.tab.shared.command
Class CpuCommand
java.lang.Object
me.neznamy.tab.shared.command.SubCommand
me.neznamy.tab.shared.command.CpuCommand
Handler for "/tab cpu" subcommand
-
Field Summary
Fields inherited from class me.neznamy.tab.shared.command.SubCommand
extraProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms the commandvoidvoidsendPacketCountToPlayer(me.neznamy.tab.api.TabPlayer sender) voidvoidMethods inherited from class me.neznamy.tab.shared.command.SubCommand
complete, getAllProperties, getMessages, getName, getOnlinePlayers, getStartingArgument, getSubcommands, hasPermission, hasPermission, registerSubCommand, sendMessage, sendMessages, sendRawMessage, setAllProperties
-
Constructor Details
-
CpuCommand
public CpuCommand()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
-
sendToConsole
-
sendToPlayer
-
sendPacketCountToConsole
public void sendPacketCountToConsole() -
sendPacketCountToPlayer
public void sendPacketCountToPlayer(me.neznamy.tab.api.TabPlayer sender)
-