WorldEdit - Specific Permissions?

Discussion in 'Bukkit Help' started by mathiaskruse, Jan 31, 2011.

  1. Offline

    mathiaskruse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello all, i need some help with WorldEdit, and I'm having a hard time finding the specific permissions. My problem is that i want to set SOME users to be able to use Superpickaxe, but not any of the other events which are included in Worldedit.
    I'm using: Windows 7 Ultimate 32 Bit
    1ava"1,6.0_23" (b05)
    Running CraftBukkit #186
    Running server with this .bat file:
    @echo off
    java -Xms512M -Xmx512M -jar craftbukkit.jar nogui
    pause
    Running Theese Plugins:
    Dynamic Map (dynmap.jar)
    Essentials (Essentials.jar)
    Exclusive (Exclusive.jar)
    GuestBook (GuestBook.jar)
    Jail (jail.rar)
    MinecartMania (MinecartManiaCore.jar)
    Permissions (Permission.jar)
    SimpleWarp (Warp.jar)
    WorldEdit (WorldEdit.jar)
    WorldGuard (WorldGuard.jar)
    I have been searching around all over this place, didn't seem to find anyone encountering the same problem as me, so i took my time now, to make a post myself. Hope that someone comes up with an answer. and (possibly, if he wants to) sk89q will post the specific commands in his WorldEdit (just a request from me personnaly :D)
    Thanks in advance.
  2. Offline

    Pezmantbh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey there, do you mind posting your permissions config? It shouldn't be too hard to get your permissions set right for you :)


    Which users/groups do you want to have which permissions? :)
  3. Offline

    PipeHead

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  4. Offline

    mathiaskruse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.help'
        Normal:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.afk'
                - 'essentials.mail'
                - 'essentials.sethome'
                - 'essentials.msg'
                - 'essentials.home'
        Premium:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Normal
            permissions:
                - 'essentials.mail.send'
                - 'SimpleWarp.warp'
                - 'SimpleWarp.listwarps'
        Ultimate:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Premium
            permissions:
                - 'essentials.mail.send'
                - 'SimpleWarp.warp'
                - 'SimpleWarp.listwarps'
                - 'general.teleport'
                - 'general.player-info'
                - 'SimpleWarp.setwarp'
                - 'general.time'
        Sponsor:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Ultimate
            permissions:
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Sponsor
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        darkgrave:
            group: Admins
            permissions:
        mathiaskruse:
            group: Admins
            permissions:
    So, if i want users to be able to use Superpickaxe, i just put a persmission that is like:
    - 'worldedit.//'
    or
    - '//'
    ? :) Im not quite sure :p
  5. Offline

    Pezmantbh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Which commands do you have to put in to enable access to the SuperPickaxe? I don't use WorldEdit, so if you just let me know which commands you want the user to have ill add them for you :)
  6. Offline

    PipeHead

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Neither you would use 'worldedit.superpickaxe.pickaxe' specifically to allow the use of the superpickaxe or I believe(though not for sure) that you could enable all superpickaxe functionality by doing 'worldedit.superpickaxe.*'

    I had to revert to the older version of WorldEdit since CB#188 was seriously not working with a number of plugins I have in use on my server.
  7. Offline

    mathiaskruse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Pezmantbh, i know how to add theese commands, i just dont know the commands :p thats my big problem :D.
    PipeHead, so if i want my users to use ONLY normal superpickaxe (not recursive,area and others) i use the:
    - 'worldedit.superpickaxe.pickaxe' ? :)
  8. Offline

    Pezmantbh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah. The permissions page for WordEdit displays all of the nodes :)
  9. Offline

    mathiaskruse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well, i dont think it does, i cant seem to find em at the link PipeHead sent me earlier, since they only descripe the ingame commands.
  10. Offline

    PipeHead

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    "Ingame commands"? What other commands are there that would be related to WorldEdit and the SuperPickAxe. That link describes all of the Permissions plugin nodes just as Pezmantbh has said. I only assumed the Asterisk would give the permission to the whole node, but as I said I wasn't for sure.
  11. Offline

    Pezmantbh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    PipeHead, you are correct. The asterisk will give the permission for the whole node.

    If I knew what the command was to use the superpickaxe, I could help you more... But I don't use WorldEdit...
  12. Offline

    mathiaskruse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i mean i dont see a list of all of theese Permission commands anywhere, like:
    Worldedit.superpickaxe
    and all of the others, where do u see those?
    --- merged: Feb 1, 2011 3:00 PM ---
    Baah, It's my bad lol. I'm just stupid. Sorry for interupting you guys with this lol. I was so excited to get the list , so i couldnt find it lol. Thanks alot guys! :D
    --- merged: Feb 1, 2011 3:09 PM ---
    Hmm, now i tried the worldedit.superpickaxe.pickaxe. It works (somehow) but doesnt give the superpickaxe feature ingame. it only says "//" with a red text in the text area in minecraft. i dont get to use Superpickaxe, sadly.
  13. Offline

    Pezmantbh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Try these nodes:

    worldedit.superpickaxe.drawing.brush.sphere
    worldedit.superpickaxe.drawing.brush.cylinder
    worldedit.superpickaxe.drawing.brush.clipboard
    worldedit.superpickaxe.pickaxe
    worldedit.superpickaxe.pickaxe.area
    worldedit.superpickaxe.replacer
    worldedit.superpickaxe.data-cycler
    worldedit.superpickaxe.drawing.brush
    worldedit.superpickaxe.pickaxe.recursive
    worldedit.superpickaxe.info
    worldedit.superpickaxe.tree

    But I assume worldedit.superpickaxe.* would work too :)

    The commands to go with those nodes are:
    //sb
    //cb
    //cbb
    //
    /area
    /repl
    /cycler
    //brush
    //rbrush
    /recur
    /info
    /single
    /tree

    Enjoy :)
  14. Offline

    PipeHead

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Glad you finally figured it out...I was about to strangle you [IMG]

    As for your error...I got the same thing when running Craftbukkit #167 with the latest WorldEdit...my users were pissed, so I down graded last night. I see this morning there is an update to most plugins so they will work with CB#166+ including WorldEdit...so make sure you have the latest versions of WorldEdit and CB. When I get home tonight I'll be testing the new versions.
  15. Offline

    mathiaskruse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks both for your great recommendations :D, and your great help. I will look further into this tonight, since i have to go to work now sadly :s. I'd be glad to talk to any of you @ my server or @ MSN or skype or something ?.
    Seems like you guys know pretty much :p. Thanks guys!
  16. Offline

    pplzsayheey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  17. Offline

    Sayshal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  18. Offline

    dzak

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  19. Offline

    dzak

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey can somebody send me it but only the permisions not the info about the permision

Share This Page