Class BukkitCommandImpl
- java.lang.Object
-
- org.bukkit.command.Command
-
- com.alessiodp.core.bukkit.commands.utils.BukkitCommandImpl
-
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
public class BukkitCommandImpl extends org.bukkit.command.Command implements org.bukkit.command.CommandExecutor
-
-
Constructor Summary
Constructors Constructor Description BukkitCommandImpl(@NotNull com.alessiodp.core.common.ADPPlugin plugin, @NotNull com.alessiodp.core.common.commands.utils.ADPMainCommand mainCommand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull String cmd, String[] args)booleanonCommand(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull org.bukkit.command.Command command, @NotNull String cmd, String[] args)@NotNull List<String>tabComplete(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull String alias, String[] args)-
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, testPermission, testPermissionSilent, toString, unregister
-
-
-
-
Method Detail
-
execute
public boolean execute(@NotNull @NotNull org.bukkit.command.CommandSender commandSender, @NotNull @NotNull String cmd, String[] args)- Specified by:
executein classorg.bukkit.command.Command
-
onCommand
public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender commandSender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String cmd, String[] args)- Specified by:
onCommandin interfaceorg.bukkit.command.CommandExecutor
-
-