Plugin Help group manager permissions issue

Discussion in 'Plugin Help/Development/Requests' started by Josh2605, Oct 11, 2014.

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

    Josh2605

    Ok so i have group manager i setup all the group permissions and users can use all the commands and builf/destroy in the world heres my current setup can anyone point me to where i may have messed up?

    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:
      Default:
        default: true
        permissions:
        - g:-bukkit.command.kill
        - g:-askyblock.island.minishop
        - g:askyblock.island.create
        - g:askyblock.island.info
        - g:askyblock.island.topten
        - askyblock.island.challenges
        - g:askyblock.island.warp
        - askyblock.island.addwarp
        - askyblock.island.controlpanel
        - g:askyblock.team.create
        - g:askyblock.team.kick
        - g:askyblock.team.makeleader
        - g:askyblock.team.join
        - g:askyblock.craft.enderchest
        - ChestShop.shop.create
        - ChestShop.shop.buy
        - ChestShop.shop.sell
        inheritance:
        - g:groupmanager_default
        - g:bukkit_default
        - g:essentials_default
        info:
          prefix: '&e'
          build: false
          suffix: ''
      vip:
            default: false
            inheritance:
            - default
            permissions:
            - g:essentials.hat
            - g:essentials.workbench
            - g:essentials.nick
            - g:essentials.enderchest
            - essentials.sethome
            - g:essentials.kit.Vip
            info:
                prefix: '&a(&3Vip&a)&3'
                build: false
      vip+:
            default: false
            inheritance:
            - default
            - Vip
            permissions:
            - -g:essentials.kit.Vip
            - essentials.spawner.*
            - g:essentials.clearinventory
            - g:essentials.heal
            - g:essentials.feed
            - essentials.sethome.multiple.Vip+
            - g:essentials.kit.Vip+
            info:
                prefix: '&a(&4Vip+&a)&4'
                build: false
      elite:
            default: false
            inheritance:
            - default
            permissions:
            - g:askyblock.island.minishop
            - essentials.spawner.*
            - g:essentials.hat
            - g:essentials.workbench
            - g:essentials.nick
            - g:essentials.enderchest
            - g:essentials.clearinventory
            - g:essentials.heal
            - g:essentials.feed
            - g:essentials.god
            - g:essentials.repair.all
            - g:essentials.fly
            - g:essentials.kit.Elite
            - g:essentials.recipe
            - essentials.sethome.multiple.Elite
            info:
                prefix: '&a(&5Elite&a)&5'
                build: false
     
      Moderator:
        default: false
        permissions: []
        inheritance:
        - builder
        - g:groupmanager_moderator
        - g:bukkit_moderator
        - g:essentials_moderator
        - g:towny_moderator
        - g:vanish_moderator
        info:
          prefix: '&8'
          build: false
          suffix: ''
      Admin:
        default: false
        permissions: []
        inheritance:
        - moderator
        - g:groupmanager_admin
        - g:bukkit_admin
        - g:essentials_admin
        - g:towny_admin
        - g:vanish_admin
        info:
          prefix: '&c'
          build: true
          suffix: ''
      Owner:
        default: false
        permissions:
        - '*'
        - -vanish.effects.*
        - +vanish.effects.toggle.all
        inheritance:
        - admin
        info:
          prefix: '&5Owner'
          build: true
          suffix: ''
    
     
  2. Offline

    VG.Developments

    I'm confused whats wrong. You said the "can" use everything?
     
  3. Offline

    Josh2605

    yes /fly and build in the world after i specified that its disallowed sorry i should have been more I dont want them using commands such as /fly /feed ect and they shouldnt be allowed to build/destroy in the spawn world yet they can
     
  4. Offline

    JaguarJo

    Try this one instead:
    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:
      Default:
        default: true
        permissions:
        - -bukkit.command.kill
        - -askyblock.island.minishop
        - askyblock.island.create
        - askyblock.island.info
        - askyblock.island.topten
        - askyblock.island.challenges
        - askyblock.island.warp
        - askyblock.island.addwarp
        - askyblock.island.controlpanel
        - askyblock.team.create
        - askyblock.team.kick
        - askyblock.team.makeleader
        - askyblock.team.join
        - askyblock.craft.enderchest
        - ChestShop.shop.create
        - ChestShop.shop.buy
        - ChestShop.shop.sell
        inheritance:
        - g:groupmanager_default
        - g:bukkit_default
        - g:essentials_default
        info:
          prefix: '&e'
          build: false
          suffix: ''
      vip:
        default: false
        inheritance:
        - default
        permissions:
        - essentials.hat
        - essentials.workbench
        - essentials.nick
        - essentials.enderchest
        - essentials.sethome
        - essentials.kits.Vip
        info:
          prefix: '&a(&3Vip&a)&3'
          build: false
      vip+:
        default: false
        inheritance:
        - default
        - vip
        permissions:
        - -essentials.kits.Vip
        - essentials.spawner.*
        - essentials.clearinventory
        - essentials.heal
        - essentials.feed
        - essentials.sethome.multiple.Vip+
        - essentials.kits.Vip+
        info:
          prefix: '&a(&4Vip+&a)&4'
          build: false
      elite:
        default: false
        inheritance:
        - default
        permissions:
        - askyblock.island.minishop
        - essentials.spawner.*
        - essentials.hat
        - essentials.workbench
        - essentials.nick
        - essentials.enderchest
        - essentials.clearinventory
        - essentials.heal
        - essentials.feed
        - essentials.god
        - essentials.repair.all
        - essentials.fly
        - essentials.kits.Elite
        - essentials.recipe
        - essentials.sethome.multiple.Elite
        info:
          prefix: '&a(&5Elite&a)&5'
          build: false
      Moderator:
        default: false
        permissions: []
        inheritance:
        - builder
        - g:groupmanager_moderator
        - g:bukkit_moderator
        - g:essentials_moderator
        - g:towny_moderator
        - g:vanish_moderator
        info:
          prefix: '&8'
          build: false
          suffix: ''
      Admin:
        default: false
        permissions: []
        inheritance:
        - moderator
        - g:groupmanager_admin
        - g:bukkit_admin
        - g:essentials_admin
        - g:towny_admin
        - g:vanish_admin
        info:
          prefix: '&c'
          build: true
          suffix: ''
      Owner:
        default: false
        permissions:
        - '*'
        - -vanish.effects.*
        - +vanish.effects.toggle.all
        inheritance:
        - admin
        info:
          prefix: '&5Owner'
          build: true
          suffix: ''
    The lines with the g: on the front of them are groups from your globalgroups file. They are intended to be used for inheritances. You do not put the g: on front of permission nodes; that was your biggest problem. Then you also had a couple of groups with messed up spacing in them. I can't promise that the edits I made are perfect, but they should at least get you back on the right track.

    Edit: I just noticed that your Moderator group is inheriting from builder, but you don't actually have a builder group. You can't inherit from a group that doesn't exist, so your file won't work right until you either add a builder group or change/remove that inheritance.
     
Thread Status:
Not open for further replies.

Share This Page