What is wrong with my inheritance?

Discussion in 'Bukkit Help' started by CommanderCarrot5, Oct 30, 2017.

Thread Status:
Not open for further replies.
  1. Code:
    groups:
      SeniorMod:
        default: false
        permissions: []
        inheritance: []
        info:
          build: false
          prefix: '&f&l[&c&lSenior&7&lMod&f&l]'
          suffix: ''
    I haven't set up SeniorMod's perms yet, and would eventually like it to have mods perms. When I try to do groupmanager commands e.g /manuadd, they are locked! It says:
    Code:
    Caused by: while scanning a simple key
     in 'reader', line 15, column 5:
            inheritance:moderator
            ^
    could not find expected ':'
     in 'reader', line 16, column 5:
            info:
    
    Help?
     
  2. Online

    timtower Administrator Administrator Moderator

  3. Code:
    # Group inheritance
    #
    # Any inherited groups prefixed with a g: are global groups
    # and are inherited from the GlobalGroups.yml.
    #
    # Groups without the g: prefix are groups local to this world
    # and are defined in the this groups.yml file.
    #
    # Local group inheritances define your promotion tree when using 'manpromote/mandemote'
    
    groups:
      SeniorMod:
        default: false
        permissions: []
        inheritance: []
        info:
          build: false
          prefix: '&f&l[&c&lSenior&7&lMod&f&l]'
          suffix: ''
      OP:
        default: false
        permissions: []
        inheritance: []
        info:
          build: false
          prefix: '&f&l[&4&lO&1&lP&f&l] '
          suffix: ''
      Moderator:
        default: false
        permissions:
        - ab.ban.perma
        - ab.ban.temp
        - ab.ban.undo
        - ab.kick.use
        - ab.mute.perma
        - ab.mute.temp
        - ab.mute.undo
        - ab.warn.perma
        - ab.warn.temp
        - ab.warn.undo
        - ab.warns.other
        - essentials.ban
        - essentials.fly
        - essentials.vanish
        - essentials.vanish.others
        - essentials.vanish.pvp
        inheritance:
        - builder
        - g:groupmanager_moderator
        - g:bukkit_moderator
        - g:essentials_moderator
        - g:towny_moderator
        - g:vanish_moderator
        info:
          build: true
          prefix: '&f[&5Mod&f] '
          suffix: ''
      Owner:
        default: false
        permissions:
        - +vanish.effects.toggle.all
        - -vanish.effects.*
        - '&f&l[&4&lOwner&f&l]'
        - '&l&f[&4Owner&f]'
        - '&l&f[&4Owner]'
        - '*'
        - essentials.*
        - prefix
        inheritance:
        - admin
        info:
          build: true
          prefix: '&f&l[&4&lOwner&f&l] '
          suffix: ''
      Owner+:
        default: false
        permissions: []
        inheritance: []
        info:
          build: false
          prefix: '&f&l[&4&lOwner&a&l+&f&l] '
          suffix: ''
      Builder:
        default: false
        permissions:
        - ab.mute.temp
        - ab.warn.temp
        - essentials.fly
        - essentials.gamemode
        - essentials.gmc
        - essentials.gms
        - worldedit.*
        - worldguard.chest-protection.override.*
        - worldguard.notify.*
        inheritance:
        - default
        - g:essentials_builder
        - g:towny_builder
        info:
          build: true
          prefix: '&f&l[&6Builder&f&l] '
          suffix: ''
      Admin:
        default: false
        permissions: []
        inheritance:
        - moderator
        - g:groupmanager_admin
        - g:bukkit_admin
        - g:essentials_admin
        - g:towny_admin
        - g:vanish_admin
        info:
          build: true
          prefix: '&f&l[&c&lAdmin&f&l] '
          suffix: ''
      Default:
        default: true
        permissions:
        - '10'
        - '250'
        - all
        - askyblock.intopten
        - askyblock.island.*
        - askyblock.island.controlpanel
        - askyblock.island.range.
        - askyblock.island.range.<number>
        - askyblock.team.create
        - askyblock.team.join
        - askyblock.team.kick
        - askyblock.team.makeleader
        - askyblock.team.maxsize.
        - askyblock.team.maxsize.<number>
        - essentials.balance
        - essentials.balancetop
        - essentials.helpop
        - essentials.kit
        - essentials.kit.private
        - essentials.kits.*
        - essentials.message
        - essentials.msg
        - essentials.realname
        - essentials.sethome
        - essentials.sethome.multiple
        - essentials.spawn
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.tpyes
        - essentials.warp
        - essentials.warp.*
        - essentials.warp.pvp
        - essentials.warp.spawn
        - essentials.warpd
        - essentials.whisper
        inheritance:
        - g:groupmanager_default
        - g:bukkit_default
        - g:essentials_default
        - g:towny_default
        info:
          build: false
          prefix: '&f[&9Member&f] '
          suffix: ''
      Staff-Manager:
        default: false
        permissions:
        -
        inheritance:moderator
        info:
          build: false
          prefix: '&8[&eStaff-Manager&8] &r'
          suffix: ''
     
  4. Online

    timtower Administrator Administrator Moderator

  5. Okay... I tweaked some stuff... And now not only does Groupmanager still not work, the ranks are broken. Help!?

    Code:
    # Group inheritance
    #
    # Any inherited groups prefixed with a g: are global groups
    # and are inherited from the GlobalGroups.yml.
    #
    # Groups without the g: prefix are groups local to this world
    # and are defined in the this groups.yml file.
    #
    # Local group inheritances define your promotion tree when using 'manpromote/mandemote'
    
    groups:
      SeniorMod:
        default: false
        permissions: []
        inheritance: []
        info:
          build: false
          prefix: '&f&l[&c&lSenior&7&lMod&f&l]'
          suffix: ''
      OP:
        default: false
        permissions: []
        inheritance: []
        info:
          build: false
          prefix: '&f&l[&4&lO&1&lP&f&l] '
          suffix: ''
      Moderator:
        default: false
        permissions:
        - ab.ban.perma
        - ab.ban.temp
        - ab.ban.undo
        - ab.kick.use
        - ab.mute.perma
        - ab.mute.temp
        - ab.mute.undo
        - ab.warn.perma
        - ab.warn.temp
        - ab.warn.undo
        - ab.warns.other
        - essentials.ban
        - essentials.fly
        - essentials.vanish
        - essentials.vanish.others
        - essentials.vanish.pvp
        inheritance:
        - builder
        - g:groupmanager_moderator
        - g:bukkit_moderator
        - g:essentials_moderator
        - g:towny_moderator
        - g:vanish_moderator
        info:
          build: true
          prefix: '&f[&5Mod&f] '
          suffix: ''
      Owner:
        default: false
        permissions:
        - +vanish.effects.toggle.all
        - -vanish.effects.*
        - '&f&l[&4&lOwner&f&l]'
        - '&l&f[&4Owner&f]'
        - '&l&f[&4Owner]'
        - '*'
        - essentials.*
        - prefix
        inheritance:
        - admin
        info:
          build: true
          prefix: '&f&l[&4&lOwner&f&l] '
          suffix: ''
      Owner+:
        default: false
        permissions: []
        inheritance: []
        info:
          build: false
          prefix: '&f&l[&4&lOwner&a&l+&f&l] '
          suffix: ''
      Builder:
        default: false
        permissions:
        - ab.mute.temp
        - ab.warn.temp
        - essentials.fly
        - essentials.gamemode
        - essentials.gmc
        - essentials.gms
        - worldedit.*
        - worldguard.chest-protection.override.*
        - worldguard.notify.*
        inheritance:
        - default
        - g:essentials_builder
        - g:towny_builder
        info:
          build: true
          prefix: '&f&l[&6Builder&f&l] '
          suffix: ''
      Admin:
        default: false
        permissions: []
        inheritance:
        - moderator
        - g:groupmanager_admin
        - g:bukkit_admin
        - g:essentials_admin
        - g:towny_admin
        - g:vanish_admin
        info:
          build: true
          prefix: '&f&l[&c&lAdmin&f&l] '
          suffix: ''
      Default:
        default: true
        permissions:
        - '10'
        - '250'
        - all
        - askyblock.intopten
        - askyblock.island.*
        - askyblock.island.controlpanel
        - askyblock.island.range.
        - askyblock.island.range.<number>
        - askyblock.team.create
        - askyblock.team.join
        - askyblock.team.kick
        - askyblock.team.makeleader
        - askyblock.team.maxsize.
        - askyblock.team.maxsize.<number>
        - essentials.balance
        - essentials.balancetop
        - essentials.helpop
        - essentials.kit
        - essentials.kit.private
        - essentials.kits.*
        - essentials.message
        - essentials.msg
        - essentials.realname
        - essentials.sethome
        - essentials.sethome.multiple
        - essentials.spawn
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.tpyes
        - essentials.warp
        - essentials.warp.*
        - essentials.warp.pvp
        - essentials.warp.spawn
        - essentials.warpd
        - essentials.whisper
        inheritance:
        - g:groupmanager_default
        - g:bukkit_default
        - g:essentials_default
        - g:towny_default
        info:
          build: false
          prefix: '&f[&9Member&f] '
          suffix: ''
      Staff-Manager:
        default: false
        permissions:[]
        inheritance:
        info:
          build: false
          prefix: '&f&l[&e&lStaff&f&l-&e&lManager&f&l] '
          suffix: ''
     
  6. Online

    timtower Administrator Administrator Moderator

  7. Last edited: Oct 30, 2017
  8. Online

    timtower Administrator Administrator Moderator

  9. Online

    timtower Administrator Administrator Moderator

    @CommanderCarrot5 That is still not the full file.
    Last time you stripped this:
    Code:
    Caused by: while scanning a simple key
     in 'reader', line 15, column 5:
            inheritance:moderator
            ^
    could not find expected ':'
     in 'reader', line 16, column 5:
            info:
            ^
    That is why we ask for the full log, not everybody knows what is what.
    Staff-Manager has no inheritance values, it is breaking because of that.
     
  10. Inheritance Values?
     
  11. Online

    timtower Administrator Administrator Moderator

    @CommanderCarrot5
    Code:
       default: false
       permissions:[]
       inheritance:
       info:
         build: false
    inheritance is empty
     
  12. So you just fill with [] ?
     
  13. Online

    timtower Administrator Administrator Moderator

  14. Online

    timtower Administrator Administrator Moderator

Thread Status:
Not open for further replies.

Share This Page