Permissions Example

groups:
  Admin:
    prefix: '&6<Admin>&f' *1
    options:
      rank: 1
      rank-ladder: Basic-Permissions
    permissions:
    - some.admin.permissions
    - -not.some.permissions *2
    inheritance:
    - User
  User:
    suffix: '&7<User>&f' *3
    message_format : '%m %s1 <%p1>' *4
    options:
      rank: 2
      rank-ladder: Basic-Permissions
    permissions:
    - some.user.permissions
  Archer:
    options:
      rank: 1
      rank-ladder: Weapons
    permissions:
    - some.archer.permissions
    worlds:
      world_the_end:
        inheritance:
        - world_nether *5
      world_nether:
        permissions:
        - some.permissions.in.the.nether *6
  Warrior:
    default: true *7
    options:
      chat-send: normal*, help *8
      chat-receive: normal*, help *9
      rank: 2
      rank-ladder: Weapons
    permissions:
    - some.warrior.permissions
users:
  Notch:
    permissions:
    - some.permissions.for.Notch.only
    worlds:
      world_the_end:
        permissions:
        - some.the-end.permissions
    group:
    - Admin *10
    - Archer


1. The Admin group has a gold prefix: "<Admin>". The rest is white.

2. The Admin group will not get this permission, because of the "-".

3. The User group has a grey suffix: "<User>". The rest is white.

4. The message format. If not filled in, the default from the config file will be used.

5. The world "world_the_end" will have the same permissions as the world "wold_nether" because of inheritance.

6. The player is given this permissions only, when he is in the world "world_nether".

7. Players are a member of this group, when they are not a member of any other group.

8. The channel "normal" is the default channel the group "warrior" is chatting to, because of the extra "*". He can enable "help" using "/chat send toggle help"

9. The channel "normal" is the default channel the group "warrior" is listening to, because of the extra "*". He can enable "help" using "/chat receive toggle help"

10. Notch is a member of the Admin and the Archer group.


Comments

Posts Quoted:
Reply
Clear All Quotes