Internal server error - PermissionsEX

Discussion in 'Bukkit Help' started by janoot, Apr 10, 2012.

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

    janoot

    Hello,
    I am trying PermissionsEX but I don't really know how it works.
    I've placed this in the permissions.txt
    Code:
    groups:
        Guest:
            default: true
            permissions:
            - permissions.build: false
        Builder:
            permissions:
            - ChestShop.shop.buy: true
            - ChestShop.shop.sell: true
            - ChestShop.shop.create: false
            - colorme.list: false
            - colorme.self: false
            - colorme.other: false
            - colorme.remove: false
            - glowstonelanterns.gl: true
            - glowstonelanters.info: false
            - glowstonelanters.save: false
            - glowstonelanters.reload: false
            - iConomy.access: true
            - iConomy.admin.account.create: false
            - iConomy.admin.account.remove: false
            - iConomy.admin.bank.create: false
            - iConomy.admin.bank.remove: false
            - iConomy.admin.bank.set: false
            - iConomy.admin.empty: false
            - iConomy.admin.grant: false
            - iConomy.admin.hide: false
            - iConomy.admin.purge: false
            - iConomy.admin.reset: false
            - iConomy.admin.set: false
            - iConomy.admin.stats: false
            - iConomy.bank.access: false
            - iConomy.bank.deposit: true
            - iConomy.bank.join: false
            - iConomy.bank.join.multiple: false
            - iConomy.bank.leave: false
            - iConomy.bank.list: false
            - iConomy.bank.main: false
            - iConomy.bank.main.change: false
            - iConomy.bank.main.set: false
            - iConomy.bank.main.view: false
            - iConomy.bank.transfer: false
            - iConomy.bank.transfer.multiple: false
            - iConomy.bank.withdraw: false
            - iConomy.list: false
            - iConomy.payment: true
            - iConomy.rank: false
            - moarrows.use.normal: true
            - moarrows.use.razor: true
            - moarrows.use.piercing: true
            - moarrows.use.lightning: false
            - moarrows.use.fire: false
            - moarrows.use.explosive: false
            - moarrows.use.poison: true
            - moarrows.use.slow: true
            - moarrows.use.teleport: false
            - moarrows.use.doombringer: false
            - moarrows.list: false
            - moarrows.help: false
            - moarrows.set: false
            - mobdisguise.mob.cat: false
            - mobdisguise.mob.chicken: false
            - mobdisguise.mob.cow: false
            - mobdisguise.mob.mooshroom: false
            - mobdisguise.mob.ocelot: false
            - mobdisguise.mob.dog: false
            - mobdisguise.mob.pig: false
            - mobdisguise.mob.sheep: false
            - mobdisguise.mob.enderman: false
            - mobdisguise.mob.wolf: false
            - mobdisguise.mob.pigman: false
            - mobdisguise.mob.blaze: false
            - mobdisguise.mob.cavespider: false
            - mobdisguise.mob.creeper: false
            - mobdisguise.mob.magmacube: false
            - mobdisguise.mob.silverfish: false
            - mobdisguise.mob.skeleton: false
            - mobdisguise.mob.slime: false
            - mobdisguise.mob.spider: false
            - mobdisguise.mob.squis: false
            - mobdisguise.mob.villager: false
            - mobdisguise.mob.zombie: false
            - mobdisguise.mob.snowgolem: false
            - mobdisguise.mob.irongolem: false
            - mobdisguise.mob.enderdragon: false
            - mobdisguise.mob.giant: false
            - movecraft.movecraft.list: false
            - movecraft.movecraft.types: false
            - movecraft.movecraft: false
            - movecraft.airship.info: false
            - movecraft.airship.setname: false
            - movecraft.airship.size: false
            - movecraft.airship: false
            - movecraft.airship.release: false
            - movecraft.airship.pilot: false
            - movecraft.airship.remote: false
            - movecraft.airship.turn: false
            - multiinv.reload: false
            - multiinv.import: false
            - multiinv.exempt: false
            - spectate.use: false
            - spectate.cantspectate: false
            - speedball.game.create: false
            - trp.create.: false
            - trp.gate.use.: true
            - trp.gate.open.:false
            - trp.gate.close.:false
            - trp.gate.changeLink.:false
            - worldportal.create: false
            - worldportal.remove: false
            - worldportal.teleport: true
            - worldportal.save: false
            - worldportal.reload: false
            - jcommands.back: false
            - jcommands.back.ondeath: false
            - jcommands.ban: false
            - jcommands.boom: false
            - jcommands.burn: false
            - jcommands.burn.others: false
            - jcommands.clear: false
            - jcommands.clear.others: false
            - jcommands.day: false
            - jcommands.feed: false
            - jcommands.feed.others: false
            - jcommands.freeze: false
            - jcommands.fullheal: false
            - jcommands.fullheal.others: false
            - jcommands.gamemode: false
            - jcommands.heal: false
            - jcommands.heal.others: false
            - jcommands.home: false
            - jcommands.invisible: false
            - jcommands.kick: false
            - jcommands.kill: false
            - jcommands.location: false
            - jcommands.mute: false
            - jcommands.night: false
            - jcommands.nuke: false
            - jcommands.put: false
            - jcommands.sethome: false
            -  jcommands.setspawn: false
            - jcommands.smite: false
            - jcommands.smite.others: false
            - jcommands.spawn: false
            - jcommands.storm: false
            - jcommands.suicide: false
            - jcommands.sun: false
            - jcommands.tp: false
            - jcommands.tpall: false
            - jcommands.tphere: false
            - jcommands.unban: false
            - jcommands.unfreeze: false
            - jcommands.unmute: false
            inheritance:
            - Guest
        Admin:
            permissions:
            - ChestShop.*: true
            - colorme.*: true
            - glowstonelanterns.*: true
            - iConomy.*: true
            - moarrows.use.normal: true
            - moarrows.use.razor: true
            - moarrows.use.piercing: true
            - moarrows.use.lightning: true
            - moarrows.use.fire: true
            - moarrows.use.explosive: true
            - moarrows.use.poison: true
            - moarrows.use.slow: true
            - moarrows.use.teleport: true
            - moarrows.use.doombringer: false
            - moarrows.list: false
            - moarrows.help: false
            - moarrows.set: false
            - mobdisguise.*: true
            - movecraft.*: true
            - multiinv.reload: false
            - multiinv.import: false
            - multiinv.exempt: false
            - spectate.*: true
            - trp.*: true
            - worldportal.*: true
            - jcommands.back.ondeath: false
            - jcommands.ban: false
            - jcommands.boom: false
            - jcommands.burn: false
            - jcommands.burn.others: false
            - jcommands.clear: false
            - jcommands.clear.others: false
            - jcommands.day: true
            - jcommands.feed: false
            - jcommands.feed.others: false
            - jcommands.freeze: false
            - jcommands.fullheal: false
            - jcommands.fullheal.others: false
            - jcommands.gamemode: true
            - jcommands.heal: false
            - jcommands.heal.others: false
            - jcommands.home: true
            - jcommands.invisible: false
            - jcommands.kick: false
            - jcommands.kill: false
            - jcommands.location: false
            - jcommands.mute: false
            - jcommands.night: true
            - jcommands.nuke: false
            - jcommands.put: false
            - jcommands.sethome: true
            - jcommands.setspawn: false
            - jcommands.smite: false
            - jcommands.smite.others: false
            - jcommands.spawn: true
            - jcommands.storm: false
            - jcommands.suicide: false
            - jcommands.sun: true
            - jcommands.tp: false
            - jcommands.tpall: false
            - jcommands.tphere: false
            - jcommands.unban: false
            - jcommands.unfreeze: false
            - jcommands.unmute: false
        inheritance: false
        - Builder
    When I want to join I get a Internal Server error, but when I delete the permissionsEX plugin nothing happens.
    What is wrong with my code?
     
  2. Offline

    blackvoid

    You should not have : true/false after the permission.
    This should work:
    Code:
    groups:
        Guest:
            default
            permissions:
            - permissions.build
        Builder:
            permissions:
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            - ChestShop.shop.create
            - colorme.list
            - colorme.self
            - colorme.other
            - colorme.remove
            - glowstonelanterns.gl
            - glowstonelanters.info
            - glowstonelanters.save
            - glowstonelanters.reload
            - iConomy.access
            - iConomy.admin.account.create
            - iConomy.admin.account.remove
            - iConomy.admin.bank.create
            - iConomy.admin.bank.remove
            - iConomy.admin.bank.set
            - iConomy.admin.empty
            - iConomy.admin.grant
            - iConomy.admin.hide
            - iConomy.admin.purge
            - iConomy.admin.reset
            - iConomy.admin.set
            - iConomy.admin.stats
            - iConomy.bank.access
            - iConomy.bank.deposit
            - iConomy.bank.join
            - iConomy.bank.join.multiple
            - iConomy.bank.leave
            - iConomy.bank.list
            - iConomy.bank.main
            - iConomy.bank.main.change
            - iConomy.bank.main.set
            - iConomy.bank.main.view
            - iConomy.bank.transfer
            - iConomy.bank.transfer.multiple
            - iConomy.bank.withdraw
            - iConomy.list
            - iConomy.payment
            - iConomy.rank
            - moarrows.use.normal
            - moarrows.use.razor
            - moarrows.use.piercing
            - moarrows.use.lightning
            - moarrows.use.fire
            - moarrows.use.explosive
            - moarrows.use.poison
            - moarrows.use.slow
            - moarrows.use.teleport
            - moarrows.use.doombringer
            - moarrows.list
            - moarrows.help
            - moarrows.set
            - mobdisguise.mob.cat
            - mobdisguise.mob.chicken
            - mobdisguise.mob.cow
            - mobdisguise.mob.mooshroom
            - mobdisguise.mob.ocelot
            - mobdisguise.mob.dog
            - mobdisguise.mob.pig
            - mobdisguise.mob.sheep
            - mobdisguise.mob.enderman
            - mobdisguise.mob.wolf
            - mobdisguise.mob.pigman
            - mobdisguise.mob.blaze
            - mobdisguise.mob.cavespider
            - mobdisguise.mob.creeper
            - mobdisguise.mob.magmacube
            - mobdisguise.mob.silverfish
            - mobdisguise.mob.skeleton
            - mobdisguise.mob.slime
            - mobdisguise.mob.spider
            - mobdisguise.mob.squis
            - mobdisguise.mob.villager
            - mobdisguise.mob.zombie
            - mobdisguise.mob.snowgolem
            - mobdisguise.mob.irongolem
            - mobdisguise.mob.enderdragon
            - mobdisguise.mob.giant
            - movecraft.movecraft.list
            - movecraft.movecraft.types
            - movecraft.movecraft
            - movecraft.airship.info
            - movecraft.airship.setname
            - movecraft.airship.size
            - movecraft.airship
            - movecraft.airship.release
            - movecraft.airship.pilot
            - movecraft.airship.remote
            - movecraft.airship.turn
            - multiinv.reload
            - multiinv.import
            - multiinv.exempt
            - spectate.use
            - spectate.cantspectate
            - speedball.game.create
            - trp.create.
            - trp.gate.use.
            - trp.gate.open.:false
            - trp.gate.close.:false
            - trp.gate.changeLink.:false
            - worldportal.create
            - worldportal.remove
            - worldportal.teleport
            - worldportal.save
            - worldportal.reload
            - jcommands.back
            - jcommands.back.ondeath
            - jcommands.ban
            - jcommands.boom
            - jcommands.burn
            - jcommands.burn.others
            - jcommands.clear
            - jcommands.clear.others
            - jcommands.day
            - jcommands.feed
            - jcommands.feed.others
            - jcommands.freeze
            - jcommands.fullheal
            - jcommands.fullheal.others
            - jcommands.gamemode
            - jcommands.heal
            - jcommands.heal.others
            - jcommands.home
            - jcommands.invisible
            - jcommands.kick
            - jcommands.kill
            - jcommands.location
            - jcommands.mute
            - jcommands.night
            - jcommands.nuke
            - jcommands.put
            - jcommands.sethome
            - jcommands.setspawn
            - jcommands.smite
            - jcommands.smite.others
            - jcommands.spawn
            - jcommands.storm
            - jcommands.suicide
            - jcommands.sun
            - jcommands.tp
            - jcommands.tpall
            - jcommands.tphere
            - jcommands.unban
            - jcommands.unfreeze
            - jcommands.unmute
            inheritance:
            - Guest
        Admin:
            permissions:
            - ChestShop.*
            - colorme.*
            - glowstonelanterns.*
            - iConomy.*
            - moarrows.use.normal
            - moarrows.use.razor
            - moarrows.use.piercing
            - moarrows.use.lightning
            - moarrows.use.fire
            - moarrows.use.explosive
            - moarrows.use.poison
            - moarrows.use.slow
            - moarrows.use.teleport
            - moarrows.use.doombringer
            - moarrows.list
            - moarrows.help
            - moarrows.set
            - mobdisguise.*
            - movecraft.*
            - multiinv.reload
            - multiinv.import
            - multiinv.exempt
            - spectate.*
            - trp.*
            - worldportal.*
            - jcommands.back.ondeath
            - jcommands.ban
            - jcommands.boom
            - jcommands.burn
            - jcommands.burn.others
            - jcommands.clear
            - jcommands.clear.others
            - jcommands.day
            - jcommands.feed
            - jcommands.feed.others
            - jcommands.freeze
            - jcommands.fullheal
            - jcommands.fullheal.others
            - jcommands.gamemode
            - jcommands.heal
            - jcommands.heal.others
            - jcommands.home
            - jcommands.invisible
            - jcommands.kick
            - jcommands.kill
            - jcommands.location
            - jcommands.mute
            - jcommands.night
            - jcommands.nuke
            - jcommands.put
            - jcommands.sethome
            - jcommands.setspawn
            - jcommands.smite
            - jcommands.smite.others
            - jcommands.spawn
            - jcommands.storm
            - jcommands.suicide
            - jcommands.sun
            - jcommands.tp
            - jcommands.tpall
            - jcommands.tphere
            - jcommands.unban
            - jcommands.unfreeze
            - jcommands.unmute
            inheritance:
            - Builder
     
  3. Offline

    janoot

    Okay thanks but I still get the Internal Server error. What c0uld it be?

    Anyone?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  4. Offline

    Lolmewn

    It might be because you have 4 spaces for each node. Example:
    Code:
    node:
        someValue
    
    While it should be only 2 spaces for each node. Like this:
    Code:
    node:
      someValue
    
     
  5. Offline

    janoot

    Thank you, it works :D
    But I still have 3 questions:
    1: How do I show the ranks? Like Guest, Builder, Admin and Owner.
    2: How can I let the Guests not build or destroy anything?
    3: How do I make everyone who is new in my server a Guest so they won't be able to do anything.

    If you need it, here is my code
    Code:
    groups:
        Guest:
            default: true
            permissions:
            - permissions.build
        Builder:
            permissions:
            - chestshop.shop.buy
            - chestshop.shop.sell
            - glowstonelanterns.gl
            - iConomy.access
            - iConomy.bank.withdraw
            - iConomy.list
            - iConomy.payment
            - moarrows.use.normal
            - moarrows.use.razor
            - moarrows.use.piercing
            - moarrows.use.poison
            - moarrows.use.slow
            - multiinv.reload
            - multiinv.import
            - multiinv.exempt
            - speedball.game.create
            - trp.gate.use
            - worldportal.teleport
            - jcommands.home
            - jcommands.sethome
            inheritance:
            - Guest
        Admin:
            permissions:
            - chestshop.*
            - colorme.*
            - glowstonelanterns.*
            - iConomy.*
            - moarrows.use.normal
            - moarrows.use.razor
            - moarrows.use.piercing
            - moarrows.use.lightning
            - moarrows.use.fire
            - moarrows.use.explosive
            - moarrows.use.poison
            - moarrows.use.slow
            - moarrows.use.teleport
            - mobdisguise.*
            - movecraft.*
            - multiinv.reload
            - multiinv.import
            - multiinv.exempt
            - spectate.*
            - trp.*
            - worldportal.*
            - jcommands.day
            - jcommands.gamemode
            - jcommands.home
            - jcommands.mute
            - jcommands.night
            - jcommands.sethome
            - jcommands.spawn
            - jcommands.storm
            - jcommands.sun
            - jcommands.tp
            inheritance:
            - Builder
        Owner:
            permissions:
            - chestshop.*
            - colorme.*
            - glowstonelanterns.*
            - iConomy.*
            - moarrows.*
            - mobdisguise.*
            - movecraft.*
            - multiinv.reload
            - multiinv.import
            - multiinv.exempt
            - spectate.*
            - trp.*
            - worldportal.*
            - jcommands.*
            inheritance:
            - Admin
    Thank you.
     
  6. Offline

    Phxmous

    [/quote]

    Under default add this node
    prefix: ''
    suffix: ''

    Add a prefix and/or suffix in the quotes along with colors
    example
    prefix: '&7[&3Admin&7]&f'
    suffix: ''

    the prefix would look like [Admin]<User>
    but there is no suffix[/CODE][/quote][/CODE][/COLOR][/CODE][/COLOR][/quote]

    sorry that got jumbled up just scroll towards the bottom

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  7. Offline

    janoot

    Ai, now I get the internal server error again.. Colors aren't really necessary. Is it possible to show the text without error?
     
  8. Offline

    syonxwf

    Any time you make changes to your permissions file, run it through an online yaml parser first.
    http://yaml-online-parser.appspot.com/

    It tells you where the error is in the code. Once you get better at editing the permissions file you won't need it as much.
     
  9. Offline

    janoot

    Thank you, it will help a lot :D
    But still
     
  10. Offline

    andrewpo

    To show rank prefixes, get a chat plugin like essentialschat or herochat.
     
  11. Offline

    zipron

    check my sig for a link to a full PEX guide =)

    zip
     
  12. Offline

    andrewpo

    I'll start referring people to that :p
     
  13. Offline

    zipron

    some already do that, so good idea =)

    zip
     
Thread Status:
Not open for further replies.

Share This Page