PermissionsEX Not Right

Discussion in 'Bukkit Help' started by Xyrde, Dec 4, 2014.

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

    Xyrde

  2. Offline

    timtower Administrator Administrator Moderator

    Moved to Bukkit help
     
  3. Offline

    InkzzzMC

    You spelled inheritance wrong, copy and paste this: inheritance
     
  4. Offline

    AGC-Intra


    Do not copy and paste to your config/setup files. Always manually enter the change. Even though in many instances a copy/paste will work it is a bad habit to form since it can cause certain unseen characters/formats to be passed with a copy/paste that could corrupt your file.
     
    JaguarJo likes this.
  5. Offline

    InkzzzMC

    That's a true fact, don't copy it ;)
     
  6. Offline

    JaguarJo

    Xyrde One other thing, the inheritance section is not part of the options subsection. It should only be indented 4 spaces, the same way the permissions section is and each inherited group should be on a separate line. Example:
    Code:
      Coal:
        options:
          prefix: '&8Coal '
        inheritance:
        - Noob
        permissions:
        - essentials.kits.Coal1
        - essentials.kits.Coal2
        - essentials.kit
        - essentials.ptime
        - essentials.workbench
        - playervaults.size.3
        - essentials.sethome.multiple.Coal
    Oh, and this is a big one. You've got an infinite inheritance loop happening because your Noob group is inheriting from Coal and your Coal group is inheriting from Noob. This will make the whole thing crash. Inheritance needs to be setup in straight lines, not circles.
     
    AGC-Intra likes this.
  7. Offline

    Xyrde

    Fanks guyz!
     
Thread Status:
Not open for further replies.

Share This Page