Question What is wrong with my groups.yml (bPermissions)

Discussion in 'Bukkit Help' started by randomeow, Sep 22, 2019.

  1. Offline

    randomeow

    So I'm trying to use the bPermissions plugin for ranks/perms, but it's not working and I'm not too sure why. Here's my code for the groups.yml file:
    Code:
    default: member
    groups:
      member:
        permissions:
       - bukkit.command.version 
       - bukkit.command.plugins 
       - minecraft.command.me 
       - bukkit.command.help
       - essentials.afk
       - essentials.afk.message
       - essentials.back.ondeath
       - essentials.balance
       - essentials.balance.others
       - essentials.balancetop
       - essentials.clearinventory
       - essentials.clearinventoryconfirmtoggle
       - essentials.compass
       - essentials.delhome
       - essentials.help
       - essentials.helpop
       - essentials.ignore
       - essentials.info
       - essentials.kit
       - essentials.mail
       - essentials.mail.send
       - essentials.motd
       - essentials.msg
       - essentials.msgtoggle
       - essentials.pay
       - essentials.payconfirmtoggle
       - essentials.paytoggle
       - essentials.realname
       - essentials.seen
       - essentials.rules
       - essentials.sell
       - essentials.sell.hand
       - essentials.sell.bulk
       - essentials.sethome
       - essentials.sethome.bed
       - essentials.sleepingignored
       - essentials.spawn
       - essentials.tpa
       - essentials.tpacancel
       - essentials.tpaccept
       - essentials.tpdeny
       - essentials.tpahere
       - essentials.tptoggle
       - essentials.warp
       - essentials.warp.list
       - essentials.world
       - essentials.worth
       - essentials.afk.auto 
       - essentials.essential.kits.starter
       - essentials.warps.hub
       - essentials.home
       - essentials.worlds.world
       - essentials.worlds.survival
       - essentials.worlds.creative
       - essentials.signs.balance
       - essentials.signs.buy
       - essentials.signs.disposal
       - essentials.signs.free
       - essentials.signs.info
       - essentials.signs.kit
       - essentials.signs.mail
       - essentials.signs.protection
       - essentials.signs.sell
       - essentials.signs.trade
       - essentials.signs.warp
       - essentials.protect.damage.contact
       - essentials.protect.damage.creeper
       - essentials.protect.damage.drowning
       - essentials.protect.damage.fall
       - essentials.protect.damage.fire
       - essentials.protect.damage.fireball
       - essentials.protect.damage.lava
       - essentials.protect.damage.lightning
       - essentials.protect.damage.projectiles
       - essentials.protect.damage.suffocation
       - essentials.protect.damage.tnt
       - essentials.silentjoin
       - essentials.silentquit
       - essentials.eco.loan
       - griefprevention.claims
       - griefprevention.buysellclaimblocks
       - griefprevention.givepet
       - griefprevention.trapped
        groups: []
        meta:
         priority:'100'
         prefix: '&7[Member] &8|&7'
    
      iron:
        permissions:
       - essentials.chat.color
       - essentials.enderchest
       - essentials.feed
       - essentials.hat
       - essentials.list
       - essentials.nick
       - essentials.ping
       - essentials.ptime
       - essentials.pweather
       - essentials.recipe
       - essentials.showkit
       - essentials.setworth
       - essentials.skull
       - essentials.skull.modify
       - essentials.suicide
       - essentials.teleport.cooldown.bypass.tpa
       - essentials.teleport.cooldown.bypass.back
       - essentials.teleport.timer.move
       - essentials.teleport.timer.bypass
       - essentials.workbench
       - essentials.signs.color
       - essentials.create.sell
       - essentials.afk.kickexempt
       - essentials.kits.iron
       - essentials.nick.color
       - essentials.keepinv
        groups:
       - member
        meta:
         priority:'200'
         prefix: '&f[Iron] &8|&r'
    
      gold:
        permissions:
       - essentials.nick.magic
       - essentials.nick.format
       - essentials.joinfullserver
       - essentials.kittycannon
       - essentials.lightning
       - essentials.heal
       - essentials.keepxp
       - essentials.feed.cooldown.bypass
       - essentials.kits.gold
       - essentials.repair
       - essentials.enchant
       - essentials.tp
       - essentials.chat.color
       - essentials.broadcast
       - worldedit.region.set
       - worldedit.wand
       - worldedit.selection.pos
       - worldedit.region.replace
       - worldedit.navigation.thru.command
       - worldedit.navigation.ascend
       - worldedit.navigation.descend
       - worldedit.navigation.ceiling
       - worldedit.history.undo
       - worldedit.history.redo
       - worldedit.clipboard.copy
       - worldedit.clipboard.paste
       - worldedit.clipboard.load
       - worldedit.clipboard.clear
       - worldedit.clipboard.cut
        groups:
       - iron
        meta:
         priority:'300'
         prefix: '&6[Gold] &8|&r'
    
      diamond:
        permissions
       - essentials.sudo
       - essentials.vanish
       - essentials.fly
       - essentials.walk
       - essentials.chat.shout
       - essentials.tpo
       - essentials.tpohere
       - essentials.ext
       - essentials.openinv
       - essentials.break.bedrock
       - worldedit.*
        groups:
       - gold
        meta:
         priority:'400'
         prefix: '&b&l[Diamond] &r&8|&r'
    
      rainbow:
        permissions: []
        groups:
       - diamond
        meta:
         priority:'400'
         prefix: '&7[&l&4R&6a&ei&an&2b&bo&1w&7] &8|&r'
    
      t-mod
        permissions:
       - essentials.kickall.exempt
       - essentials.ban.offline
       - essentials.mute
       - essentials.tempban
       - essentials.mute.offline
       - essentials.mute.notify
       - essentials.ban.notify
       - essentials.unlimited.item- all
       - essentials.vanish.see
       - essentials.vanish.pvp
       - essentials.helpop.recieve
       - essentials.invsee.modify
       - essentials.item
       - essentials.jails
       - essentials.deljail
       - essentials.createkit
       - essentials.chat.spy
       - essentials.setjail
       - essentials.togglejail
       - essentials.togglejail.offline
       - essentials.silentjoin.vanish
       - griefprevention.*
        groups:
       - rainbow
        meta:
         priority:'500'
         prefix: '&2[T-Mod] &8|&a'
    
      moderator:
        permissions:
       - essentials.*
        groups:
       - t-mod
        meta:
         priority: '600'
         prefix: '&5[Moderator] &8|&b
    
      admin:
        permissions:
       - minecraft.command.*
        groups:
       - moderator
        meta:
         priority:'700'
         prefix: '&4[Admin] &8|&c
    
      owner:
        permissions:
       - bukkit.command.*
        groups:
       - admin
        meta:
         priority: '800'
         prefix: '&1&l[Owner] &r&8|&9
    
    Whenever I try to start up my server the console says this:
    Code:
    [15:57:00] [MainThread/LOAD/WARN]: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    
    in 'string', line 3, column 3:
    
          member:
    
          ^
    
    expected <block end>, but found '<block sequence start>'
    
    in 'string', line 5, column 4:
    
          - bukkit.command.version
    
          ^
    
    
    [15:57:00] [MainThread/LOAD/WARN]: at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
    
    [15:57:00] [MainThread/LOAD/WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
    
    [15:57:00] [MainThread/LOAD/WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128)
    
    [15:57:00] [Server thread/INFO]: [bChatManager] Enabling bChatManager v3.1.6
    
    [15:57:00] [MainThread/LOAD/WARN]: at de.bananaco.bpermissions.imp.YamlConfiguration.load(YamlConfiguration.java:17)
    
    [15:57:00] [MainThread/LOAD/WARN]: at de.bananaco.bpermissions.imp.YamlWorld.loadUnsafe(YamlWorld.java:139)
    
    [15:57:00] [MainThread/LOAD/WARN]: at de.bananaco.bpermissions.imp.YamlWorld$1.run(YamlWorld.java:102)
    
    [15:57:00] [MainThread/LOAD/WARN]: at de.bananaco.bpermissions.util.loadmanager.MainThread.check(MainThread.java:54)
    
    [15:57:00] [MainThread/LOAD/WARN]: at de.bananaco.bpermissions.util.loadmanager.MainThread.run(MainThread.java:26)
    
    I've been searching up what is <block end> and what is <block sequence start> but I'm still not too sure what that means!! I have no idea why this is happening and I've even tried other rank/perm plugins such as PermissionsEx and PowerRanks but the SAME EXACT THING keeps happening! :(
     
    Last edited by a moderator: Sep 22, 2019
  2. Offline

    timtower Moderator Moderator

    @randomeow Your permissions don't have enough spaces.
     
  3. Offline

    randomeow

    How many spaces exactly? I added 2 more spaces, making it five but it still didn't work :/
     
  4. Offline

    timtower Moderator Moderator

    @randomeow Spaces in yml are in pairs of two.
    And it needs to be on the same line as the "permissions:"
     

Share This Page