<aside> ❗ FTB Utilities ranks will be disabled if Sponge is present and will not work. Do not report issues if you have Sponge.
</aside>
Instead of assigning permissions to every user individually, we have groups of permissions, which can then be assigned to a user as a whole.
For example, in my admin
rank, I might add permission to ignore claims, and then assign users to the admin rank. This means that they will get all of the permissions from admin
, plus any they have themselves.
Players can have multiple ranks, similar to Discord roles. The rank with higher power
will take priority if two permissions are the same.
On your server, there will be a number of features, commands, and functionality which is added to the game. Most of these actions have a permission associated with them, so you can control which users have access to each feature or command.
A permission is just a string, and is separated into parts using periods. For example, ftbutilities.back.infinite
is the permission to use the /back
command infinitely. Obviously we don’t want all users to have access to this, so we only give it to some users.
The string that represents a certain permission is also sometimes called a "permission node" or just "node" for short.
There are a few utility commands for ranks, so you don't have to do everything in the configs.
/ranks create <name>
- Creates a new rank/ranks delete|del <rank>
- Deletes a rank/ranks add <player> <rank>
- Adds rank to player/ranks remove <player> <rank>
- Removes rank from player/ranks get [player]
- Prints player's rank/ranks get_permission|getp <rank|player> <permission>
- Prints permission value for the specified rank or player