permissions/worldedit help

Discussion in 'Bukkit Help' started by zwaardman, Jul 14, 2011.

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

    zwaardman

    hey all :)

    i need help with my permissions/worldedit

    problem:
    i want to give my moderators(ops) the command to give items, but i dont want them to be op. cause when they are op they can use //wand and i dont want them to get the wand (for world edit)
    but when i de-op someone they cant do /give and they cant do //wand

    so i want them to do:
    /give (and other general commands)
    i dont want them to do:
    //wand

    i think it has to do something with permissions but i cant figure it out

    please help me :D zwaardman
     
  2. Offline

    jtlcr777

    http://www.youtube.com/watch?v=sexbDdVgdS4&feature=player_embedded

    Watch this video, then take a look here:
    Code:
    groups:
        Moderator:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'pluginname.give'
    
     (pluginname should be replaced with the plugin you are using for /give)
    Now the Moderator group can use /give.
     
  3. Offline

    zwaardman

    lol srry for the late reaction, i was on vacantion.
    but i dont know the plugin name of my /give command i just had it before i ever had a single plugin :s
    this also counts for /time set 0-24000 and /tp player player
     
  4. Offline

    jtlcr777

  5. Offline

    zwaardman

    ok so now my group code looks like this:
    Code:
        Moderator:
    
            default: false
    
            info:
    
                prefix:
    
                suffix:
    
                build: true
    
            inheritance:
    
            - player
            permissions:
            - 'colorsheep.spawnrand'
            - 'colorsheep.max'
            - 'colorsheep.spawn'
            - 'colorsheep.rave'
            - 'colorsheep.kill'
            - 'colorsheep.status'
            - 'colorsheep.colors'
            - EffectiveArrow.use.lightning
            - EffectiveArrow.use.fire
            - SpawnControl.groupspawn.set
            - SpawnControl.spawn.set
            - blockhat.hat
            - blockhat.hat.items
            - blockhat.hat.give.players.items
            - blockhat.hat.give.groups.items
            - spawnmob.mspawn.allmobs
            - spawnmob.kill.all
            - minecraft.give
            - minecraft.help
            - minecraft.kick
            - minecraft.ban
            - minecraft.pardon
            - minecraft.tp
            - minecraft.tell
            - minecraft.give
            - minecraft.list
    and my user code looks like this:
    Code:
    users:
        skywalker:
            permissions:
            groups:
            - admins
        svenkonings:
            permissions:
            groups:
            - moderator
        lol:
            permissions:
            groups:
            - moderator
        adihash:
            permissions:
            groups:
            - moderator
        Player:
            permissions:
            groups:
            - player
        Tregger:
            permissions:
            groups:
            - player
        neobreaker:
            permissions:
            groups:
            - moderator
        XD:
            permissions:
            groups:
            - newling
    
    now the problem is: my test moderator non-op cant use /give /tp or any op command

    please help :)
     
  6. Offline

    jtlcr777

    Either put the nodes in quotes, or don't.
    Code:
            - 'colorsheep.status'
            - 'colorsheep.colors'
            - EffectiveArrow.use.lightning
            - EffectiveArrow.use.fire
    Dont have quotes and ones with no quotes.

    Delete random enters.
    Code:
        Moderator:
    
            default: false
    
            info:
    
                prefix:
    
                suffix:
    
                build: true
    
            inheritance:
    You only have a moderator group, you need a "player" group (default) and "admins" group.
    Make sure you also have "groups:" at the beginning.

    Heres mine as an example, it works fine.
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.motd'
                - 'essentials.rules'
        Player:
            default: false
            info:
                prefix: '&4'
                suffix: '&4'
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.getpos'
                - 'essentials.afk'
                - 'iobookcase.canread'
                - 'IOBookcase.canwrite'
                - 'chaircraft.sit'
                - 'DropPlugin.drop.*'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.signs.*'
                - 'essentials.nick'
                - 'essentials.msg'
                - 'lagmeter.command.lag'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-PoisonFood.immunity.rawPork'
                - '-essentials.list.hidden'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  7. Offline

    zwaardman

    tnx for the info but it still doesnt work, i didnt had random spaces and i deleted the ' ' and still
    lol= op and moderator
    as non op he cant give
    as op he can give

    Code:
    groups:
        newling:
            default: true
            info:
                prefix:
                suffix:
                build: false
            permissions:
        player:
            default: false
            info:
                prefix:
                suffix:
                build: true
            permissions:
            - mothernature.command.*
            - blockdoor.usetriggers
            - blockdoor.usezones
            - EffectiveArrow.use.razor
            - EffectiveArrow.use.iron
            - EffectiveArrow.use.normal
            - SpawnControl.sethome.basic
            - SpawnControl.sethome.proxy
            - SpawnControl.home.basic
            - SpawnControl.spawn.use
            - SpawnControl.CooldownExempt.*
            - SpawnControl.groupspawn.use
            - stargate.use
            - PlayerList.hide.node
            - PlayerList.show.node
            - PlayerList.clear.node
            - PlayerList.unhide.node
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            - player
            permissions:
            - colorsheep.spawnrand
            - colorsheep.max
            - colorsheep.spawn
            - colorsheep.rave
            - colorsheep.kill
            - colorsheep.status
            - colorsheep.colors
            - EffectiveArrow.use.lightning
            - EffectiveArrow.use.fire
            - SpawnControl.groupspawn.set
            - SpawnControl.spawn.set
            - blockhat.hat
            - blockhat.hat.items
            - blockhat.hat.give.players.items
            - blockhat.hat.give.groups.items
            - spawnmob.mspawn.allmobs
            - spawnmob.kill.all
            - minecraft.give
            - minecraft.help
            - minecraft.kick
            - minecraft.ban
            - minecraft.pardon
            - minecraft.tp
            - minecraft.tell
            - minecraft.give
            - minecraft.list
            - ThunderTools.storm
            - ThunderTools.strike
            - oceanworld.enter
            - oceanworld.leave
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            permissions:
            - '*'
    
    Code:
    users:
        skywalker:
            permissions:
            groups:
            - admins
        svenkonings:
            permissions:
            groups:
            - moderator
        lol:
            permissions:
            groups:
            - moderator
        adihash:
            permissions:
            groups:
            - moderator
        Player:
            permissions:
            groups:
            - player
        Tregger:
            permissions:
            groups:
            - player
        neobreaker:
            permissions:
            groups:
            - moderator
        XD:
            permissions:
            groups:
            - newling
        1n5aN1aC:
            permissions:
            groups:
            - newling
        Creticus:
            permissions:
            groups:
            - moderator
        ali b:
            permissions:
            groups:
            - newling
    
    please help the little noobie 1 more time :)
     
  8. Offline

    jtlcr777

    Are you using the globals?
     
  9. Offline

    zwaardman

    no, just the worlds

    [​IMG]

    red is just the maps with the user and group permissions that i posted

    orange are empty notepads
     
  10. Offline

    zwaardman

  11. Offline

    zwaardman

    does really nobody know? or do i have to post more info?
     
Thread Status:
Not open for further replies.

Share This Page