AutoDEOP on join?

Discussion in 'Bukkit Help' started by VsXrMv, Aug 6, 2019.

  1. Offline

    VsXrMv

    How do I set these permissions for the groups:
    1. DEOP everyone when they join the server
    2. Grant only Admin group /OP and /DEOP permission

    I am using these plugins:
    • LuckPerms
    • Essentials
    • WorldGuard
    • Vault
    • (and more but these I deem irrelevant to this post)
    My current permissions (YAML) - I have three groups: Admins, Members & Visitors:

    Code:
    name: admin
    permissions:
    - essentials.*
    - luckperms.*
    - maxrepaircost.*
    - worldedit.*
    - worldguard.build.*
    - essentials.keepinv:
        value: false
    - essentials.keepxp:
        value: false
    - essentials.sleepingignored:
        value: false
    prefixes:
    - '&bAdmin |&7 ':
        priority: 100
    
    Code:
    name: member
    permissions:
    - worldguard.build.*
    - essentials.help
    - essentials.me
    - essentials.tpaccept
    - essentials.tpdeny
    - mineablespawners.break
    prefixes:
    - '&2Member |&7 ':
        priority: 50
    
    Code:
    name: visitor
    default: true
    permissions:
    - worldguard.build.*:
        value: false
    - worldguard.build.block.place.*:
        value: false
    - essentials.tpa
    - worldguard.build.block.interact.acacia_door
    - worldguard.build.block.interact.acacia_fence_gate
    - worldguard.build.block.interact.acacia_pressure_plate
    - worldguard.build.block.interact.acacia_trapdoor
    - worldguard.build.block.interact.birch_door
    - worldguard.build.block.interact.birch_fence_gate
    - worldguard.build.block.interact.birch_pressure_plate
    - worldguard.build.block.interact.birch_trapdoor
    - worldguard.build.block.interact.dark_oak_door
    - worldguard.build.block.interact.dark_oak_fence_gate
    - worldguard.build.block.interact.dark_oak_pressure_plate
    - worldguard.build.block.interact.dark_oak_trapdoor
    - worldguard.build.block.interact.gold_pressure_plate
    - worldguard.build.block.interact.iron_door
    - worldguard.build.block.interact.iron_pressure_plate
    - worldguard.build.block.interact.iron_trapdoor
    - worldguard.build.block.interact.jungle_door
    - worldguard.build.block.interact.jungle_fence_gate
    - worldguard.build.block.interact.jungle_trapdoor
    - worldguard.build.block.interact.oak_door
    - worldguard.build.block.interact.oak_fence_gate
    - worldguard.build.block.interact.oak_pressure_plate
    - worldguard.build.block.interact.oak_trapdoor
    - worldguard.build.block.interact.spruce_door
    - worldguard.build.block.interact.spruce_fence_gate
    - worldguard.build.block.interact.spruce_pressure_plate
    - worldguard.build.block.interact.spruce_trapdoor
    - worldguard.build.entity.interact.boat
    - worldguard.build.entity.interact.horse
    - worldguard.build.entity.interact.llama
    - worldguard.build.entity.interact.minecart
    prefixes:
    - '&cVisitor |&7 ':
        priority: 1
    
    Any help would be helpful!
     
  2. Offline

    timtower Ninja on the waves Moderator

    @VsXrMv Why do you need OP when you have groups?
     
  3. Offline

    VsXrMv

    It keeps making me an OP when I join and I am able to use /OP commands such as /fly, etc.

    Basically, I want to deop everyone including myself. and if an administrative issue arises, I can just /op myself and deal with the issue then /deop myself. I do not want to deop myself each time I join. Also, as a safety, I want to deop everyone as well.
     
  4. Offline

    timtower Ninja on the waves Moderator

    @VsXrMv Might want to fix the auto op instead.
    And if you give yourself every permission then you don't need to op and deop
     
  5. Offline

    VsXrMv

    Ok good point re: having every permission and not needing to op and deop.

    Where would I fix the auto op?
     
  6. Offline

    timtower Ninja on the waves Moderator

    VsXrMv likes this.
  7. Offline

    VsXrMv

Share This Page