Permissions YAML

Discussion in 'Bukkit Help' started by mw3killer, Aug 24, 2011.

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

    mw3killer

    I get some error with this code
    ##
    # Permissions has AntiBuild, which prevents a player from destroying/placing blocks.
    # To prevent a group of players 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 inherit from other groups.
    # To make a group inherit the permissions and info nodes from another
    # group, simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # Wildcard Permission settings:
    #
    # You can have wildcard nodes which encompass all nodes that match it.
    # For example, the node "modplugin.*" matches "modplugin.kick", "modplugin.ban",
    # "modplugin.settings.view", and so on.
    #
    ##
    # A single asterisk means that this user/group has all permissions.
    # - '*'
    ##
    # Negated nodes are created by prefixing a normal node with "-".
    # They prevent less specific wildcard nodes from matching the negated node.
    # For example:
    #
    # permissions:
    # - 'foo.*'
    # - '-foo.bar'
    #
    # In this case, the user/group will have "foo.foo", "foo.foobar", and so on, but not "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.
    ##
    #
    # For more info, visit https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    ##
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'cellmod.use'
    - 'lockette.user.create'
    - 'mailbox.sendtoself'
    - 'mailbox.user.send'
    - 'signlift.user.normal'
    - 'SpawnControl.spawn.use'
    VIP:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'mailbox.nocooldown'
    - 'worldguard.god'
    - 'worldguard.slay'
    - 'worldguard.slay.other'
    Police:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - VIP
    permissions:
    - 'jail.command.jail'
    - 'jail.command.unjail'
    - 'jail.command.jaillist'
    - 'jail.command.jaillistcells'
    Admin:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Police
    permissions:
    - 'bog.torch'
    - 'cellmod.emcontact'
    - 'lockette.admin.create'
    - 'lockette.admin.break'
    - 'lockette.admin.bypass'
    - 'mailbox.admin.viewlog'
    - 'mailbox.admin.removeany'
    - 'mailbox.user.create'
    - 'mailbox.user.remove'
    - 'mailbox.postman.createother'
    - 'mailbox.postman.removeother'
    - 'mothernature.command.help'
    - 'mothernature.command.rain'
    - 'mothernature.command.thunder'
    - 'mothernature.command.lightning'
    - 'mothernature.command.sun'
    - 'mothernature.command.day'
    - 'mothernature.command.night'
    - 'signlift.*'
    - 'worldguard.god.other'
    - 'bedrock*'
    Owner:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    what is wrong with it????
     
  2. 3 things wrong with it from what i can see from looking at it......

    Layout of config
    groups:
    <Group name>
    info:
    prefix: ''
    suffix: ''
    build: <true/false>
    inheritance: ''
    permissions:


    /EXAMPLE\

    groups:
    Guest:
    info:
    prefix: [Guest]
    suffix: ' '
    build: false
    inheritance: ' '
    permissions:
    - 'essentials.home'
    - 'essentials.sethome'
    Admin:
    info:
    prefix: [Admin]
    suffix: ' '
    build: false
    inheritance: ' '
    permissions:
    - 'essentails.*'
    - 'weathercontrol.*'



    inheritance should be
    inheritance: '<group>'

    And the permission nodes
    permissions:
    - '<permission_node>'


    Hope this helps :)
    KingGold171
     
  3. Offline

    codename_B

    Also - Permissions 2/3 are inactive - time to move on.
     
  4. that will explain while the prefix's stopped working all of a suddon
     
Thread Status:
Not open for further replies.

Share This Page