Plugin.yml permissions help

Discussion in 'Plugin Development' started by messageofdeath, Jun 14, 2014.

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

    messageofdeath

    I want to know if I setup the permissions right in the plugin.yml

    Code:yaml
    1. permissions:
    2. paidranks.*:
    3. description: Gives access to all PaidRanks features
    4. children:
    5. paidranks.commands.*: true
    6. paidranks.commands.*:
    7. description: Gives access to all PaidRanks commands
    8. default: true
    9. children:
    10. paidranks.commands.pr.*: true
    11. paidranks.commands.pr.*:
    12. description: Gives access to all the sub commands of pr
    13. default: true
    14. children:
    15. paidranks.commands.pr.help: true
    16. paidranks.commands.pr.reload.*: true
    17. paidranks.commands.pr.ladder.*: true
    18. paidranks.commands.pr.rank.*: true
    19. paidranks.commands.pr.reload.*:
    20. description: Gives access to all reload commands of pr
    21. default: true
    22. children:
    23. paidranks.commands.pr.reload: true
    24. paidranks.commands.pr.reload.language: true
    25. paidranks.commands.pr.reload.ranks: true
    26. paidranks.commands.pr.ladder.*:
    27. description: Gives access to all ladder commands of pr
    28. default: true
    29. children:
    30. paidranks.commands.pr.ladder.create: true
    31. paidranks.commands.pr.ladder.remove: true
    32. paidranks.commands.pr.ladder.default: true
    33. paidranks.commands.pr.ladder.list: true
    34. paidranks.commands.pr.rank.*:
    35. description: Gives access to all rank commands of pr
    36. default: true
    37. children:
    38. paidranks.commands.pr.rank.add: true
    39. paidranks.commands.pr.rank.remove: true
    40. paidranks.commands.pr.rank.move: true
    41. paidranks.commands.pr.rank.list: true
     
  2. Offline

    HeadGam3z

    Looks good to me.
     
  3. Offline

    messageofdeath

    HeadGam3z I haven't done permissions in the yaml file. It's so beefy, is it really like this?
     
  4. Offline

    Vidsify

    Looks good to me. Are you getting any errors?
     
  5. Offline

    CapitolNetwork

    It looks ok to me. Also consider adding commands and checking indentation errors.
     
Thread Status:
Not open for further replies.

Share This Page