PermissionsEx example commands

Permissions are a powerful way of defining what you are selling as they can give individual permissions like the ability to execute commands or to add users to a group with multiple permissions.

To give and take permissions using PermissionsEx you would add the following commands to a package:

Initial:

pex user {name} add permission.node

Expiry:

pex user {name} remove permission.node

You will need to replace "permission.node" with the desired permission you wish to give or remove.

If you want to sell a membership then you may want to do something like this:

Set an Initial command to:

pex user {name} group set GROUPNAME

And set an Expiry command to:

pex user {name} group remove GROUPNAME

Replace "GROUPNAME" with the desired permission group defined in your permissions file.

Please note that we do not provide support with setting up permissions groups as these are only guidelines and examples.

Still need help? Contact Us Contact Us