Class DisabledCommand

java.lang.Object
xyz.srnyx.javautilities.parents.Stringable
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
  • Constructor Details

  • Method Details

    • 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