(UnSolved) Are there comments in Permissions ex?

Discussion in 'Bukkit Help' started by gogobebe2, Jul 1, 2013.

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

    gogobebe2

    Maybe '#' or ';' like programming. But I need some comments to make my life much easier. Could anyone help?

    For eg:
    Code:
    groups:
      Guest:
        default: true
        options:
          rank: '1500'
        prefix: '[&8&oGuest&f]&7 '
        permissions:
        - multiverse.access.Create_nether
        - multiverse.access.Create_the_end
        - multiverse.access.Create
        - multiverse.access.Survival
        - multiverse.access.plotme
        - essentials.kit                    #changed
        - essentials.kits.*                  #changed
        - weatherGod.help                    #changed
        - weatherGod
        - weatherGod.sun                    #changed
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  2. Offline

    Lolmewn

    gogobebe2
    You can put comments on new lines, but I'm not sure if comments in-line are allowed.
     
  3. Offline

    gogobebe2

    oh thanks. I'll test both :)

    just tested it and it works in-line and on a new line :) thanks

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

    Gamecube762

    I think the comments are removed every time PEX resaves the permissions file(usually when the server turns off/reload)
     
    gogobebe2 likes this.
  5. Offline

    gogobebe2

    y
    thnaks. I tested it and ur right! Damn
     
  6. Offline

    daboross

    Yes, they are removed whenever the server shuts down.
    I usually keep two permissions.yml files. One on the server and one on my computer that I use to edit the actual permissions. That way I can comment on the one on my computer, then merge it with the one on the server when I want to use it. I would suggest doing this if you really need comments in permissions.yml
     
Thread Status:
Not open for further replies.

Share This Page