An interesting issue? Help?

Discussion in 'Bukkit Help' started by Ventorin, Mar 17, 2012.

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

    Ventorin

    So I have a server running essentials group manager, I have 4 groups Guest, Member, Moderator, Admin. Heres my issue. When a new user joins they get put in guest and can't do anything, Thats good How I want it. When I promote them to Member I want them to have access to other commands, Such as /sethome and /home. Well I promote them they can dig but thats it. It says they don't have permissions to use the commands. HERES the interesting part. If I promote them to the group above them, in this case moderator, Then DEMOTE them to the group below them, in this case member, the member group works as normal, they can use the commands as usual.

    I thought this was a random bug so I created a new user to test it, same thing the only way for the groups to work properly is to promote them to the group above them, The exception is the Moderator and Admin group, They work as normal all the time. Needless to say Im a little confused... Obviously there is something wrong in my programming, But I can't see it.

    Here is my Global Groups.yml,

    Code:
    groups:
     
      g:default:
        permissions:
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.motd
        - essentials.rules
        - essentials.spawn
        - groupmanager.notify.self
       
      g:member:
        permissions:
        - essentials.afk
        - essentials.back
        - essentials.back.ondeath
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.chat.color
        - essentials.chat.shout
        - essentials.chat.question
        - essentials.compass
        - essentials.depth
        - essentials.home
        - essentials.ignore
        - essentials.item
        - essentials.kit
        - essentials.kit.tools
        - essentials.mail
        - essentials.mail.send
        - essentials.me
        - essentials.msg
        - essentials.nick
        - essentials.pay
        - essentials.ping
        - essentials.powertool
        - essentials.protect
        - essentials.sethome
        - essentials.home
        - essentials.signs.use.*
        - essentials.signs.create.disposal
        - essentials.signs.create.mail
        - essentials.signs.create.protection
        - essentials.signs.create.trade
        - essentials.signs.break.disposal
        - essentials.signs.break.mail
        - essentials.signs.break.protection
        - essentials.signs.break.trade
        - essentials.suicide
        - essentials.setwarp
        - essentials.tpa
        - essentials.tpaccept
        - esentials.tp
        - essentials.tpdeny
        - essentials.warp
        - essentials.warp.list
        - essentials.worth
        - worldguard.region.addowner.own.*
        - worldguard.region.addowner.member.*
        - worldguard.region.removeowner.own.*
        - worldguard.region.removeowner.member.*
        - worldguard.region.addmember.own.*
        - worldguard.region.addmember.member.*
        - worldguard.region.removemember.own.*
        - worldguard.region.removemember.member.*
        - worldguard.region.flag.regions.own.*
        - worldguard.region.flag.regions.own.<region>
        - worldguard.region.flag.regions.member.*
        - worldguard.region.flag.regions.member.
        - worldguard.region.teleport.own.*
        - worldguard.region.teleport.own.<region>
        - worldguard.region.teleport.member.*
        - worldguard.region.teleport.member.<region>
        - worldguard.region.info.own
        - worldguard.region.info.member
        - worldguard.region.info
       
      g:moderator:
        permissions:
        - worldedit.*
        - worldguard.*
        - essentials.*
        - commandbook.*
       
      g:admin:
        permissions:
        - groupmanger.*
        - essentials.*
        - worldedit.*
        - worldguard.*
        - commandbook.*
       
      g:bukkit_default:
        permissions:
        - bukkit.broadcast.user
        - -bukkit.command.plugins
       
      g:bukkit_moderator:
        permissions:
        - bukkit.command.gamemode
        - bukkit.command.kick
        - bukkit.command.unban
        - bukkit.command.unban.ip
        - bukkit.command.unban.player
     
      g:bukkit_admin:
        permissions:
        - bukkit.broadcast
        - bukkit.broadcast.admin
        - bukkit.command.give
        - bukkit.command.help
        - bukkit.command.kill
        - bukkit.command.list
        - bukkit.command.me
        - -bukkit.command.op
        - -bukkit.command.op.give
        - -bukkit.command.op.take
        - bukkit.command.plugins
        - bukkit.command.reload
        - bukkit.command.save
        - bukkit.command.save.disable
        - bukkit.command.save.enable
        - bukkit.command.save.perform
        - bukkit.command.say
        - bukkit.command.stop
        - bukkit.command.teleport
        - bukkit.command.tell
        - bukkit.command.time
        - bukkit.command.time.add
        - bukkit.command.time.set
        - bukkit.command.version
        - bukkit.command.whitelist
        - bukkit.command.whitelist.add
        - bukkit.command.whitelist.disable
        - bukkit.command.whitelist.enable
        - bukkit.command.whitelist.list
        - bukkit.command.whitelist.reload
        - bukkit.command.whitelist.remove
        - bukkit.*
     
      g:towny_builder:
        permissions:
        - towny.town.*
        - towny.nation.*
        - towny.chat.tc
        - towny.chat.nc
        - towny.wild.block.6.*
        - towny.wild.block.14.destroy
        - towny.wild.block.15.destroy
        - towny.wild.block.16.destroy
        - towny.wild.block.17.*
        - towny.wild.block.18.destroy
        - towny.wild.block.21.destroy
        - towny.wild.block.31.destroy
        - towny.wild.block.37.destroy
        - towny.wild.block.38.destroy
        - towny.wild.block.39.destroy
        - towny.wild.block.40.destroy
        - towny.wild.block.50.destroy
        - towny.wild.block.56.destroy
        - towny.wild.block.73.destroy
        - towny.wild.block.74.destroy
        - towny.wild.block.78.destroy
        - towny.wild.block.81.destroy
        - towny.wild.block.82.destroy
        - towny.wild.block.83.destroy
        - towny.wild.block.86.destroy
        - towny.wild.block.103.destroy
        - towny.wild.block.106.destroy
        - towny.wild.block.111.destroy
        - towny.wild.block.115.destroy
     
      g:towny_moderator:
        permissions:
        - towny.chat.mod
        - towny.wild.block.64.switch
        - towny.wild.block.83.build
        - towny.wild.block.86.build
        - towny.wild.block.103.build
        - towny.wild.block.111.build
        - towny.wild.block.115.build
     
      g:towny_admin:
        permissions:
        - towny.admin
        - -towny.wild.block.119.destroy
        - -towny.wild.block.120.destroy
        - towny.chat.admin
    Here is my groups.yml

    Code:
     
    groups:
      Guest:
        default: true
        permissions:
        - -bukkit.command.kill
        inheritance:
        - g:default
        - g:bukkit_default
        info:
          prefix: ''
          build: false
          suffix: ''
      Member:
        default: false
        permissions:
        inheritance:
        - g:default
        - g:member
        - g:towny_moderator
        info:
          prefix: ''
          build: true
          suffix: ''
      Moderator:
        default: false
        permissions: []
        inheritance:
        - Member
        - g:moderator
        - g:bukkit_moderator
        - g:towny_moderator
        info:
          prefix: ''
          build: true
          suffix: ''
      Admin:
        default: false
        permissions:
        - '*'
        inheritance:
        - Moderator
        - g:admin
        - g:bukkit_admin
        - g:towny_admin
        - '*'
        info:
          prefix: ''
          build: true
          suffix: ''
      Owner:
        default: false
        permissions:
        - '*'
        inheritance:
        - Admin
        info:
          prefix: '&4'
          build: true
          suffix: ''
    
    And finally my user.yml

    Code:
    users:
      K_K_:
        subgroups: []
        permissions: []
        group: Member
      Bastian7:
        subgroups: []
        permissions: []
        group: Member
      johnnyboj:
        subgroups: []
        permissions: []
        group: Moderator
      Ventorin:
        subgroups: []
        permissions:
        - bukkit.*
        group: Admin
     
        
     
  2. Offline

    BlurredVision

    Well, that is interesting. What I learned that if you do the command (with PermissionsBukkit) "/perm player addgroup PLayerName Group", it still only gives them the permissions for the first group. But if you use setgorup instead, it puts them in only one group, thus giving them the permissions. So maybe, your putting the users into two seperate groups.
    I don't know though, just a guess.
     
  3. Offline

    Ventorin

    Hmm I usally edit the file manually, I Will try to use the commands and see if there is any change. Thank you for your post!
     
Thread Status:
Not open for further replies.

Share This Page