You are viewing our Forum Archives. To view or take place in current topics click here.
How to make a simple PermissionsEx file || In depth || Easy
Posted:

How to make a simple PermissionsEx file || In depth || EasyPosted:

SC_Lotso
  • Powerhouse
Status: Offline
Joined: Mar 22, 200915Year Member
Posts: 456
Reputation Power: 19
Status: Offline
Joined: Mar 22, 200915Year Member
Posts: 456
Reputation Power: 19
Hello everyone,
Since it seems everybody on this forum needs help setting up permissions for their server I am going to explain it in depth now. By the end of this you should be able to make your own file.




For this tutorial I am using PermissionsEx: [ Register or Signin to view external links. ]
PermissionsEx or Pex is a plugin which allows different groups of people to access certain commands. It is easy to set up which requires a bit of effort.
You can use the ChatManager which comes with this plugin to display prefixes.




Each group on Pex needs its own section. Look at this code

groups:
    Guest:
        default: true
        prefix: '&7[Guest]&7 '
        permissions:

This means that we are in the groups section. The group is called builder. It is the default rank and the prefix is [Guest] in grey. This group at the moment will have no permissions.

To add permissions you need to find the 'nodes' for the command's plugin. Lets use essentials /tp command as an example.

groups:
    Guest:
        default: true
        prefix: '&7[Guest]&7 '
        permissions:
        - essentials.tp

The node for the essentials /tp command is essentials.tp. They now have access to this command.
A few groups later....

groups:
    Guest:
        default: true
        prefix: '&7[Guest]&7 '
        permissions:
    Builder:
        default: false
        prefix: '&7[&2Builder&7] '
        inheritance:
        - Guest
        permissions:


We now have two groups with no permissions! . Inheritance is the only new addition. This means that the group inherits or 'takes' the nodes of the group it is inheriting. Builder inherits Guest as you can see




In game commands:
In game to promote a member you will want to do /pex user <playername> group set <group>




I hope this explains enough to everyone!
Thanks.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.