Class ScoreboardCommand

java.lang.Object
me.neznamy.tab.shared.command.SubCommand
me.neznamy.tab.shared.command.ScoreboardCommand

public class ScoreboardCommand extends SubCommand
Handler for "/tab scoreboard [on/off/toggle] [player] [options]" subcommand and "/tab scoreboard show [player]"
  • Constructor Details

    • ScoreboardCommand

      public ScoreboardCommand()
      Constructs new instance
  • Method Details

    • execute

      public void execute(me.neznamy.tab.api.TabPlayer sender, String[] args)
      Description copied from class: SubCommand
      Performs the command
      Specified by:
      execute in class SubCommand
      Parameters:
      sender - command sender or null if console
      args - arguments of the command
    • complete

      public List<String> complete(me.neznamy.tab.api.TabPlayer sender, String[] arguments)
      Description copied from class: SubCommand
      Performs command complete and returns list of arguments to be shown
      Overrides:
      complete in class SubCommand
      Parameters:
      sender - command sender
      arguments - arguments inserted in chat so far
      Returns:
      List of possible arguments