Why aren't Permissions working? PEX

Discussion in 'Bukkit Help' started by Cinnamonbun, Aug 15, 2012.

Thread Status:
Not open for further replies.
  1. Alright so, PermissionsEX isn't working, I am not sure if I did something wrong, ALSO people are spawning in the middle of nowhere EVEN though I /setspawn in the city, the also can't talk, it WONT let them, they can't do any of the permissions I gave them here are the Permissions
    http://pastebin.com/JWZe53gb
     
  2. Offline

    Omnitv

    You have random tabs around the place and spacing issues.
     
  3. I don't use TAB for, it screws permissions up.
     
  4. Offline

    Omnitv

    Whats this then.....
    x.png
    your groups is all wrong; It should look similar to this.
    PHP:
      Host:
        
    options:
          
    rank'100'
        
    prefix'&6[Staff]&c'
        
    suffix'&b[Host]'
        
    permissions:
        - 
    '*'
    Not like this:
    PHP:
    groups:
      
    Member:
        Default: 
    true
        permissions
    :
        - 
    modifyworld.*
        - 
    essentials.sethome
        
    essentials.home
        
    essentials.spawn
        
    essentials.afk
        
    essentials.tpa
        
    essentials.tpaccept
        
    essentials.tpdeny   
        
    dynamark.buy
        
    dynamark.sell
        
    dynamark.price
        
    dynamark.market.top
        
    dynamark.market.bottom
        
    dynamark.market.list
      
    prefix'&2(&2Member&2)&f'
       
      
    Builder:
          Default:
    False
          inheritance
    :
          - 
    Member
          permissions
    :
         
      
    prefix'&a(&aBuilder&a)&f
     
      Moderator:
          Default:False 
          inheritance:
          - Builder
          permissions:
         
      prefix: '
    &1(&1Moderator&1)&f
     
      Admin
    :
          Default:
    False
          inheritance
    :
          - 
    Moderator
          permissions
    :
         
      
    prefix'&c(&cAdmin&c)&f
     
     
      Owner:
          Default:False
          inheritance:
          - Admin
          permissions:
          - '
    *'
         
      prefix: '
    &b(&bOwner&b)&f
     
      users
    :
        
    yourminecraftusername:failsauce22 # put your minecraft name here
            
    groupOwner # put the name of your admin group here
            
    permissions# leave this blank
     
  5. The thing is when I wrote those, I never used the TAB button?
     
  6. Offline

    Omnitv

    when you use the enter button it automatically makes a tab.
    Try this. fixed as much as i can.
    PHP:
    groups:
      
    Member:
        Default: 
    true
        permissions
    :
        - 
    modifyworld.*
        - 
    essentials.sethome
        
    essentials.home
        
    essentials.spawn
        
    essentials.afk
        
    essentials.tpa
        
    essentials.tpaccept
        
    essentials.tpdeny 
        
    dynamark.buy
        
    dynamark.sell
        
    dynamark.price
        
    dynamark.market.top
        
    dynamark.market.bottom
        
    dynamark.market.list
        
    options:
        
    prefix'&2(&2Member&2)&f'
      
    Builder:
        Default: 
    False
        inheritance
    :
        - 
    Member
        permissions
    :
        
    options:
        
    prefix'&a(&aBuilder&a)&f'
      
    Moderator:
        Default: 
    False
        inheritance
    :
        - 
    Builder
        permissions
    :
        
    options:
        
    prefix'&1(&1Moderator&1)&f'
      
    Admin:
        Default: 
    False
        inheritance
    :
        - 
    Moderator
        permissions
    :
        
    options:
        
    prefix'&c(&cAdmin&c)&f'
      
    Owner:
        Default: 
    False
        inheritance
    :
        - 
    Admin
        permissions
    :
        - 
    '*'
        
    options:
        
    prefix:'&b(&bOwner&b)&f
     
  7. Sadly, it didn't work, But thank you for trying! I really appreciated it. I thought you weren't allowed to press the TAB button in YAML. SO it's my fault.
     
  8. Offline

    Omnitv

    What do you mean??? post the server.log errors.
     
  9. Says " Server permissions file permissions.yml is not valid YAML: while in "<reader>",line 49 column 5: prefix:'&b<&bOwner&b)&f Could not found expect ':' in <reader> line 49 column28: prefix:'&b(&bOwner&b)&f"
     
  10. Offline

    Omnitv

    Great... now im confused... jacklin213 or JOPHESTUS
    Whats going on here. Need second eyes on this.
    PHP:
    groups:
      
    Member:
        Default: 
    true
        permissions
    :
        - 
    modifyworld.*
        - 
    essentials.sethome
        
    essentials.home
        
    essentials.spawn
        
    essentials.afk
        
    essentials.tpa
        
    essentials.tpaccept
        
    essentials.tpdeny
        
    dynamark.buy
        
    dynamark.sell
        
    dynamark.price
        
    dynamark.market.top
        
    dynamark.market.bottom
        
    dynamark.market.list
        
    options:
        
    prefix'&2(&2Member&2)&f'
      
    Builder:
        Default: 
    False
        inheritance
    :
        - 
    Member
        permissions
    :
        
    options:
        
    prefix'&a(&aBuilder&a)&f'
      
    Moderator:
        Default: 
    False
        inheritance
    :
        - 
    Builder
        permissions
    :
        
    options:
        
    prefix'&1(&1Moderator&1)&f'
      
    Admin:
        Default: 
    False
        inheritance
    :
        - 
    Moderator
        permissions
    :
        
    options:
        
    prefix'&c(&cAdmin&c)&f'
      
    Owner:
        Default: 
    False
        inheritance
    :
        - 
    Admin
        permissions
    :
        - 
    '*'
        
    options:
        
    prefix:'&b(&bOwner&b)&f
    users:
      failsauce22:
        group:
        - Owner
        permissions:
     
  11. Offline

    UniqueBen

    prefix:'&b(&bOwner&b)&f
    should be
    prefix: 'b(Owner)&f'
    Also, not sure about PEX User indentation but it looks wrong. try this.


    Code:
    groups:
      Member:
        Default: true
        permissions:
        - modifyworld.*
        - essentials.sethome
        - essentials.home
        - essentials.spawn
        - essentials.afk
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - dynamark.buy
        - dynamark.sell
        - dynamark.price
        - dynamark.market.top
        - dynamark.market.bottom
        - dynamark.market.list
        options:
        prefix: '&2(&2Member&2)&f'
      Builder:
        Default: False
        inheritance:
        - Member
        permissions:
        options:
        prefix: '&a(&aBuilder&a)&f'
      Moderator:
        Default: False
        inheritance:
        - Builder
        permissions:
        options:
        prefix: '&1(&1Moderator&1)&f'
      Admin:
        Default: False
        inheritance:
        - Moderator
        permissions:
        options:
        prefix: '&c(&cAdmin&c)&f'
      Owner:
        Default: False
        inheritance:
        - Admin
        permissions:
        - '*'
        options:
        prefix: '&b(Owner)&f'
     
  12. Offline

    Omnitv

    I know it not like that. >.>
     
  13. Offline

    UniqueBen

    Changed my code xD, Pasted the wrong 1.

    When I used PEX it saved the users to a different YML then permissions :S
     
  14. Offline

    Omnitv

    Yeah not it looks good.
    Thanks for the second hand m8t.
     
  15. Offline

    UniqueBen

    No problem. I use essentials on my server so can't test the code sorry.

    Cinnamonbun In the future, you may want to use Notepad++ to edit your files. In the settings you can have it automatically change tabs to spaces.

    For spawn, which plugin are you using for general admin commands (I.E setspawn)?
     
  16. I am getting an internal server error as soon as I copied Uniques code? Also using ESSENTIALS
     
  17. Offline

    UniqueBen

    Hmm? 2 seconds and I'll revise over it :S

    Cinnamonbun
    Looked at my old PEX layout, You had quite a bit wrong :p prefix and suffixes don't go in options. Also the uppercase stuff on vars like 'Default: False' DO MATTER, Perms files ARE case sensitive.
    Code:
    groups:
      Member:
        default: true
        prefix: '&2(Member)&f'
        suffix: ''
        permissions:
        - modifyworld.*
        - essentials.sethome
        - essentials.home
        - essentials.spawn
        - essentials.afk
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - dynamark.buy
        - dynamark.sell
        - dynamark.price
        - dynamark.market.top
        - dynamark.market.bottom
        - dynamark.market.list
        options:
          rank: ''
          rank-ladder:
      Builder:
        default: false
        prefix: '&a(&aBuilder&a)&f'
        suffix: ''
        inheritance:
        - Member
        permissions:
        options:
        rank: ''
        rank-ladder:
      Moderator:
        default: false
        prefix: '&1(&1Moderator&1)&f'
        suffix: ''
        inheritance:
        - Builder
        permissions:
        options:
        rank: ''
        rank-ladder:
      Admin:
        default: false
        prefix: '&c(&cAdmin&c)&f'
        suffix: ''
        inheritance:
        - Moderator
        permissions:
        options:
        rank: ''
        rank-ladder:
      Owner:
        default: false
        prefix: '&b(Owner)&f'
        suffix: ''
        inheritance:
        - Admin
        permissions:
        - '*'
        options:
        rank: ''
        rank-ladder:
    users:
      failsauce22:
        group:
        - Owner
     
  18. It's not working, the errors in CMD are ALL Permission related.
     
  19. Offline

    UniqueBen

    Omnitv likes this.
  20. Offline

    SoupRmarin3

    Here:
    Code:
    groups:
      Member:
        default: true
        prefix: '&2(Member)&f '
        suffix: ''
        permissions:
        - modifyworld.*
        - essentials.sethome
        - essentials.home
        - essentials.spawn
        - essentials.afk
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - dynamark.buy
        - dynamark.sell
        - dynamark.price
        - dynamark.market.top
        - dynamark.market.bottom
        - dynamark.market.list
      Builder:
        prefix: '&a(&aBuilder&a)&f '
        suffix: ''
        permissions:
        inheritance: Member
      Moderator:
        prefix: '&1(&1Moderator&1)&f '
        suffix: ''
        permissions:
        inheritance: Builder
      Admin:
        prefix: '&c(&cAdmin&c)&f '
        suffix: ''
        permissions:
        inheritance: Moderator
      Owner:
        prefix: '&b(Owner)&f '
        suffix: ''
        permissions:
        - '*'
        inheritance: Admin
    users:
      failsauce22:
        group:
        - Owner
     
  21. Offline

    jacklin213

    Wow so much happend when I was gone and guys give him a pastebin link so he can raw copy instead of copying out of code brackets.... Just waiting for the sever.txt file now
    Cinnamonbun delete your server.txt file , start your server up then paste the whole file at http://pastebin.com
     
  22. Thank you so much! I am so happy thank you guys!
     
  23. Offline

    Omnitv

    Glad your happy, set to solved.
     
  24. Offline

    SoupRmarin3

    Your Welcome
     
Thread Status:
Not open for further replies.

Share This Page