How do you deny permissions for certain people even if op?

Discussion in 'Bukkit Help' started by Steetoh, May 14, 2013.

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

    Steetoh

    Alright I have 3 OPs on my server and I want to deny a few commands from each one so that the denied command overrides their op powers and they can no longer use it.

    I tried the - - for the permission to remove it from an op, I know I have the spaces right but it didn't work. I want to remove all groupmanager permissions from my operators. I tried this on Steeton and I did
    permissions:
    - -groupmanager.*
    I also tried
    - -groupmanager.op
    neither worked because that player could still change people's ranks and stuff. Thank you and I would also like to make it so players can't op others, but I'm sure that works, but the groupmanager one won't. Thanks for the help!
    Code:
    users:
      ElgarL:
        group: Moderator
        subgroups: []
        permissions:
        - groupmanager.noofflineperms
      jarvis08:
        group: Moderator
        subgroups: []
        permissions:
        - anticheat.check.fly
        - coreprotect.inspect
        - essentials.fly
        - essentials.gamemode
        - essentials.kick
        - essentials.mute
        - essentials.powertool
        - essentials.tp
        - essentials.tpo
        - essentials.vanish
        - factions.bypass
        - worldedit.*
      k9e9i9t9h:
        group: Default
        subgroups: []
        permissions:
        - -bukkit.command.op.give
        - -bukkit.command.op.take
        - -bukkit.command.save.disable
        - -bukkit.command.toggledownfall
        - -bukkit.command.defaultgamemode
        - -bukkit.command.difficulty
        - worldedit.*
        info:
          prefix: Co-Owner
      KHobbits:
        group: Moderator
        subgroups: []
        permissions:
        - groupmanager.noofflineperms
      mcleiritz:
        group: Default
        subgroups: []
        permissions: []
        info:
          prefix: '&4Legendary&6Sir&eGreat&aMaster&9Admiral&dDame&fChancellorArchElderPrince'
      mdecker:
        group: Builder
        subgroups: []
        permissions: []
      snowleo:
        group: Builder
        subgroups: []
        permissions:
        - groupmanager.noofflineperms
      Steeton:
        group: Owner
        subgroups: []
        permissions:
        - -groupmanager.*
      treeco44:
        group: Builder
        subgroups: []
        permissions: []
      zapadory:
        group: Moderator
        subgroups: []
        permissions: []
    I even tried
    - -groupmanager.manuadd
    for steeton and he could still change his group, how can I block the groupmanager commands from operators?! I can block bukkit.command.(command) from operators?!
     
  2. Offline

    Jeyge

    You could try setting opOverrides to false in the config.yml for GroupManager.

    Code:
        # With this enabled anyone set as op has full permissions when managing GroupManager
        # The user will be able to promote players to the same group or even above.
        opOverrides: false
    
     
  3. Offline

    Steetoh

    I tried that and it still let them do commands in groupmanager, they just couldn't set anyone as high as a rank as them.
     
  4. Offline

    Jeyge

    You may need to remove their OP status and just give them the permissions you want them to have in GroupManager then.
     
  5. Offline

    Steetoh

    bump... please help!

    After I get help from a few others and they say the same, I will probably go with your advice, thanks.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  6. Offline

    zipfe

    It's generally not a good idea to throw * at a group and then remove this and that node afterwards. Giving them OP in many cases is the same as giving * permission, that depends on the plugin, some plugins also have an option if they should give all permissions to server operators.
     
  7. Offline

    Bobcat00

    This.
     
  8. Offline

    Iroh

    You really should have on op on your server. You. Set up groups for everyone else.
     
  9. Offline

    Steetoh

    Alright I'll do so, I'm just too lazy to set the permissions up. :L
     
Thread Status:
Not open for further replies.

Share This Page