Class CommandRegistration

java.lang.Object
com.sk89q.bukkit.util.CommandRegistration
Direct Known Subclasses:
CommandsManagerRegistration

public class CommandRegistration extends Object
  • Field Details

    • plugin

      protected final org.bukkit.plugin.Plugin plugin
    • executor

      protected final org.bukkit.command.CommandExecutor executor
  • Constructor Details

    • CommandRegistration

      public CommandRegistration(org.bukkit.plugin.Plugin plugin)
    • CommandRegistration

      public CommandRegistration(org.bukkit.plugin.Plugin plugin, org.bukkit.command.CommandExecutor executor)
  • Method Details

    • getCommandOwner

      public org.bukkit.plugin.Plugin getCommandOwner(String label)
    • register

      public boolean register(List<CommandInfo> registered)
    • getCommandMap

      public org.bukkit.command.CommandMap getCommandMap()
    • unregisterCommands

      public boolean unregisterCommands()