Class Command<T extends org.bukkit.plugin.Plugin>

java.lang.Object
net.playavalon.mythicdungeons.commands.Command<T>
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor
Direct Known Subclasses:
LeaveCommand, MythicDungeonsCommand, MythicPartyCommand, NotReadyCommand, PartyChatCommand, ReadyCommand, RecruitCommand, RewardsCommand, StuckCommand

public abstract class Command<T extends org.bukkit.plugin.Plugin> extends Object implements org.bukkit.command.TabExecutor
  • Constructor Details

    • Command

      public Command(T plugin, String command)
    • Command

      public Command(Command<T> parent, String command)
  • Method Details

    • onCommand

      public boolean onCommand(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command cmd, @NotNull String label, @NotNull String[] args)
      Specified by:
      onCommand in interface org.bukkit.command.CommandExecutor
    • onTabComplete

      public List<String> onTabComplete(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command cmd, @NotNull String label, @NotNull String[] args)
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter