Example PermissionsBukkit parent nodes

A couple of helper permission "*" nodes have been added for your convenience. In your PermissionsBukkit/config.yml file, you can assign them like so:

users:
    niftymonkey:
        permissions:
            niftywarp.use.*: true
            niftywarp.admin.*: true




- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


VERSION 1.3 ONLY
The following permissions were listed here for version 1.3
DO NOT ADD THESE permissions to your permissions.yml file if you are using version 1.3.1 or above. Having these in your permissions.yml file in versions 1.3.1 and beyond will cause errors!

PermissionsBukkit does not inherently have "*" nodes. However you can create "parent" and "children" nodes that contain the permissions you need. I choose to look at what they are doing as containers or sets of permissions. This does allow you to create basically a "*" node using what they support. Enter the following in your server's "permissions.yml" file:

niftywarp.use.*:
    description: Basic niftywarp usage.
    default: true
    children:
        niftywarp.use.add: true
        niftywarp.use.delete: true 
        niftywarp.use.home: true
        niftywarp.use.homeset: true
        niftywarp.use.list: true
        niftywarp.use.rename: true
        niftywarp.use.set: true
        niftywarp.use.warp: true
        niftywarp.use.warptocoord: true

niftywarp.admin.*:
    description: Admin niftywarp usage.
    default: op
    children:
        niftywarp.admin.delete: true
        niftywarp.admin.rename: true
        niftywarp.admin.set: true

Comments

Posts Quoted:
Reply
Clear All Quotes