I'm Having Trouble with PermissionsBukkit

Discussion in 'Bukkit Help' started by justin2, Dec 22, 2011.

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

    justin2

    This is what i get when i run it threw the cmd i don't know whatI'im doing wrong


    [WARNING] Server permissions file permissions.yml is not valid YAML: while scanning a simple key
    in "<reader>", line 40, column 13:
    essentials.help
    ^
    could not found expected ':'
    in "<reader>", line 41, column 13:
    essentials.kit
    ^
    Please help if u know whats the matter thank you it will be greatly appreciated.
     
  2. Offline

    pyraetos

    Could you post your file using the code feature of the forum?
     
  3. Offline

    justin2

    sure do that right now do u want the whole thing or just the part im having trouble on?

    Code:
    groups:
        default:
            permissions:
                permissions.build: true
                essentials.help
                essentials.kit
                essentials.kit.tools
                essentials.time
                essentials.afk
                essentials.motd
                essentials.msg
                essentials.suicide
                essentials.home
                essentials.sethome
                essentials.warp
                essentials.warp.*
                lwc.protect
                iConomy.holdings
                iConomy.holdings.others
                iConomy.help
                iConomy.payment
                iConomy.account.give
                ChestShop.shop.create
                ChestShop.shop.buy
                ChestShop.shop.sell
        Admin:
            permissions:
                permissions.*: true
                essentials.ban
                essentials.ban.notify
                setrankpb.rankall
                lwc.admin
                worldedit.generation.pyramid
                worldedit.generation.sphere
                worldedit.history.undo
                worldedit.history.redo
                worldedit.navigation.jumpto
                worldedit.region.replace
                worldedit.region.set
                worldedit.region.walls
                worldedit.selection.expand
                worldedit.butcher
                iConomy.accounts.set
                ChestShop.admin
                essential.tp
            inheritance:
            - Moderator
        Moderator:
            permissions:
                essentials.enchant
                essentials.give
                essentials.give.item-all
                essentials.item
                essentials.item.item-all
                essentials.repair
                essentials.repair.armor
                essentials.repair.enchant
                essentials.time.set
                essentials.unlimited
                essentials.unlimited.item-all
                essentials.unlimited.item-bucket
                essentials.tempban
                essentials.broadcast
                essentials.butcher
                essentials.clearinventory
                essentials.clearinventory.others
                essentials.kick
                essentials.kick.notify
                essentials.mute
                essentials.weather
                essentials.tp
                essentials.setwarp
                setrankpb.rank.Guest
                setrankpb.rank.Survivor
                lwc.mod
                mobdisguise.*
                mobdisguise.player
                worldedit.wand
                worldguard.stack
                worldguard.slay.other
                worldguard.slay
                worldguard.halt-activity.*
                worldguard.region.define
                worldguard.region.redefine
                worldguard.region.addowner.*
                worldguard.region.removeowner*
                ChestShop.mod
    messages:
        build: '&cYou do not have permission to build here.'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 22, 2016
  4. Offline

    pyraetos

    You'll have to add
    Code:
    : true
    to all the nodes so that it looks like the first one:
    Code:
    permissions.build: true
     
  5. Offline

    justin2

    ok thanks now i know why my permissions never work ur a big help:)) if u ever join my server u get diamonds and mod:))) GettingWood.no-ip.org

    Soo it should be like this
    Code:
    groups:
        default:
            permissions:
                permissions.build: true
                essentials.help: true
                essentials.kit: true
                essentials.kit.tools: true
                essentials.time: true
                essentials.afk: true
                essentials.motd: true
                essentials.msg: true
                essentials.suicide: true
                essentials.home: true
                essentials.sethome: true
                essentials.warp: true
                essentials.warp.*: true
                lwc.protect: true
                iConomy.holdings: true
                iConomy.holdings.others: true
                iConomy.help: true
                iConomy.payment: true
                iConomy.account.give: true
                ChestShop.shop.create: true
                ChestShop.shop.buy: true
                ChestShop.shop.sell: true
        Admin:
            permissions:
                permissions.*: true
                essentials.ban: true
                essentials.ban.notify: true
                setrankpb.rankall: true
                lwc.admin: true
                worldedit.generation.pyramid: true
                worldedit.generation.sphere: true
                worldedit.history.undo: true
                worldedit.history.redo: true
                worldedit.navigation.jumpto: true
                worldedit.region.replace: true
                worldedit.region.set: true
                worldedit.region.walls: true
                worldedit.selection.expand: true
                worldedit.butcher: true
                iConomy.accounts.set: true
                ChestShop.admin: true
                essential.tp: true
            inheritance:
            - Moderator
        Moderator:
            permissions:
                essentials.enchant: true
                essentials.give: true
                essentials.give.item-all: true
                essentials.item: true
                essentials.item.item-all: true
                essentials.repair: true
                essentials.repair.armor: true
                essentials.repair.enchant: true
                essentials.time.set: true
                essentials.unlimited: true
                essentials.unlimited.item-all: true
                essentials.unlimited.item-bucket: true
                essentials.tempban: true
                essentials.broadcast: true
                essentials.butcher: true
                essentials.clearinventory: true
                essentials.clearinventory.others: true
                essentials.kick: true
                essentials.kick.notify: true
                essentials.mute: true
                essentials.weather: true
                essentials.tp: true
                essentials.setwarp: true
                setrankpb.rank.Guest: true
                setrankpb.rank.Survivor: true
                lwc.mod: true
                mobdisguise.*: true
                mobdisguise.player: true
                worldedit.wand: true
                worldguard.stack: true
                worldguard.slay.other: true
                worldguard.slay: true
                worldguard.halt-activity.*: true
                worldguard.region.define: true
                worldguard.region.redefine: true
                worldguard.region.addowner.*: true
                worldguard.region.removeowner*: true
                ChestShop.mod: true
    After i did that this is what i got in the log

    Code:
    22:21:08 [SEVERE] Permission node 'groups' in server config is invalid
    java.lang.IllegalArgumentException: 'default' key contained unknown value
        at org.bukkit.permissions.Permission.loadPermission(Permission.java:268)
        at org.bukkit.permissions.Permission.loadPermission(Permission.java:235)
        at org.bukkit.craftbukkit.CraftServer.loadCustomPermissions(CraftServer.java:478)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:175)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:436)
        at org.bukkit.Bukkit.reload(Bukkit.java:187)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:374)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:564)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:541)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 22, 2016
  6. Offline

    pyraetos

    Paste your permissions.yml from your main server directory.
     
  7. Offline

    justin2

    i did still dont work
     
Thread Status:
Not open for further replies.

Share This Page