I need help with permissionsEx its not working

Discussion in 'Bukkit Help' started by thechrisanator, Feb 11, 2014.

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

    thechrisanator

    What am I doing wrong?

    plugin:
    permissions:
    system: default
    copies:
    groups:
    Default:
    default: true
    info:
    prefix: '&4[Feather]'
    suffix: ''
    build: false
    inheritance:
    permissions:
    A:
    default: false
    info:
    prefix: '&1[A]'
    suffix: ''
    build: false
    inheritance:
    - Default
    permissions:
    -'craftbukkit.command.tell'
    -'modifyworld.blocks.interact.61'
    Mod:
    default: true
    info:
    prefix: '&bMod'
    suffix: ''
    build: true
    inheritance:
    - Member
    permissions:
    -'craftbukkit.command.tp'
    -'craftbukkit.command.time'
    -'craftbukkit.command.give'
    -'craftbukkit.command.gamemode'
    -'craftbukkit.command.say'
    Admin:
    default: false
    info:
    prefix: '&cAdmin'
    suffix: ''
    build: true
    inheritance:
    -Mod
    permissions:
    -'craftbukkit.command.time'
    -'craftbukkit.command.give'
    -'craftbukkit.command.gamemode'
    -'craftbukkit.command.say'
    -'craftbukkit.command.deop'
    -'craftbukkit.command.op'
    -'craftbukkit.command.ban'
    -'craftbukkit.command.pardon'
    -'craftbukkit.command.stop'
    -'craftbukkit.command.save-off'
    - '*'
    Owner:
    default: false
    info:
    prefix: '&l&o&a[Owner]'
    suffix: ''
    build: true
    inheritance:
    permissions:
    -'permissions.*'
    -'modifyworld.*'
    -'*'
    users:
    Pman8099:
    groups:
    - Mod
    permissions:
    thechrisanator:
    groups:
    - Owner
    permissions:
    GreyHoundHD:
    groups:
    - Owner
    permissions:
     
  2. Offline

    tumbleshack

    This may have just been bukkit forums, but you need put spaces before lines that go beneath a parent line for example:
    Code:
    groups:
      default:
        default: true
        permissions:
        - essentials.delhome
        - essentials.suicide
        - modifyworld.*
        - essentials.balance
        - essentials.pay
        - essentials.sell
        - essentials.worth
        - essentials.list
        - essetnials.help
        - essentials.getpos
        - essentials.mail.send
        - essentials.mail
        - essentials.msg
        - essentials.realname
        - essentials.spawn
        - essentials.sethome
        - essentials.home
        - essentials.tpa
        - essentials.tpahere
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.warp
        - essentials.warps.*
        - essentials.warp.list
        - essentials.kits.starter
        - essentials.kit
        - essentials.motd
        - announcement.receive
        - commandsigns.use.*
        - ChestShop.shop.*
        - LapisPortals.teleport
        - LapisPortals.teleport.free
        - LapisPortals.create
        - customenchantment.canEnchant
        - customenchantment.Gooey
        - customenchantment.Iceaspect
        - customenchantment.Sockwave
        - customenchantment.Thunderingblow
        - customenchantment.Deepwounds
        - customenchantment.Hardened
        - customenchantment.Frozen
        - customenchantment.Springs
        - customenchantment.Stomp
        - customenchantment.Gears
        - customenchantment.Glowing
        - silkspawners.place.*
        - silkspawners.silkdrop.*
        - silkspawners.destroydrop.*
        - auction.start
        - auction.bid
        - essentials.ping
        prefix: '&f[&2Server&9Member&f]'
      Mod:
        inheritance:
        - default
        permissions:
        - essentials.tp
        - essentials.tphere
        prefix: '&f[&2Server&9Mod&f]'
     
  3. Offline

    JaguarJo

    thechrisanator There's quite a lot going wrong in there... First of all, Pex's info section doesn't contain the prefix and suffix like GroupManager does. Those get their own lines. So all you'll have under info: with your current setup is the build: true/false line. Basically, it's an indentation thing and I really can't explain it without showing you. I'll add a link at the end of this that you can compare stuff with.

    Second, your default group, since it doesn't inherit from anyone or have any permissions, should say inheritance: [] and permissions: [].

    Third, the only permission node you should have ' marks around is the '*' one. All of the other nodes need the ' marks removed.

    And finally, any time you decide to paste a file into the comments section, either use code tags around it or give us a link to it pasted on pastebin.com, because otherwise it loses its spacing and we can't tell if there are formatting errors or not.

    Here's how your file should look with proper Pex formatting: http://pastebin.com/RfZD7X2H Use that to compare with your old one and see the differences.

    Edit: I just found another mistake with that file...your Mod group says it inherits from Member, but you don't have a Member group. I think you probably meant to put A there. It still needs fixed on that file I pasted too. Sorry I didn't catch it til now.
     
  4. Offline

    tumbleshack

Thread Status:
Not open for further replies.

Share This Page