Plugin.yml help

Discussion in 'Plugin Development' started by Jozeth, Apr 16, 2014.

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

    Jozeth

    Code:YAML
    1.  
    2. jcommands.protection.*:
    3. description: Allows you to bypass any protection
    4. default: op
    5. children:
    6. jcommands.protection.placing.*: false
    7. jcommands.protection.placing.*:
    8. description: Allows you to place any blocked item
    9. default: op
    10. children:
    11. jcommands.protection.placing.bedrock: true
    12. jcommands.protection.placing.fire: true
    13. jcommands.protection.placing.flintandsteel: true
    14. jcommands.protection.placing.ice: true
    15. jcommands.protection.placing.lava: true
    16. jcommands.protection.placing.stationarylava: true
    17. jcommands.protection.placing.lavabuckets: true
    18. jcommands.protection.placing.obsidian: true
    19. jcommands.protection.placing.tnt: true
    20. jcommands.protection.placing.water: true
    21. jcommands.protection.placing.stationarywater: true
    22. jcommands.protection.placing.waterbuckets: true
    23.  

    If I want players with "jcommands.protection.*" to be able to have "jcommands.protection.placing.*" do I need to change the "false" to "true"?
     
  2. Offline

    mkezar

    I believe so. Cant hurt to just try :p
     
  3. Offline

    Jozeth

    That's what I currently have and it works on my end but people have been recently found out that it doesn't.
     
  4. Offline

    mkezar

    Sounds weird. It should work...

    For a trobleshoot maybe take a look at your other files to see if there is anything interfering with it??? Idk :p That would be my first guess because right now your in the plugin.yml

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
Thread Status:
Not open for further replies.

Share This Page