Solved World-specific Permissions with GroupManager

Discussion in 'Bukkit Help' started by souljabri557, Dec 28, 2013.

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

    souljabri557

    Hello,

    I want my players to be able to use /echest so they can access their enderchest from any location. However, I also have a creative world and this can be easily abused.

    How could I set it so there's a permission for it in the PvP world but a negative node in the Creative world?

    Here's my config:
    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
        - serversigns.use.*
        - pp.use
        - plotme.use
        - plotme.use.add
        - plotme.use.remove
        - plotme.limit.1
        - plotme.use.clear
        - nocheatplus.checks.chat.commands
        - nocheatplus.checks.chat.text
        - nocheatplus.checks.chat.color
        - ChestShop.shop.*
        - essentials.afk
        - essentials.tpa
        - essentials.tpahere
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.signs.use.*
        - essentials.sethome
        - essentials.home
        - essentials.warps.*
        - essentials.warp.list
        - essentials.warp
        - essentials.pay
        - essentials.ignore
        - essentials.list
        - essentials.suicide
        - essentials.ping
        - essentials.msg
        - iConomy.rank
        - iConomy.list
        - iConomy.top
        - essentials.delhome
        inheritance:
        - g:groupmanager_default
        - g:bukkit_default
        - g:essentials_default
        info:
        prefix: '&7[&fPlayer&7] &f'
        build: true
        suffix: ''
    Beta:
        default: false
        permissions:
        - -bukkit.command.kill
        - essentials.hat
        - essentials.nick
        - essentials.enderchest
        inheritance:
        - default
        info:
        prefix: '&e[Beta] '
        build: true
        suffix: ''
    Stone:
        default: false
        permissions:
        - -bukkit.command.kill
        - essentials.hat
        - essentials.nick
        - essentials.sethome.multiple
        - essentials.sethome.multiple.2
        inheritance:
        - default
        info:
        prefix: '&8[Stone]'
        build: true
        suffix: ''
    Redstone:
        default: false
        permissions:
        - essentials.enderchest
        - essentials.sethome.multiple.4
        - essentials.back
        - essentials.back.ondeath
        inheritance:
        - stone
        info:
        prefix: '&c[&4Redstone&c] '
        build: true
        suffix: ''
    YouTuber:
        default: false
        permissions:
        - essentials.enderchest
        - essentials.back
        - essentials.back.ondeath
        inheritance:
        - default
        info:
        prefix: '&4[&cYou&fTuber&4] &f'
        build: true
        suffix: ''
    Iron:
        default: false
        permissions:
        - alphachest.workbench
        inheritance:
        - redstone
        info:
        prefix: '&7[Iron] '
        build: true
        suffix: ''
    Lapis:
        default: false
        permissions:
        - essentials.near
        inheritance:
        - iron
        info:
        prefix: '&1[&9Lapis&1] &9'
        build: true
        suffix: ''
    Gold:
        default: false
        permissions:
        - alphachest.chest
        inheritance:
        - lapis
        info:
        prefix: '&6[&eGold&6] &e'
        build: true
        suffix: ''
    Diamond:
        default: false
        permissions:
        inheritance:
        - gold
        info:
        prefix: '&3[&bDiamond&3] &b'
        build: true
        suffix: ''
    Emerald:
        default: false
        permissions:
        inheritance:
        - diamond
        info:
        prefix: '&2[&aEmerald&2] &a'
        build: true
        suffix: ''
    Obsidian:
        default: false
        permissions:
        inheritance:
        - emerald
        info:
        prefix: '&8[&5Obsidian&8] &5'
        build: true
        suffix: ''
    Kickstarter:
        default: false
        permissions:
        - -bukkit.command.kill
        inheritance:
        - beta
        info:
        prefix: '&6[Kickstarter] '
        build: true
        suffix: ''
    TempBuilder:
        default: false
        permissions:
        - g:groupmanager_moderator
        - worldedit.*
        - bukkit.command.gamemode
        - bukkit.command.creative
        - bukkit.command.survival
        - bukkit.command.weather
        inheritance:
        - default
        info:
        prefix: '&3[&bTempBuilder] &b'
        build: true
        suffix: ''
    Moderator:
        default: false
        permissions: []
        inheritance:
        - default
        - g:groupmanager_moderator
        info:
        prefix: '&3[&bModerator&3] &b'
        build: true
        suffix: ''
    Admin:
        default: false
        permissions:
        - plotme.admin
        - ChestShop.admin
        inheritance:
        - moderator
        - g:groupmanager_admin
        - g:bukkit_admin
        - g:essentials_admin
        - g:towny_admin
        - g:vanish_admin
        info:
        prefix: '&4[&cAdmin&4] &c'
        build: true
        suffix: ''
    HeadAdmin:
        default: false
        permissions:
        - '*'
        - -vanish.*
        inheritance:
        - admin
        info:
        prefix: '&4[&cH-Admin&4] &c'
        build: true
        suffix: ''
    Owner:
        default: false
        permissions:
        - '*'
        - -vanish.*
        inheritance:
        - headadmin
        info:
        prefix: '&2[&aOwner&2] &a'
        build: true
        suffix: ''
    
    The Stone, Redstone, et cetera are donator ranks. As you can see only some of the donators have access to this command.
    Thank you very much!
     
  2. Offline

    Evildude221

    souljabri557
    Groupmanager has per-world permissions built in. Open the permission file for your creative world:

    Open the GroupManager folder inside your plugins folder.

    Open the Worlds folder inside the GroupManager file.

    Open the file that has the same name as your creative world

    Finally, Open the groups.yml folder.

    Now, you need to negate the permission you don't want them to be able to use.

    Example:

    Code:
    groups:
    YourGroup:
        default: true
        permissions:
        - -perm.permission
        info:
        prefix: ''
        build: true
        suffix: ''
     
  3. Offline

    souljabri557

    Thanks for the reply, but inside my worlds folder there is only "world," which is the name of my PvP world.
    Should I just create a folder for the creative world and copy all of the files over from the other one?
     
  4. Offline

    Bobcat00

  5. Offline

    souljabri557

    Okay, I think I get this. But where do I mirror things? In the groups.yml?
     
  6. Offline

    Necrodoom

    Config.yml.
     
    souljabri557 likes this.
  7. Offline

    Bobcat00

    There will already be a section in the config for mirroring. Find it and modify it as necessary.
     
    souljabri557 likes this.
  8. Offline

    souljabri557

    Thanks, I did it.
     
Thread Status:
Not open for further replies.

Share This Page