IM having trouble with permissions...

Discussion in 'Bukkit Help' started by Jay1029, Mar 10, 2011.

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

    Jay1029

    Okay, I know there are multiple posts about this, but I need my own post just to clear things up.

    I have been trying for about a week now and I can get my permissions plugin to work. I am using 4 spaces ans no tabs. So far Ive gotten it so Me and the Moderator can use all commands, but how to I make it so some users can use only certain commands? I am pretty good at watching and learning so if you could write out a sample real quick thatd be awesome. I want evilelmo51 to be able to use /spawn, /mc (magic carpet), and /tp + /tphere.

    What I have so far:

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Then for the users......
    Code:
        Jay1029:
            group: Admins
            permissions:
        SPArk9612:
            group: Moderator
            info:
                prefix: ''
                suffix: ''
            permissions:
                - '*'
        Evilelmo51:
            group: Default
            permissions:
                - 'general.spawn'

    Thanks so much for any help you can provide.
    OS: Windows 7 64 bit
    Craftbukkit: I downloaded craftbukkit-0.0.1-SNAPSHOT

     
  2. Offline

    solentice

    This is my Groups list:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - '/locate'
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
        Survivor:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '/locate'
                - 'commandbook.teleport.*'
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
        Mods:
            default: false
            info:
                prefix: '&e'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'worldedit.*'
                - '/locate'
                - '/region'
                - '/heal'
                - 'commandbook.teleport.*'
                - 'commandbook.give.*'
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
        Admins:
            default: false
            info:
                prefix: '&a'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Then for my users:
    Code:
    users:
        myself:
            group: Admins
            permissions:
        mybuddy:
            group: Survivor
            permissions:
    As you see here, I myself have all permissions as part of Admins group, but mybuddy only has what I allowed him to have in the Survivor group. You also see my Default group has slightly more limited commands where I didn't include the commandbook.teleport.* command. You will need other plugins that include these type of commands such as CommandBook, or WorldEdit to use with Permissions, otherwise the Permissions plugin won't do much for you. Also make sure no one is listed in your ops.txt file that the server normally creates, as Operators(or OPs) have all commands by default, bypassing the Permissions plugin!
     
  3. Offline

    confuzzler

    Its because Evilelmo51 is in the DEFAULT group, and under that group does not have access to place blocks because of the line
    The easiest way to let Evilelmo51 to do all the commands is to put him in the 'Admins' group, which has basically permission to use and do everything. Hope it helps, more or less.
     
  4. Offline

    Jay1029

Thread Status:
Not open for further replies.

Share This Page