Permissions Problem!!

Discussion in 'Bukkit Help' started by douglas, Mar 16, 2011.

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

    douglas

    I cant seem to get permissions to work properly for me. I get it to load and everything form the command prompt, but every time i try to use a command in game(not in the command prompt for it works there) it says that i dont have permissions to use that command

    heres my permissions settings

    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    # Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    # If this file is for your default world (the one in server.properties) then you must
    # leave copies blank.
    # Example: copies: Derp - This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name. So if it is level-name: world then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document. Use only spaces. A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
    permissions:
    system: default
    copies:
    ##
    # AntiBuild is included with this. To disable a group from being able to build then
    # set the build: flag to false (build: false). If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'foo.bar'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'foo.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    # Single Asterisk denotes all commands:
    #
    # - '*'
    # If you give a group this permissions, do not have the group inherit any permissions
    # from other groups. Any users assigned to this group should NOT be given any additional
    # permissions either.
    ##
    # To exempt a node use the - prefix like so:
    # - '-foo.bar'
    ##
    # prefix: and suffix: do not do anything on their own. You need another outside plugin
    # such as iChat or HeroChat in order for these to do anything.
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'foo.bar'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'bar.foo'
    - 'general.items'
    - 'general.spawn'
    - 'general.spawn.set'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.time'
    - 'general.player-info'
    Admins:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
    tycoondude:
    group: Admins
    permissions:
    - '*'
    Herpina:
    group: Moderator
    info:
    prefix: 'Moo'
    suffix: 'Cow'
    permissions:
    - 'herp.derp'
    Derpina:
    group: Admins
    permissions:
    - '-derp.derp'
     
  2. Offline

    solentice

    Next time, try and use the code button(to the left of the two little quotes button) to enter your permissions code, so we can see if there might be indentation or spacing errors, and its much easier to read...
    Just on a quick look through the code, on your Admins groups, delete the inheritance of - Moderator, it's not needed since they are already given the '*' all plugin commands permission, and this permission should only appear once in your whole code. Lastly, on your own username near the bottom, delete the - '*' permission also, since you already have that permission from the Admins group, there is no need to recopy the same permission again. As the developer states " If you give a group this permissions, do not have the group inherit any permissions from other groups. Any users assigned to this group should NOT be given any additional permissions either."
    Like this:
    Code:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        tyconndude:
            group: Admins
            permissions:
     
Thread Status:
Not open for further replies.

Share This Page