Class BukkitCommand


  • @Internal
    public final class BukkitCommand
    extends org.bukkit.command.Command
    Bukkit command wrapper.
    • Field Summary

      • Fields inherited from class org.bukkit.command.Command

        description, timings, usageMessage
    • Constructor Summary

      Constructors 
      Constructor Description
      BukkitCommand​(@NotNull dev.hypera.chameleon.Chameleon chameleon, @NotNull BukkitUserManager userManager, @NotNull dev.hypera.chameleon.command.Command command)
      Bukkit command constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean execute​(@NotNull org.bukkit.command.CommandSender sender, @NotNull String label, @NotNull String[] args)
      @NotNull List<String> tabComplete​(@NotNull org.bukkit.command.CommandSender sender, @NotNull String alias, @NotNull 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
    • Constructor Detail

      • BukkitCommand

        @Internal
        public BukkitCommand​(@NotNull
                             @NotNull dev.hypera.chameleon.Chameleon chameleon,
                             @NotNull
                             @NotNull BukkitUserManager userManager,
                             @NotNull
                             @NotNull dev.hypera.chameleon.command.Command command)
        Bukkit command constructor.
        Parameters:
        chameleon - Bukkit Chameleon implementation.
        userManager - Bukkit user manager implementation.
        command - Command to be wrapped.
    • Method Detail

      • execute

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