[Solved] Commands - Aliases?

Discussion in 'BungeeCord Plugin Development' started by njb_said, Aug 25, 2013.

  1. Hi, Could anyone tell me how to do aliases with commands?
    If not I have a work around.

    Thanks
     
  2. joehot200

    Supporter

    Thank you for your lack of information :(
    Mind explaining a little more?
     
  3. Example Plugin.yml:
    Code (Text):
    name: MyPlugin
    main: com.me.lol.plugincore
    version: 1.6.2
    website: http://randomwebsitename.com
    description: WEEEEEEEE
    authors: [tenten8401]
    depend: [WorldEdit, Vault]
    softdepend: [CoreProtect]
    commands:
      MaiCommand:
        description: 'Displays the help !'
        usage: /<command>
        aliases: MaiAlais
    permissions:
      mai.perm:
        default: op
        description: lololol
     
    Hope that helps!
     
  4. I think he is talking about in the bukkit.yml
     
  5. joshwenke

    Wiki Team

    I'd suggest getting something like CommandHelper, that way you have more advanced control over the aliases.
     
  6. You all realise this section of the forums if for BUNGEECORD. not Bukkit :p
     
  7. joehot200

    Supporter

    I did, which is why i asked for more info, but i have seen people post bukkit things on the bungee forums - you would be surprised :eek:
     
  8. Im trying to register a command in bungeecord but I want to give it aliases. I think I do it using the constructer.