Package me.neznamy.tab.shared.command
Class PlayerUUIDCommand
java.lang.Object
me.neznamy.tab.shared.command.SubCommand
me.neznamy.tab.shared.command.PropertyCommand
me.neznamy.tab.shared.command.PlayerUUIDCommand
Handler for "/tab playeruuid" 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 commandvoidsavePlayer(me.neznamy.tab.api.TabPlayer sender, me.neznamy.tab.api.TabPlayer player, String type, String value, String server, String world) Saves new player settings into configMethods inherited from class me.neznamy.tab.shared.command.PropertyCommand
helpMethods inherited from class me.neznamy.tab.shared.command.SubCommand
getAllProperties, getMessages, getName, getOnlinePlayers, getStartingArgument, getSubcommands, hasPermission, hasPermission, registerSubCommand, sendMessage, sendMessages, sendRawMessage, setAllProperties
-
Constructor Details
-
PlayerUUIDCommand
public PlayerUUIDCommand()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
-
savePlayer
public void savePlayer(me.neznamy.tab.api.TabPlayer sender, me.neznamy.tab.api.TabPlayer player, String type, String value, String server, String world) Saves new player settings into config- Parameters:
sender- command sender or null if consoleplayer- affected playertype- property typevalue- new value
-
complete
Description copied from class:SubCommandPerforms command complete and returns list of arguments to be shown- Overrides:
completein classPropertyCommand- Parameters:
sender- command senderarguments- arguments inserted in chat so far- Returns:
- List of possible arguments
-