Essentials Permissions problems (people can do what they may not do)

Discussion in 'Bukkit Help' started by PureTryOut, Mar 26, 2011.

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

    PureTryOut

    When I installed Essentials (the general .jar) I had a permission file for groups and users. I used it for permissions but now can people use commands what I don't want to.
    Can someone tell me why and how to improve the file?


    Code:
    groups:
        Non-Builder:
            default: true
            info:
                build: false
                prefix: '&0'
                suffix: '&0'
            inheritance:
            - Builder
            permissions:
            - essentials.spawn
            - essentials.motd
            - essentials.help
        Builder:
            default: false
            info:
                build: true
                prefix: '&3'
                suffix: '&3'
            inheritance:
            - Donator
            permissions:
            - essentials.item
            - essentials.home
            - essentials.warp
            - essentials.give
        Donator:
            default: false
            info:
                build: true
                prefix: '&e'
                suffix: '&e'
            inheritance:
            - Moderator
            permissions:
            - essentials.tp
            - essentials.give
        Moderators:
            default: false
            info:
                build: true
                prefix: '&1'
                suffix: '&1'
            inheritance:
            permissions:
            - essentials.tp
            - essentials.tphere
            - essentials.item
            - essentials.give
        Admin:
            default: false
            info:
                build: true
                prefix: '&c'
                suffix: '&c'
            inheritance:
            permissions:
            - '*'
    Code:
    users:
        PureTryOut:
            group: Admin
            info:
                prefix: ''
                suffix:
            permissions:
        Patfire:
            group: Admin
            info:
                prefix: ''
                suffix:
            permissions:
        Aussuricaex:
            group: Admin
            info:
                prefix: ''
                suffix:
            permissions:
        Donderdag:
            group: Builder
            info:
                prefix: ''
                suffix:
            permissions:
        Kinyo2z:
            group: Builder
            info:
                prefix: ''
                suffix:
            permissions:
        Scheefoog:
            group: Builder
            info:
                prefix: ''
                suffix:
            permissions:
    You see? I said Builders can use the /item command but they can't. And I didnt tell them they can use /spawnmob or /setwarp but they can.
    Can someone help me please?
     
  2. Offline

    ThePoopfish

    Use this for errors in your code if you are not already. http://yaml-online-parser.appspot.com/

    also you are not using ' ' in your permissions which you need to do.

    Code:
      Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
               - 'essentials.help'
               - 'essentials.sethome'
               - 'essentials.home'
               - 'essentials.afk'
               - 'essentials.warp'
               - 'essentials.msg'
               - 'essentials.spawn'
               - 'essentials.motd'
               - 'kit.<name of kit>'
               - 'kit.kit'
               - 'lwc.protect'
               - 'essentials.list'
               - 'essentials.helpop'
               - 'essentials.mail'
     
  3. Offline

    captainawesome7

  4. Offline

    PureTryOut

    That may be the solution but it isn't helping...
    Code:
    groups:
        Non-Builders:
            default: true
            info:
                build: false
                prefix: '&0'
                suffix: '&0'
            inheritance:
            permissions:
            - 'essentials.spawn'
            - 'essentials.motd'
            - 'essentials.help'
        Builder:
            default: false
            info:
                build: true
                prefix: '&3'
                suffix: '&3'
            inheritance:
            - 'Non-Builders'
            permissions:
            - 'essentials.item'
            - 'essentials.home'
            - 'essentials.warp'
            - 'essentials.give'
        Donators:
            default: false
            info:
                build: true
                prefix: '&e'
                suffix: '&e'
            inheritance:
            - 'Builders'
            permissions:
            - 'essentials.tp'
            - 'essentials.give'
        Moderators:
            default: false
            info:
                build: true
                prefix: '&1'
                suffix: '&1'
            inheritance:
            - 'Donators'
            permissions:
            - 'essentials.tp'
            - 'essentials.tphere'
            - 'essentials.item'
            - 'essentials.give'
        Admins:
            default: false
            info:
                build: true
                prefix: '&c'
                suffix: '&c'
            inheritance:
            permissions:
            - '*'
    Code:
    users:
        PureTryOut:
            group: 'Admins'
            info:
                prefix: ''
                suffix: ''
            permissions:
        Patfire:
            group: 'Admins'
            info:
                prefix: ''
                suffix: ''
            permissions:
        Aussuricaex:
            group: 'Admins'
            info:
                prefix: ''
                suffix: ''
            permissions:
        Donderdag:
            group: 'Builders'
            info:
                prefix: ''
                suffix: ''
            permissions:
        Kinyo2z:
            group: 'Builders'
            info:
                prefix: ''
                suffix:
            permissions:
        Scheefoog:
            group: 'Builder'
            info:
                prefix: ''
                suffix:
            permissions:
    This is my new config file... It's still not working.
     
  5. Offline

    ThePoopfish

    are you pressing enter for each new line of permissions?
     
  6. Offline

    PureTryOut

    Yes I am. Why? Is that a problem?
     
  7. Offline

    ThePoopfish

    yes if you have not configured your notepad++ correctly. When you press enter backspace to the beginning of the line then space to the correct spot then start typing. Also your inheretence is wrong, you have builder as the group and you are using builders as the inheretance and even in your users you have this same mistake

    -also if you are inheriting from a group you do not need to place the permission again in the group that is inheriting the permission-
     
  8. Offline

    PureTryOut

    Hmm... I'm not english so I think I have the wrong translation of Inheretence then...
    Can you explain it to me?
     
  9. Offline

    ThePoopfish

    I misspelled it sorry

    Inheritance:To receive from someone else, to pass down.

    so when you set it to inherit from another class, then it will receive those commands/permissions that that class already has
     
  10. Offline

    PureTryOut

    Aah ok thx. But the commands are still not working. I will look tomorrow again when I have Notepad ++ (i'm on a different pc now)
     
  11. Offline

    ThePoopfish

    Ok, message me if you have problems
     
  12. Offline

    Gratlofatic

    /warp does not work for anyone besides admins. I have - essentials.warp in my specific group :/ Any ideas?
     
  13. Offline

    PureTryOut

    Hmm it's still not working but I put it in Notepad ++ now... Can you make the config file for me? I can compare then what I did wrong. Or maybe someone else?
     
  14. Offline

    PureTryOut

    OK I get why some commands couldn't be used by all people exccept the admins. The problem was that I also had Essentials Protect and that those commands were set under Restricted Commands. I moved it from there so that works.
    But now I stil have the problem that some people can use commands what they may not.
    Please what's the solution?
     
Thread Status:
Not open for further replies.

Share This Page