Ranks and permissions with LuckPerms
LuckPerms is the most popular plugin for ranks and permissions. With it, a moderator can ban players, for example, but cannot shut down the server.
Installation
LuckPerms runs on Paper, Purpur and Spigot. In the Plugins tab search for "LuckPerms", click Install and restart the server. More in the guide on installing plugins.
The easiest way: the web editor
Type in the console:
lp editor
You get a link to an editor in your browser. There you click together ranks and permissions, save the changes with the button in the editor and paste the command it shows you into the console.
The basics with commands
Create a rank:
lp creategroup moderator
Give the rank permissions (here: kick and ban):
lp group moderator permission set minecraft.command.kick true
lp group moderator permission set minecraft.command.ban true
Add a player to the rank:
lp user Nick parent add moderator
Check what a player has:
lp user Nick info
pluginname.command.Frequently asked questions
Do I still need OP?
You can keep OP for yourself as the owner. Moderators and helpers should only get ranks in LuckPerms.
A permission does not work. What should I check?
Type lp user Nick permission check permission.name. LuckPerms shows whether the player has it and where it comes from. Also check the permission name for typos.
Pepe