Class CancelCommand
java.lang.Object
org.bukkit.command.Command
com.palmergames.bukkit.towny.command.commandobjects.CancelCommand
- All Implemented Interfaces:
org.bukkit.command.PluginIdentifiableCommand
public class CancelCommand
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
-
Method Summary
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
-
Constructor Details
-
CancelCommand
-
-
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 classorg.bukkit.command.Command
-
getPlugin
@NotNull public @NotNull org.bukkit.plugin.Plugin getPlugin()- Specified by:
getPlugin
in interfaceorg.bukkit.command.PluginIdentifiableCommand
-