PermissionsEx

Forum > Technical help

PermissionsEx Internal Server Error , help

  • 5 posts
    #1 Mar 02, 2012 at 18:42 UTC - 0 likes

    Hi i have a problem when i join the server it says internal server error and when i delete the yaml and join, it works? and I tried editing it but i dont know whats the problem please help.. And ABUxSWELEM in users is not there by default i added him to the list permissions didnt add him i manually added him


    groups:

     guest:
       default: true
       options:
         rank: '6'
       prefix: '&8[Guest] &f'
       worlds:
         world:
          permissions:
           - modifyworld.chat
           - essentials.spawn
           - essentials.rules
           - essentials.motd
           - essentials.list
           - essentials.helpop
           - essentials.help
           - essentials.build
           - essentials.afk
           - essentials.back
           - essentials.back.ondeath
           - essentials.balance
           - essentials.balance.others
           - essentials.balancetop
           - essentials.chat.color
           - essentials.chat.shout
           - essentials.chat.question
           - essentials.compass
           - essentials.depth
           - essentials.home
           - essentials.ignore
           - essentials.kit
           - essentials.kit.tools
           - essentials.mail
           - essentials.mail.send
           - essentials.me
           - essentials.msg
           - essentials.nick
           - essentials.pay
           - essentials.ping
           - essentials.powertool
           - essentials.protect
           - essentials.sethome
           - essentials.signs.use.*
           - essentials.signs.create.disposal
           - essentials.signs.create.mail
           - essentials.signs.create.protection
           - essentials.signs.create.trade
           - essentials.signs.break.disposal
           - essentials.signs.break.mail
           - essentials.signs.break.protection
           - essentials.signs.break.trade
           - essentials.suicide
           - essentials.time
           - essentials.tpa
           - essentials.tpaccept
           - essentials.tpahere
           - essentials.tpdeny
           - essentials.warp
           - essentials.warp.list
           - essentials.worth
           - factions.kit.fullplayer
           - factions.kit.halfmod
           - factions.admin
           - factions.autoclaim
           - factions.chat
           - factions.create
           - factions.disband
           - factions.home
           - factions.invite
           - factions.join
           - factions.kick
           - factions.leave
           - factions.unclaimall
           - factions.sethome
     builder:
       options:
         rank: '5'
       prefix: '&6[Builder] &f'
       worlds:
         world:
          permissions:
           - modifyworld.*
           - essentials.build
           - essentials.afk
           - essentials.back
           - essentials.back.ondeath
           - essentials.balance
           - essentials.balance.others
           - essentials.balancetop
           - essentials.chat.color
           - essentials.chat.shout
           - essentials.chat.question
           - essentials.compass
           - essentials.depth
           - essentials.home
           - essentials.ignore
           - essentials.kit
           - essentials.kit.tools
           - essentials.mail
           - essentials.mail.send
           - essentials.me
           - essentials.msg
           - essentials.nick
           - essentials.ping
           - essentials.powertool
           - essentials.protect
           - essentials.sethome
           - essentials.signs.use.*
           - essentials.signs.create.disposal
           - essentials.signs.create.mail
           - essentials.signs.create.protection
           - essentials.signs.create.trade
           - essentials.signs.break.disposal
           - essentials.signs.break.mail
           - essentials.signs.break.protection
           - essentials.signs.break.trade
           - essentials.suicide
           - essentials.time
           - essentials.tpa
           - essentials.tpaccept
           - essentials.tpahere
           - essentials.tpdeny
           - essentials.warp
           - essentials.warp.list
           - essentials.worth
           - factions.kit.fullplayer
           - factions.kit.halfmod
           - factions.admin
           - factions.autoclaim
           - factions.chat
           - factions.create
           - factions.disband
           - factions.home
           - factions.invite
           - factions.join
           - factions.kick
           - factions.leave
           - factions.unclaimall
           - factions.sethome	
           - factions.mod
     vip:
       options:
         rank: '4'
       prefix: '&a[Vip] &f'
       worlds:
         world:
          permissions:
           - modifyworld.*
           - essentials.build
           - essentials.ban
           - essentials.ban.notify
           - essentials.banip
           - essentials.broadcast
           - essentials.clearinventory
           - essentials.delwarp
           - essentials.eco.loan
           - essentials.ext
           - essentials.getpos
           - essentials.helpop.recieve
           - essentials.home.others
           - essentials.invsee
           - essentials.jails
           - essentials.jump
           - essentials.kick
           - essentials.kick.notify
           - essentials.mute
           - essentials.nick.others
           - essentials.realname
           - essentials.setwarp
           - essentials.signs.create.*
           - essentials.signs.break.*
           - essentials.spawner
           - essentials.thunder
           - essentials.time
           - essentials.time.set
           - essentials.protect.alerts
           - essentials.protect.admin
           - essentials.protect.ownerinfo
           - essentials.ptime
           - essentials.ptime.others
           - essentials.togglejail
           - essentials.top
           - essentials.tp
           - essentials.tphere
           - essentials.tppos
           - essentials.tptoggle
           - essentials.unban
           - essentials.unbanip
           - essentials.weather
           - essentials.whois
           - essentials.world
           - factions.kit.fullplayer
           - factions.kit.halfmod
           - factions.admin
           - factions.autoclaim 
           - factions.chat
           - factions.create
           - factions.disband
           - factions.home
           - factions.invite
           - factions.join
           - factions.kick
           - factions.leave
           - factions.unclaimall
           - factions.mod
           - factions.sethome
     admin:
       options:
         rank: '3'
       prefix: '&5[Admin] &f'
       worlds:
         world:
          permissions:
           - modifyworld.*
           - factions.mod
           - ^essentials.backup
           - ^essentials.essentials
           - ^essentials.setspawn
           - ^essentials.reloadall
           - essentials.*
           - nocheat.checks.moving.runfly
           - nocheat.checks.moving.flying
           - nocheat.checks.moving.swimming
           - nocheat.checks.moving.sneaking
           - nocheat.checks.moving.nofall
           - nocheat.checks.moving.morepackets
           - nocheat.checks.blockbreak.reach
           - nocheat.checks.blockbreak.direction
           - nocheat.checks.blockbreak.noswing
           - nocheat.checks.blockplace.reach
           - nocheat.checks.blockplace.direction
           - nocheat.checks.inventory.drop
           - nocheat.checks.inventory.instantbow
           - nocheat.checks.inventory.instanteat
           - nocheat.checks.chat.spam
           - nocheat.checks.chat.color
           - nocheat.checks.fight.direction
           - nocheat.checks.fight.noswing
           - nocheat.checks.fight.reach
           - nocheat.checks.fight.speed
           - nocheat.checks.fight.godmode
           - nocheat.admin.chatlog
           - nocheat.admin.commands
           - nocheat.admin.reload
           - nocheat 
           - nocheat.admin 
           - nocheat.checks.moving 
           - nocheat.checks.blockbreak 
           - nocheat.checks.blockplace 
           - nocheat.checks.inventory 
           - nocheat.checks.chat 
           - nocheat.checks.fight
           - factions.kit.admin
           - factions.kit.fullplayer
           - factions.kit.halfmod
           - factions.admin
           - factions.autoclaim
           - factions.chat
           - factions.create
           - factions.disband
           - factions.invite
           - factions.home
           - factions.join
           - factions.kick
           - factions.leave 
           - factions.unclaimall
           - factions.sethome
           - worldedit.clipboard.load
           - worldedit.clipboard.copy 
           - worldedit.clipboard.paste 
           - worldedit.fast 
           - worldedit.generation.cylinder 
           - worldedit.generation.cylinder 
           - worldedit.generation.sphere 
           - worldedit.generation.sphere 
           - worldedit.generation.forest 
           - worldedit.generation.pyramid 
           - worldedit.generation.pyramid 
           - worldedit.history.undo 
           - worldedit.history.redo 
           - worldedit.navigation.thru 
           - worldedit.region.replace 
           - worldedit.region.set 
           - worldedit.wand 
           - worldedit.superpickaxe 
           - worldedit.remove 
           - worldedit.drain 
           - worldedit.snow 
           - worldedit.extinguish 
           - worldedit.butcher 
           - worldedit.superpickaxe.tree
     headadmin:
       options:
         rank: '2'
       prefix: '&c[Headadmin] &f'
       worlds:
         world:
          permissions:
           - '*'
           - essentials.*
           - nocheat.*
           - nocheat
           - factions.*
           - factions.admin
           - factions.autoclaim
           - factions.chat
           - factions.create
           - factions.disband
           - factions.disband.any 
           - factions.home 
           - factions.join
           - factions.kick.any
           - factions.leave 
           - factions.join.any
           - factions.unclaimall
           - factions.sethome
           - worldedit.clipboard.load
           - worldedit.clipboard.save 
           - worldedit.clipboard.copy 
           - worldedit.clipboard.paste 
           - worldedit.fast 
           - worldedit.generation.cylinder 
           - worldedit.generation.cylinder 
           - worldedit.generation.sphere 
           - worldedit.generation.sphere 
           - worldedit.generation.forest 
           - worldedit.generation.pyramid 
           - worldedit.generation.pyramid 
           - worldedit.history.undo 
           - worldedit.history.redo 
           - worldedit.navigation.unstuck 
           - worldedit.navigation.thru 
           - worldedit.region.replace 
           - worldedit.region.set 
           - worldedit.region.overlay 
           - worldedit.wand 
           - worldedit.superpickaxe 
           - worldedit.remove 
           - worldedit.drain 
           - worldedit.snow 
           - worldedit.extinguish 
           - worldedit.butcher 
           - worldedit.superpickaxe.tree
           - nocheat.checks.moving.runfly
           - nocheat.checks.moving.flying
           - nocheat.checks.moving.swimming
           - nocheat.checks.moving.sneaking
           - nocheat.checks.moving.nofall
           - nocheat.checks.moving.morepackets
           - nocheat.checks.blockbreak.reach
           - nocheat.checks.blockbreak.direction
           - nocheat.checks.blockbreak.noswing
           - nocheat.checks.blockplace.reach
           - nocheat.checks.blockplace.direction
           - nocheat.checks.inventory.drop
           - nocheat.checks.inventory.instantbow
           - nocheat.checks.inventory.instanteat
           - nocheat.checks.chat.spam
           - nocheat.checks.chat.color
           - nocheat.checks.fight.direction
           - nocheat.checks.fight.noswing
           - nocheat.checks.fight.reach
           - nocheat.checks.fight.speed
           - nocheat.checks.fight.godmode
           - nocheat.admin.chatlog
           - nocheat.admin.commands
           - nocheat.admin.reload
           - nocheat 
           - nocheat.admin 
           - nocheat.checks
           - nocheat.checks.moving 		
           - nocheat.checks.blockbreak 
           - nocheat.checks.blockplace 
           - nocheat.checks.inventory 
           - nocheat.checks.chat 
           - nocheat.checks.fight
           - CommandBin.general.join
           - CommandBin.general.leave
           - CommandBin.general.shoot
           - CommandBin.general.strike
           - CommandBin.general.heal
           - CommandBin.general.freeze
           - CommandBin.general.unfreeze
           - CommandBin.general.snowman
           - CommandBin.general.snowman
           - CommandBin.general.weather
           - CommandBin.general.handicap
           - CommandBin.general.mute
           - CommandBin.general.handicap
           - CommandBin.general.unmute
           - CommandBin.general.explosionstick
           - CommandBin.general.slap
           - CommandBin.general.crossbow
           - CommandBin.teleport.put	
     owner:
       options:
         rank: '1'
       prefix: '&c[Owner] &f'
       worlds:
         world:
          permissions:
           - '*'
           - essentials.*
           - nocheat.*
           - nocheat
           - factions.*
           - factions.admin
           - factions.autoclaim
           - factions.chat
           - factions.create
           - factions.disband
           - factions.disband.any 
           - factions.home 
           - factions.join
           - factions.kick.any
           - factions.leave 
           - factions.join.any
           - factions.unclaimall
           - factions.sethome
           - worldedit.clipboard.load
           - worldedit.clipboard.save 
           - worldedit.clipboard.copy 
           - worldedit.clipboard.paste 
           - worldedit.fast 
           - worldedit.generation.cylinder 
           - worldedit.generation.cylinder 
           - worldedit.generation.sphere 
           - worldedit.generation.sphere 
           - worldedit.generation.forest 
           - worldedit.generation.pyramid 
           - worldedit.generation.pyramid 
           - worldedit.history.undo 
           - worldedit.history.redo 
           - worldedit.navigation.unstuck 
           - worldedit.navigation.thru 
           - worldedit.region.replace 
           - worldedit.region.set 
           - worldedit.region.overlay 
           - worldedit.wand 
           - worldedit.superpickaxe 
           - worldedit.remove 
           - worldedit.drain 
           - worldedit.snow 
           - worldedit.extinguish 
           - worldedit.butcher 
           - worldedit.superpickaxe.tree
           - nocheat.checks.moving.runfly
           - nocheat.checks.moving.flying
           - nocheat.checks.moving.swimming
           - nocheat.checks.moving.sneaking
           - nocheat.checks.moving.nofall
           - nocheat.checks.moving.morepackets
           - nocheat.checks.blockbreak.reach
           - nocheat.checks.blockbreak.direction
           - nocheat.checks.blockbreak.noswing
           - nocheat.checks.blockplace.reach
           - nocheat.checks.blockplace.direction
           - nocheat.checks.inventory.drop
           - nocheat.checks.inventory.instantbow
           - nocheat.checks.inventory.instanteat
           - nocheat.checks.chat.spam
           - nocheat.checks.chat.color
           - nocheat.checks.fight.direction
           - nocheat.checks.fight.noswing
           - nocheat.checks.fight.reach
           - nocheat.checks.fight.speed
           - nocheat.checks.fight.godmode
           - nocheat.admin.chatlog
           - nocheat.admin.commands
           - nocheat.admin.reload
           - nocheat 
           - nocheat.admin 
           - nocheat.checks
           - nocheat.checks.moving 		
           - nocheat.checks.blockbreak 
           - nocheat.checks.blockplace 
           - nocheat.checks.inventory 
           - nocheat.checks.chat 
           - nocheat.checks.fight
           - CommandBin.general.join
           - CommandBin.general.leave
           - CommandBin.general.shoot
           - CommandBin.general.strike
           - CommandBin.general.heal
           - CommandBin.general.freeze
           - CommandBin.general.unfreeze
           - CommandBin.general.snowman
           - CommandBin.general.snowman
           - CommandBin.general.weather
           - CommandBin.general.handicap
           - CommandBin.general.mute
           - CommandBin.general.handicap
           - CommandBin.general.unmute
           - CommandBin.general.explosionstick
           - CommandBin.general.slap
           - CommandBin.general.crossbow
           - CommandBin.teleport.put	
    

    worlds:

     world_nether:
       inheritance:
       - world
     world_skylands:
       inheritance:
       - world
    

    users:

     MKM14:
       group:
       - owner
     ABUxSWELEM:
        group:
        - owner
    
    Last edited Mar 02, 2012 by SpiderBite14
    #3 Mar 02, 2012 at 20:37 UTC - 0 likes

    Your indents are completely wrong, when something is nested (or inside) another option (like your groups inside the "group:" tag), it should be on a new line (you got that right), and has to have an indentation of four spaces (you got that wrong). I tried fixing on of your group's and your user's indentations:

    groups:
        builder:
            options:
            rank: '5'
            prefix: '&6[Builder] &f'
            permissions:
            - modifyworld.*
            - essentials.build
            - essentials.afk
            - essentials.back
            - essentials.back.ondeath
            - essentials.balance
            - essentials.balance.others
            - essentials.balancetop
            - essentials.chat.color
            - essentials.chat.shout
            - essentials.chat.question
            - essentials.compass
            - essentials.depth
            - essentials.home
            - essentials.ignore
            - essentials.kit
            - essentials.kit.tools
            - essentials.mail
            - essentials.mail.send
            - essentials.me
            - essentials.msg
            - essentials.nick
            - essentials.ping
            - essentials.powertool
            - essentials.protect
            - essentials.sethome
            - essentials.signs.use.*
            - essentials.signs.create.disposal
            - essentials.signs.create.mail
            - essentials.signs.create.protection
            - essentials.signs.create.trade
            - essentials.signs.break.disposal
            - essentials.signs.break.mail
            - essentials.signs.break.protection
            - essentials.signs.break.trade
            - essentials.suicide
            - essentials.time
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpahere
            - essentials.tpdeny
            - essentials.warp
            - essentials.warp.list
            - essentials.worth
            - factions.kit.fullplayer
            - factions.kit.halfmod
            - factions.admin
            - factions.autoclaim
            - factions.chat
            - factions.create
            - factions.disband
            - factions.home
            - factions.invite
            - factions.join
            - factions.kick
            - factions.leave
            - factions.unclaimall
            - factions.sethome
            - factions.mod
    users: 
        MKM14:
            group:
            - owner
    ABUxSWELEM:
            group:
            - owner
    

    See how that is? You have to make sure your indents are correct! Also, did you notice that was an extra tab at the end of the "- factions.sethome" node? Neither did I, until I parsed it. Parsing checks coding if it is correct or not, I use this online parser, it's completely free, you just paste your YAML code into the big box on the left, and it will automatically tell you if there's something wrong.

    NOTE: Do not use the tab key to indent! Use four spaces to indent instead!
    Tab key indents in a rather funny way, but YAML checks for indents using spaces. There's actually a way to change how the tab key indents in Notepad++, but I'll go into detail with that some other time.

    With the errors out of the way, let's talk about inheritance real quick... your YAML is REALLY big, in fact, it's too big. You can use inheritance in PermissionsEx to inherit the permission nodes from one or more group, this way, you save a lot of extra copy/pasting problems.

    For example:

    groups:
        builder:
            options:
                rank: '5'
            prefix: '&6[Builder] &f'
            permissions:
            - modifyworld.*
            - essentials.build
            - essentials.afk
            - essentials.back
            - essentials.back.ondeath
            - essentials.balance
            - essentials.balance.others
            - essentials.balancetop
            - essentials.chat.color
            - essentials.chat.shout
            - essentials.chat.question
            - essentials.compass
            - essentials.depth
            - essentials.home
            - essentials.ignore
            - essentials.kit
            - essentials.kit.tools
            - essentials.mail
            - essentials.mail.send
            - essentials.me
            - essentials.msg
            - essentials.nick
            - essentials.ping
            - essentials.powertool
            - essentials.protect
            - essentials.sethome
            - essentials.signs.use.*
            - essentials.signs.create.disposal
            - essentials.signs.create.mail
            - essentials.signs.create.protection
            - essentials.signs.create.trade
            - essentials.signs.break.disposal
            - essentials.signs.break.mail
            - essentials.signs.break.protection
            - essentials.signs.break.trade
            - essentials.suicide
            - essentials.time
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpahere
            - essentials.tpdeny
            - essentials.warp
            - essentials.warp.list
            - essentials.worth
            - factions.kit.fullplayer
            - factions.kit.halfmod
            - factions.admin
            - factions.autoclaim
            - factions.chat
            - factions.create
            - factions.disband
            - factions.home
            - factions.invite
            - factions.join
            - factions.kick
            - factions.leave
            - factions.unclaimall
            - factions.sethome
            - factions.mod
        vip:
            options:
                 rank: '4'
            prefix: '&a[Vip] &f'
            inheritance:
            - Builder
            permissions: null
    

    See how I have the inheritance option set in the VIP group? They have all the nodes of the Builder group now. Neat, huh?
    Now, last but not least, I saw you were trying to give the groups permissions for the nether and main world, in a rather funny way. You realize you don't have to specify worlds while giving permissions, right? If you don't define a world, the group will get permissions for all of the worlds.

    Last edited Mar 02, 2012 by NinjaCupquake
    #4 Mar 03, 2012 at 07:15 UTC - 0 likes

    Oh wow thank you :DD but can you just fix the errors and send it to me ? please cause i really suck ass in this YAML thing and it would be awesome if you can paste the correct one.. but im sorry that i wasted your time in this.. :L and i didnt understand the thing wrong with the prefix And i use Notepad++

    #5 Mar 03, 2012 at 13:33 UTC - 0 likes

    Please will you help me ? Or atleast Fix the wrongs in The YAML and send it to me so i can fix it :) please?

    Last edited Mar 03, 2012 by SpiderBite14
    #6 Mar 04, 2012 at 12:33 UTC - 0 likes

    Well if you wont send one to me atleast make it simple so i can fix it

  • 5 posts

You must login to post a comment. Don't have an account? Register to get one!