RoyalChat

Permissions Example

Permissions Example

Permissions File

This example will show you a simple permissions file in PermissionsEx for use in RoyalChat.

groups:
    default:
        default: true
        prefix: '[&9'
        suffix: '&f] Guest'
        permissions:
        - modifyworld.*
    God:
        suffix: '&2]&b'
        prefix: '&2[&4'
        permissions:
        - '*'
users:
    jkcclemens:
        permissions:
        - rcmds.setlevel
        - rcmds.setarmor
        - rcmds.sci.exempt
        group:
        - God

With the following chat format:

chat-format: '{prefix}{group}{suffix} {dispname}&f: {message}'

This would have the user jkcclemens' chat displayed like:

<span style="background-color: black;"><span style="color: #00FF00;">[</span><span style="color: #FF0000;">God</span><span style="color: #00FF00;">]</span> <span style="color: #00FFFF;">jkcclemens</span><span style="color: white;">: Hello</span></span>

Here is one for bPermissions:

groups:
        :God:
                prefix.1000.&2[&4
                suffix.1000.&2]&b
players:
        :jkcclemens:
                God

The chat with this permission file would also be like this:

<span style="background-color: black;"><span style="color: #00FF00;">[</span><span style="color: #FF0000;">God</span><span style="color: #00FF00;">]</span> <span style="color: #00FFFF;">jkcclemens</span><span style="color: white;">: Hello</span></span>

You must login to post a comment. Don't have an account? Register to get one!

  • 5 comments
  • Avatar of Durzanult Durzanult Jun 09, 2013 at 18:14 UTC - 0 likes

    What are the permission nodes.

  • Avatar of softvelvet softvelvet Apr 24, 2013 at 00:11 UTC - 0 likes

    It is more the question of if it would work with permissions bukkit

  • Avatar of riolu447 riolu447 Mar 01, 2012 at 04:21 UTC - 0 likes

    How does one do this with PermissionsBukkit?

    Atra esterní ono thelduin; Mor'ranr lífa unin hjarta onr; Un du evarínya ono varda

    http://cache.multiplayuk.com/b/1-586980-560x95-4621-FF5519-FFFFFF.png

  • Avatar of bBirchz bBirchz Jan 27, 2012 at 17:55 UTC - 0 likes

    I aplogize, i failed. I got no errors after fixing it by myself.

  • Avatar of bBirchz bBirchz Jan 27, 2012 at 17:52 UTC - 0 likes

    This doesn't work with my PEx, it just gives a lot errors when i speak.

  • 5 comments

Facts

Date created
Dec 14, 2011
Last updated
Feb 18, 2012

Author