PLUGIN.YML COMMAND ALIASES NOT WORKING

Discussion in 'Bukkit Help' started by Genexx, Aug 20, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Genexx

    I have been having issues always using aliases when registering commands in the plugin.yml, I've never gotten it to work, when I register the command as an alias and I test it out in-game, it is registered but when you execute the command it just has no output. Please help, here is my plugin.yml.

    PHP:
    namenKits
    version
    1.0.0
    description
    :
    authorGenex
    main
    us.NovaKits.Main
     
    commands
    :
    cc:
      
    descriptionClear the chat.
      
    aliases: [clearchat]
      
    permissionnovakits.cc
    I forgot to add the description, but with or without it it still does not work.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  2. Offline

    LHammonds

    Might be related to indentation:

    Since you do not have multiple aliases, try it without the brackets.
    Code:
    name: nKits
    version: 1.0.0
    description: Kits
    author: Genex
    website: http://dev.bukkit.org/bukkit-plugins/NovaKit
    main: us.NovaKits.Main
     
    commands:
      cc:
        description: Clear the chat.
        aliases: [clearchat]
        permission: novakits.cc
        usage: /<command>
    
     
Thread Status:
Not open for further replies.

Share This Page