Permissions.yml not working

Discussion in 'Bukkit Help' started by TheMole3, Jun 28, 2017.

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

    TheMole3

    I get this error
    [PermissionsEx] Ranking Error (console > 89310cbb-ffc9-4fcc-a85f-75481bed4273/TheMole3): User are not in this ladder (open)
    when i try to promote me with PermissionsEx.

    My premissions.yml
    Code:
    groups:
      Default:
        default: true
        build: true
        permissions:
        - essentials.balance
        - essentials.delhome
        - essentials.exp
        - essentials.worth
        - essentials.help
        - essentials.helpop
        - essentials.home
        - essentials.ignore
        - essentials.info
        - essentials.suicide
        - essentials.build
        - essentials.kit
        - essentials.afk
        - essentials.list
        - essentials.mail
        - essentials.help
        - essentials.mail.send
        - essentials.me
        - essentials.msg
        - essentials.pay
        - essentials.protect.pvp
        - essentials.realname
        - essentials.recipe
        - essentials.sethome
        - essentials.signs.use.info
        - essentials.signs.use.warp
        - essentials.chat.url
        - essentials.balancetop
        - essentials.balance
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - essentials.helpop
        - essentials.itemdb
        - essentials.list
        - essentials.warp.list
        - essentials.worth
        - modifyworld.*
        - shopchest.create
        - shopchest.create.sell
        - shopchest.create.buy
        - shopchest.buy
        - shopchest.sell
        - shopchest.limit.20
        options:
            prefix: '&0(&4Owner&0)&7 '
            rank: '900'
            rank-ladder: Main
      Captian:
        inheritance:
        - Default
        permissions:
        - essentials.enchant
        - essentials.repair
        - essentials.msg.color
        - essentials.msg.format
        - essentials.fly
        - essentials.nick
        - essentials.seen
        options:
            prefix: '&0(&4Owner&0)&7 '
            rank: '899'
            rank-ladder: Main
      Moderator:
        inheritance:
        - Captian
        permissions:
        - essentials.*
        - -sv.reload.false
        - sv.*
        - multiverse.portal.access.*
        - multiverse.access.*
        - multiverse.portal.exempt.*
        - multiverse.portal.list
        - multiverse.portal.create
        - mv.bypass.gamemode.*
        - multiverse.teleport.self.*
        - multiverse.teleport.other.*
        - troll.denymove
        options:
            prefix: '&0(&4Owner&0)&7 '
            rank: '898'
            rank-ladder: Main
      Admin:
        inheritance:
        - Moderator
        permissions:
        - -worldguard.region.bypass.*
        - -worldguard.chest-protection.override.*
        options:
            prefix: '&0(&4Owner&0)&7 '
            rank: '897'
            rank-ladder: Main
      Owner:
        inheritance:
        - Admin
        options:
            prefix: '&0(&4Owner&0)&7 '
            rank: '896'
            rank-ladder: Main
      Bypass:
        inheritance:
        - Moderator
        permissions:
          options:
            prefix: '&0(&4Bypass&0)&7 '
            rank: '895'
            rank-ladder: Main
    schema-version: 1
    users:
      89310cbb-ffc9-4fcc-a85f-75481bed4273:
        group:
        - Admin
        options:
          name: TheMole3
      49d3973a-3faa-4198-947f-a6558971d2ab:
        options:
          name: GamingHarambeBOI
    Can some one help me?

    Changed a bit in the code based on zombie_strikers tips but it still does not work
     
    Last edited: Jun 28, 2017
  2. Offline

    Zombie_Striker

    @TheMole3
    1. If the default is false, remove those lines from the yml. They do nothing.
    2. Each rank should have only one inheritance. Since captain already inherits default, Moderator should only inherit captain.
    3. If a rank has no new permissions, remove the permissions: line.
    4. If a rank has the * permission, they do not need to inherit any ranks, nor do they need to have any other permissions. The * already takes care of that.
    5. Are you sure no one has rank 0? Doing that make sure no one can be promoted, nor demoted.
     
  3. Offline

    TheMole3

    @Zombie_Striker

    I read somewhere that if you have
    - -permission
    Then that permission disable
     
    Last edited: Jun 28, 2017
  4. Offline

    Zombie_Striker

    @TheMole3
    * should override that though. Test it, but I don't think that is the case.
     
  5. Offline

    TheMole3

    @Zombie_Striker I made som changes but it still dont work! do you have any solutions?
     
  6. Offline

    Zombie_Striker

    @TheMole3
    What changes did you make? Are you sure none of the groups are at rank 0?
     
  7. Offline

    TheMole3

Thread Status:
Not open for further replies.

Share This Page