Class OnlyTopCommand

java.lang.Object
net.md_5.bungee.api.plugin.Command
de.simonsator.partyandfriends.api.TopCommand
de.simonsator.partyandfriends.api.OnlyTopCommand
All Implemented Interfaces:
net.md_5.bungee.api.plugin.TabExecutor
Direct Known Subclasses:
MSG, PartyChat, Reply

public abstract class OnlyTopCommand extends TopCommand
  • Constructor Details

    • OnlyTopCommand

      protected OnlyTopCommand(String[] pCommandNames, String pPermission, String pPrefix)
      Parameters:
      pCommandNames - The command name and the different aliases of this command. By these names the method can be called.
      pPermission - The permission which is needed to execute this command. If it is blank no permission is needed to execute this command.
      pPrefix - The prefix which should be used by all subcommands. The prefix gets returned by the method TopCommand.getPrefix().
  • Method Details

    • onTabComplete

      public List<String> onTabComplete(net.md_5.bungee.api.CommandSender commandSender, String[] strings)
      Specified by:
      onTabComplete in interface net.md_5.bungee.api.plugin.TabExecutor
      Overrides:
      onTabComplete in class TopCommand