Solved PermissionsEx Problem

Discussion in 'Bukkit Help' started by edulzo, Aug 19, 2012.

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

    edulzo

    Hello, my server recently got PermissionsEx, and I have been having problems with making ranks it, could someone tell me what's wrong, I'd gladly appreciate it.
    Code:
    groups:
      Member:
        prefix: '&4[&3Member&4]&f'
        default: true
        permissions:
        - modifyworld.*
        - chestshop.buy
        - chestshop.create
        - chestshop.sell
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.spawn
        - essentials.tpa
        - essentials.tpahere
        - iconomy.holdings
        - iconomy.payment
        - sg.arena.join
        - sg.arena.vote
      VIP:
        prefix: '&4[&6VIP&4]'
        default: false
        permissions:
        - chestshop.buy
        - chestshop.create
        - chestshop.sell
        - essentials.back
        - essentials.fly
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.nick
        - essentials.spawn
        - essentials.tp
        - essentials.tpa
        - essentials.tpahere
        - iconomy.holdings
        - iconomy.payment
        - chestshop.buy
        - chestshop.create
        - chestshop.sell
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.spawn
        - essentials.tpa
        - essentials.tpahere
        - iconomy.holdings
        - iconomy.payment
        - sg.arena.join
        - sg.arena.vote
        inhereitance:
        - Member
      Premium:
        prefix: '&4[&2Premium&4]'
        defaults: false
        permissions:
        - chestshop.buy
        - chestshop.create
        - chestshop.sell
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.spawn
        - essentials.tpa
        - essentials.tpahere
        - iconomy.holdings
        - iconomy.payment
        - sg.arena.join
        - sg.arena.vote
        - chestshop.buy
        - chestshop.create
        - chestshop.sell
        - enchanter.enchant
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.spawn
        - essentials.tp
        - essentials.tphere
        - iconomy.holdings
        - iconomy.payment
        - sg.arena.forcestart
        - essentials.fly
        inheritance:
        - Member
        - VIP
      King:
        prefix: '&6[&eKing&6]'
        default: false
        permissions:
        - chestshop.buy
        - chestshop.create
        - chestshop.sell
        - enchanter.dirty
        - enchanter.enchant
        - essentials.gamemode
        - essentials.give
        - essentials.help
        - essentials.helpop
        - essentials.item
        - essentials.list
        - essentials.spawn
        - essentials.tpa
        - essentials.tpahere
        - iconomy.holdings
        - iconomy.payment
        - sg.arena.forcestart
        - essentials.tp
        - essentials.tphere
        inheritance:
        - Member
        - VIP
        - Premium
      Moderator:
        prefix: '&4[&bModerator&4]&f'
        default: false
        permissions:
        - chestshop.mod
        - easyban.eban
        - easyban.ekick
        - easyenchant.use
        - essentials.ban
        - essentials.ban.offline
        - essentials.banip
        - essentials.clearinventory
        - essentials.gamemode
        - essentials.hat
        - essentials.jail
        - essentials.jails
        - essentials.kick
        - essentials.pardon
        - essentials.tempban
        - essentials.tp
        - essentials.tphere
        - factions.kit.fullplayer
        - modreq.check
        - modreq.claim
        - modreq.close
        - sg.arena.forcestart
        - essentials.spawn
        - essentials.tp
        - essentials.tphere
        - essentials.spawn
        - essentials.setwarp
        - essentials.warp
        - essentials.sethome
        - essentials.home
        inheritance:
        - Trial-Mod
        - Member
      Trial-Mod:
        prefix: '&4[&bTrial&4-&bMod&4]&f'
        default: false
        Permissions:
        - chestshop.mod
        - easyban.eban
        - easyban.ekick
        - easyenchant.use
        - essentials.ban
        - essentials.ban.offline
        - essentials.banip
        - essentials.clearinventory
        - essentials.gamemode
        - essentials.jail
        - essentials.jails
        - essentials.kick
        - essentials.pardon
        - essentials.tempban
        - essentials.tp
        - essentials.tphere
        - factions.kit.fullplayer
        - modreq.check
        - modreq.claim
        - modreq.close
        - sg.arena.forcestart
        - essentials.spawn
        - essentials.home
        - essentials.warp
        - essentials.sethome
        inheritance:
        - Member
      Super-Mod:
        prefix: '&4[&8Super&4-&8Mod]'
        default: false
        permissions:
        - chestshop.mod
        - easyban.eban
        - easyban.ekick
        - easyenchant.use
        - essentials.ban
        - essentials.ban.offline
        - essentials.banip
        - essentials.clearinventory
        - essentials.gamemode
        - essentials.give
        - essentials.heal
        - essentials.item
        - essentials.jail
        - essentials.jails
        - essentials.kick
        - essentials.pardon
        - essentials.tempban
        - essentials.tp
        - essentials.tphere
        - factions.kit.fullplayer
        - modreq.check
        - modreq.claim
        - modreq.close
        inheritance:
        - Moderator
        - Trial-Mod
        - Member
      Admin:
        prefix: '&4[&cAdmin&4]'
        default: false
        permissions
        - permissions.*
        - chestshop.admin
        - easyenchant.use
        - factions.kit.fullplayer
        - mcmmo.*
        - modreq.check
        - modreq.claim
        - modreq.close
        inheritance
        - Member
        - Trial-Mod
        - Moderator
        - Super-Mod
      Super-Admin:
        prefix: '&4[&9Super&4-&9Admin]'
        default: false
        permissions:
        - permissions.*
        - chestshop.admin
        - easyenchant.use
        - factions.kit.fullplayer
        - mcmmo.*
        - modreq.check
        - modreq.claim
        - modreq.close
        inheritance
        - Member
        - Trial-Mod
        - Moderator
        - Super-Mod
        - Admin
      Operator:
        prefix: '&4[&eOperator&4]'
        default: false
        permissions:
        - permissions.*
        - chestshop.admin
        - easyenchant.use
        - factions.kit.fullplayer 
        - mcmmo.*
        - modreq.check
        - modreq.claim
        - modreq.close
        inheritance:
        - Member
        - Trial-Mod
        - Moderator
        - Super-Mod
        - Admin
        - Super-Admin
      Developer:
        prefix: '&4[&5Developer&4]'
        default: false
        permissions:
        - permissions.*
        - chestshop.admin
        - easyenchant.use
        - factions.kit.fullplayer
        - mcmmo.*
        - modreq.check
        - modreq.claim
        - modreq.close
        inheritance:
        - Member
        - Trial-Mod
        - Moderator
        - Super-Mod
        - Admin
        - Super-Admin
      Co-Owner:
        prefix: '&0[&6Co&0-&6Owner]'
        default: false
        permissions:
        - permissions.*
        - chestshop.admin
        - easyenchant.use
        - factions.kit.fullplayer
        - mcmmo.*
        - modreq.check
        - modreq.claim
        - modreq.close
        inheritance:
        - Member
        - Trial-Mod
        - Moderator
        - Super-Mod
        - Admin
        - Super-Admin
        - VIP
        - Premium
        - King
        - Operator
        - Developer
      Owner:
        prefix: '&0[&6Owner&0]'
        default: false
        permissions:
        - permissions.*
        inheritance:
        - Member
        - Trial-Mod
        - Moderator
        - Super-Mod
        - Admin
        - Super-Admin
        - VIP
        - Premium
        - King
        - Operator
        - Developer
     
  2. Offline

    OstlerDev

    You only need to have 1 inheritance, so basicly for owner, you would do like

    Code:
    Owner:
        prefix: '&0[&6Owner&0]'
        default: false
        permissions:
        - permissions.*
        inheritance:
        - Co-owner
     
  3. Offline

    edulzo

    Okay, that didn't help though, can you tell me what's wrong?
     
  4. Offline

    Omnitv

  5. Offline

    edulzo

  6. Offline

    Omnitv

    You only need to inherit one group, as that inherited group will already inherit another group.
    Also your seem to forget to add this >> : << in your permissions and inheritance.
    PHP:
    Output
    ERROR
    :
     
    while 
    scanning a simple key
      in 
    "<unicode string>"line 217column 5:
            
    permissions
            
    ^
    could not found expected ':'
      
    in "<unicode string>"line 218column 5:
            - 
    permissions.*
            ^
    Ill highlight it here ###
    PHP:
      Admin:
        
    prefix'&4[&cAdmin&4]'
        
    default: false
        permissions  
    ###
        
    permissions.*
        - 
    chestshop.admin
        
    easyenchant.use
        - 
    factions.kit.fullplayer
        
    mcmmo.*
        - 
    modreq.check
        
    modreq.claim
        
    modreq.close
        inheritance  
    ###
        
    Member
        
    Trial-Mod
        
    Moderator
        
    Super-Mod
      Super
    -Admin:
        
    prefix'&4[&9Super&4-&9Admin]'
        
    default: false
        permissions
    :
        - 
    permissions.*
        - 
    chestshop.admin
        
    easyenchant.use
        - 
    factions.kit.fullplayer
        
    mcmmo.*
        - 
    modreq.check
        
    modreq.claim
        
    modreq.close
        inheritance  
    ###
        
    Member
        
    Trial-Mod
        
    Moderator
        
    Super-Mod
        
    Admin
     
  7. Offline

    edulzo

    Ah, I didn't see that xD I was trying to look through it constantly, but it's all good now, thanks for the help! PEX is working just Ducky, someone set this to "Solved" please.
     
  8. Offline

    Omnitv

    Thus deleting 200+ lines off my clipboard.
    Also you can do so on the top right called thread tools.
     
  9. Offline

    edulzo

    Okay then, thanks for the help. Cake for you!
    [cake]
     
  10. Offline

    Omnitv

    Ewww cake, prefer a cookie. Thanks though. :3
     
Thread Status:
Not open for further replies.

Share This Page