Something is wrong with my Plugin.yml

Discussion in 'Plugin Development' started by ShadowWizardMC, Jan 7, 2014.

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

    ShadowWizardMC

    Sorry i am in a hurry but for some reason my plugin.yml doesent work can someone examine it and give me a solution?

    Here is it : http://pastebin.com/23zNXqqN

    im not sure whats wrong its my first plugin that require that much code
     
  2. Online

    timtower Administrator Administrator Moderator

    ShadowWizardMC Spacing is off
    Code:
    commands:
      Cmd1:
        Description: lalala
    
    you have to many spacebars in there, each indent is 2 spacebars
     
  3. Offline

    L33m4n123

    and when you register commands only register the main commands and not the arguments for it. You cannot have spaces in a command [Unless handeling them as arguments]
     
  4. Offline

    Stackore

    Wrong plugin.yml This should work:
    Code:java
    1. name: KitPvp
    2. main: me.ShadowWizard.kitpvp.core
    3. version: 1.0
    4. depend: [Vault]
    5. commands:
    6. kitpvp:
    7. description: Shows details about the current version of KitPvP
    8. kit:
    9. description: Opens the Kit selection GUI!
    10. kit tank:
    11. description: Chooses the Tank kit!
    12. kit archer:
    13. description: Chooses the Archer kit!
    14. kit ninja:
    15. description: Chooses the Ninja kit!
    16. kit demo:
    17. description: Chooses the Demo kit!
    18. kit solider:
    19. description: Chooses the Solider kit!
    20.  
    21. permissions:
    22. kitpvp.tank:
    23. description: Used to access Tank kit.
    24. default: true
    25. kitpvp.archer:
    26. description: Used to access Archer kit.
    27. default: true
    28. kitpvp.ninja:
    29. description: Used to access Ninja kit.
    30. default: true
    31. kitpvp.demo:
    32. description: Used to access Demo kit.
    33. default: true
    34. kitpvp.solider:
    35. description: Used to access Solider kit.
    36. default: true


    And yes you can't have space, change it

    Post the whool code it's easyer to see what's wrong.
    Sorry my bad english!

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

    L33m4n123


    don't need his code. At least not at this state. His plugin.yml is wrong formatted. Nothing code in the actuall plugin can take care off
     
  6. Offline

    ShadowWizardMC



    how do i do that exactly?
     
  7. Offline

    L33m4n123

Thread Status:
Not open for further replies.

Share This Page