java.lang.Object
org.bukkit.command.Command
com.palmergames.bukkit.towny.command.commandobjects.DenyCommand
All Implemented Interfaces:
org.bukkit.command.PluginIdentifiableCommand

public class DenyCommand extends org.bukkit.command.Command implements org.bukkit.command.PluginIdentifiableCommand
  • Field Summary

    Fields inherited from class org.bukkit.command.Command

    description, timings, usageMessage
  • Constructor Summary

    Constructors
    Constructor
    Description
    DenyCommand(Towny plugin, String name)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    execute(@NotNull org.bukkit.command.CommandSender sender, @NotNull String alias, @NotNull String[] args)
     
    @NotNull org.bukkit.plugin.Plugin
     

    Methods inherited from class org.bukkit.command.Command

    broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DenyCommand

      public DenyCommand(Towny plugin, String name)
  • Method Details

    • execute

      public boolean execute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String alias, @NotNull @NotNull String[] args)
      Specified by:
      execute in class org.bukkit.command.Command
    • getPlugin

      @NotNull public @NotNull org.bukkit.plugin.Plugin getPlugin()
      Specified by:
      getPlugin in interface org.bukkit.command.PluginIdentifiableCommand