Permissions Ex formating help

Discussion in 'Plugin Help/Development/Requests' started by xHexical, Aug 17, 2017.

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

    xHexical

    Last edited: Aug 17, 2017
  2. Offline

    timtower Administrator Administrator Moderator

    @xHexical Your prefix and suffix should be in the options part.
    And is the file not working?
     
  3. Offline

    FrostDevStudios

    @xHexical

    As @timtower has stated, Make sure your prefix/suffix values are under the options value. Also, your 'default: true' should also be located under your options value. For example ...
    Code:
    groups:
      Member:
        options:
          default: true
          rank: '1000'
          prefix: '&7[Member]&f ' <-- Change Made Here
        permissions: []
    After this, the rest of your file is also incorrect. Please Make sure you add ":" at the end of all your group names. Such as ...
    Code:
    Donator:
    
    It also appears (at least from the paste-bin provided) that the indentation for the groups are out of order. The need to be parallel to the rest of the groups. Such as ...
    Code:
    Member:
        options:
          default: true
          rank: '1000'
          prefix: '&7[Member]&f '  <-- Moved To Required Location/ Corrected Indentation
        permissions:[]
    Donator:                       <-- Corrected Indentation/ Added " : "
        inheritance:
        - Member
        options:
          rank: '50'
          prefix: '&6[Donator]&f ' <-- Corrected Indentation
        permissions:[]
     
    Last edited: Aug 18, 2017
Thread Status:
Not open for further replies.

Share This Page