Problem with PermissionsEx

Discussion in 'Bukkit Help' started by Zornox, Nov 9, 2012.

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

    Zornox

    Here is my permissions.yml file: http://pastebin.com/0YHPC5DD
    I have having trouble With an error I get from the server. This is the error I get

    "2012-11-09 14:15:33 [WARNING] [PermissionsEx] Can't obtain PermissionsEx instance
    2012-11-09 14:15:33 [WARNING] [PermissionsEx] Reinjecting all permissibles"

    If there is anything wrong with my code. I can't figure it out. It would be greatly appreciated if someone could find out what is causing that error.

    I'm also having another problem, When You're not a "OP" on the server You can't break or place blocks on the server, I don't know if this has to do with a certain plugin or just in the permissions in my yml file. I need help finding the problem.


    Thanks!


    Code:
    groups:
      Guest:
        prefix: '&f[Guest]&f '
        default: true
        permissions:
        - essentials.spawn
        - essentials.motd
        - essentials.help
        - essentials.baltop
        - essentials.bal
        - essentials.suicide
        - factions.join
        - factions.leave
        - simplewarps.sign.use
        - simplewarps.sign.all
        - essentials.tpa
        - essentials.build
        options:
          rank: '13'
      Member:
        prefix: '&6[Player]&f '
        inheritance: Guest
        default: false
        permissions:
        - essentials.home
        - essentials.sethome
        - essentials.sell
        - essentials.value
        - factions.create
        - factions.tag
        - factions.leave
        - factions.mod
        - factions.disband
        - factions.desc
        - factions.map
        - essentials.spawn
        - essentials.motd
        - essentials.help
        - essentials.baltop
        - essentials.bal
        - essentials.suicide
        - factions.join
        - factions.leave
        - simplewarps.sign.use
        - simplewarps.sign.all
        - essentials.tpa
        - essentials.build
        options:
          rank: '12'
      Trusted:
        prefix: '&9[Trusted]&f '
        default: false
        inheritance: Player
        permissions:
        - essentials.sethome.multiple.home
        options:
          rank: '11'
      VIP:
        prefix: '&a[Player]&f '
        default: false
        inheritance: Trusted
        permissions:
        - permissions.promote
        - essentials.home
        - essentials.sethome
        - essentials.sell
        - essentials.value
        - factions.create
        - factions.tag
        - factions.leave
        - factions.mod
        - factions.disband
        - factions.desc
        - factions.map
        - essentials.spawn
        - essentials.motd
        - essentials.help
        - essentials.baltop
        - essentials.bal
        - essentials.suicide
        - factions.join
        - factions.leave
        - simplewarps.sign.use
        - simplewarps.sign.all
        - deathrecover.recover
        - essentials.tpa
        - essentials.build
        options:
          rank: '10'
      TrialMod:
        prefix: '&9[Trial-Mod]&f '
        default: false
        inheritance: Promoter
        permissions:
        - essentials.mute
        - essentials.mute.offline
        options:
          rank: '9'
      Mod:
        prefix: '&5[Moderator]&f '
        default: false
        inheritance: TrialMod
        permissions:
        - factions.chatspy
        - factions.bypass
        - essentials.vanish
        - essentials.tempban
        - essentials.home
        - essentials.sethome
        - essentials.sell
        - essentials.value
        - factions.create
        - factions.tag
        - factions.leave
        - factions.mod
        - factions.disband
        - factions.desc
        - factions.map
        - essentials.spawn
        - essentials.motd
        - essentials.help
        - essentials.baltop
        - essentials.bal
        - essentials.suicide
        - factions.join
        - factions.leave
        - simplewarps.sign.use
        - simplewarps.sign.all
        - deathrecover.recover
        - essentials.tpa
        - essentials.build
        options:
          rank: '8'
      Admin:
        prefix: '&4[Co-Owner]&f '
        default: false
        inheritance: Mod
        permissions:
        - factions.*
        - essentials.*
        - factions.chatspy
        - factions.bypass
        - essentials.vanish
        - essentials.tempban
        - essentials.home
        - essentials.sethome
        - essentials.sell
        - essentials.value
        - factions.create
        - factions.tag
        - factions.leave
        - factions.mod
        - factions.disband
        - factions.desc
        - factions.map
        - essentials.spawn
        - essentials.motd
        - essentials.help
        - essentials.baltop
        - essentials.bal
        - essentials.suicide
        - factions.join
        - factions.leave
        - simplewarps.sign.use
        - simplewarps.sign.alle
        - deathrecover.recover
        - essentials.tpa
        - essentials.build
      Owner:
        prefix: '&1[Owner]&f '
        default: false
        inheritance: CoOwner
        permissions:
        - '*'
        - worldedit.*
    users:
      Nimex:
        group:
        - Guest
     
      Zaku002:
        group:
        - Owner
      Zornox:
        group:
        - Guest
    
     
  2. Offline

    jfoe1980

    I'm no expert, only been doing permissions a few days. But I think you may be missing the modifyworld.* node discussed in the basic and advanced tutorial on the permissions ex wiki. Also being a admin I dont think you need to inherit any permission nodes. Just set permissions.* and you should have them all. I wonder if you remove the inheritance from the admin if that will help. It says in the tutorial that you don't want a inheritance loop or it will crash your server. Not sure if you have a loop or not, but at least it would clean up your code a bit.

    Also, do you have the modifyworld plugin that come with permissionsex installed? and set to be active n the config?
     
  3. Offline

    Zornox

    It worked! The - worldedit.* node I put under guests and they are able to build. But Once I put it under "member" and "VIP" and so on they are not able to build. So I still don't know what is wrong with it
     
  4. Offline

    jfoe1980

    you don't need to put it under everyone. just the lowest rank group you want to build, as the inheritance command in the file means they get all the nodes of the groups below them, plus whatever you specify. So if you set modifyworld.* for member rank 100, and set inheritance for VIP rank 800 and Moderator 100 then they both already have it. Then with admin remove inheritance completely. As being set as admin in server ops outside of minecraft give you access to everyting with the permissions.* node set to admin. I highly suggest if you haven't read the permissionsEX tutorial on the wiki most specificly the basic server setup, and advenced server setup you do that. That will get you a solid hierarchy of groups, then you can add nodes as you add plugins. Take it one plugin at a time.
     
  5. Offline

    dooly123

    also you have got 2 fractions.leave
     
Thread Status:
Not open for further replies.

Share This Page