Class DisabledCommand

  • All Implemented Interfaces:
    org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, Annoyable

    public class DisabledCommand
    extends AnnoyingCommand
    Represents a command that is disabled by the API
    • Method Detail

      • getAnnoyingPlugin

        @NotNull
        public @NotNull AnnoyingPlugin getAnnoyingPlugin()
        The AnnoyingPlugin that this command belongs to
        Returns:
        the plugin instance
      • onCommand

        public void onCommand​(@NotNull
                              @NotNull AnnoyingSender sender)
        REQUIRED This is everything that's executed when the command is run
        Specified by:
        onCommand in class AnnoyingCommand
        Parameters:
        sender - the sender of the command