public class SpigotCommand
extends org.bukkit.command.Command
Modifier and Type | Field and Description |
---|---|
protected SpigotCompleter |
completer |
Constructor and Description |
---|
SpigotCommand(java.lang.String label,
org.bukkit.command.CommandExecutor executor,
org.bukkit.plugin.Plugin owner) |
SpigotCommand(java.lang.String label,
org.bukkit.command.CommandExecutor executor,
org.bukkit.plugin.Plugin owner,
boolean notAno) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.bukkit.command.CommandSender sender,
java.lang.String commandLabel,
java.lang.String[] args) |
java.util.List<java.lang.String> |
tabComplete(org.bukkit.command.CommandSender sender,
java.lang.String alias,
java.lang.String[] args) |
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
protected SpigotCompleter completer
public SpigotCommand(java.lang.String label, org.bukkit.command.CommandExecutor executor, org.bukkit.plugin.Plugin owner)
public SpigotCommand(java.lang.String label, org.bukkit.command.CommandExecutor executor, org.bukkit.plugin.Plugin owner, boolean notAno)
public boolean execute(org.bukkit.command.CommandSender sender, java.lang.String commandLabel, java.lang.String[] args)
execute
in class org.bukkit.command.Command
public java.util.List<java.lang.String> tabComplete(org.bukkit.command.CommandSender sender, java.lang.String alias, java.lang.String[] args) throws org.bukkit.command.CommandException, java.lang.IllegalArgumentException
tabComplete
in class org.bukkit.command.Command
org.bukkit.command.CommandException
java.lang.IllegalArgumentException