Plugin.yml: Multiple Aliases

Discussion in 'Plugin Development' started by Mattz, Mar 5, 2013.

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

    Mattz

    Why aren't these aliases working in game? /money works fine, but the others show the "unknown command" message. There isn't any errors in the console.

    Code:
    name: QuestsAPI
    main: net.thepvp.quest.api.QuestsAPI
    version: 1.0
    
    commands:
      money:
        description: Show and manage your current balance.
        usage: /money [command]
        alias:
        - bal
        - balance
        - gold
        - $
        permission: QuestsAPI.money
        permission-message: You do not have permission to use this command.
     
  2. Offline

    ZeusAllMighty11

    I believe you have to register the others under the command 'getting' in your main method
     
  3. Offline

    20zinnm

  4. Offline

    ZeusAllMighty11

    20zinnm

    Correct, but haven't you noticed this was posted 9 months ago?
     
Thread Status:
Not open for further replies.

Share This Page