Registro de la espiga del comando

// In onEnable()
// Register our command "kit" (set an instance of your command class as executor)
this.getCommand("kit").setExecutor(new CommandKit());

// In plugin.yml
commands:
# Replace "kit" with the name of your command.
   kit:
      description: Your description
      usage: /<command>
      permission: yourplugin.yourcommandpermission
		
Nervous Narwhal