LuckPerms: set up ranks and permissions
Install LuckPerms from the Plugins tab, give yourself luckperms.* from the console, then create groups, add permissions and assign players with lp commands or the web editor.
- Difficulty:
- Intermediate
- Time:
- 15 minutes
On this page
LuckPerms controls who can use which commands and features. You put permissions into groups (ranks such as default, vip, mod and admin) and then put players into those groups. Install it, give yourself access from the console, and build your ranks with commands or the web editor.
Install LuckPerms
In the Game Panel, open your server and click Plugins.
Search for LuckPerms, click Install and restart the server.
LuckPerms also has versions for Fabric, Forge, NeoForge, Velocity and BungeeCord on luckperms.net/download. Pick the one for your server software.
Give yourself full access
Right after install, nobody can use LuckPerms commands. Open Console and run (replace the name with yours):
lp user YourName permission set luckperms.* trueIn the panel Console, type commands without the /. In game, add the / in front: /lp ...
Key ideas in one minute
Permission (node): a text like
essentials.homethat unlocks one feature. Each plugin lists its nodes in its docs.Group: a set of permissions. Every player is in the group
defaultautomatically.Parent: a group a player or another group inherits from. If admin has mod as a parent, admins get everything mods have.
Create ranks with commands
Example: a mod rank that inherits from default, and an admin rank that inherits from mod.
lp creategroup mod
lp creategroup admin
lp group mod parent add default
lp group admin parent add mod
lp group mod permission set minecraft.command.kick true
lp group admin permission set minecraft.command.ban truePut a player into a rank, or take them out:
lp user Steve parent add mod
lp user Steve parent remove modTo take a permission away from a group, use unset instead of set, for example lp group mod permission unset minecraft.command.kick. Setting a node to false blocks it on purpose.
Want every new player to have something, like /home? Give it to the default group: lp group default permission set essentials.home true.
Use the web editor (easier on a phone)
Run
lp editorin the console (or/lp editorin game).Open the link it gives you. You can add groups, permissions and parents with clicks, and it suggests permission names as you type.
When you are done, click Save. The editor shows a command.
Copy that command and run it in the console or in game. Your changes apply right away.
Find the permission a command needs
Check the plugin's documentation first. If you can't find it, let LuckPerms record it: run lp verbose record Steve, ask Steve to try the command, then run lp verbose paste and open the link to see which permission was checked.
Prefixes in chat
You can store a prefix on a group:
lp group admin meta addprefix 100 "&c[Admin] "LuckPerms does not change chat by itself. To show prefixes, also install Vault and a chat plugin that reads from Vault, such as EssentialsX Chat. See EssentialsX setup.
Using LuckPerms across a network
On a Velocity or BungeeCord network, install LuckPerms on the proxy and on every backend server, and connect them all to the same MySQL/MariaDB database. You can create one in the Databases tab (see How to create a MySQL database) and put its details in the storage-method and data settings of each LuckPerms config. On the proxy, the command is lpv (Velocity) or lpb (BungeeCord) instead of lp.
On a single server, LuckPerms stores everything in a file in plugins/LuckPerms (by default luckperms-h2-v2.mv.db). Don't delete it, and include it in your backups.
Frequently asked questions
Players get "You don't have permission" for basic commands
Many plugins only allow operators by default. Give the needed nodes to the default group so every player gets them.
How do I add a Bedrock (Geyser) player to a group?
Use their name with the Floodgate prefix, for example lp user .Steve parent add vip. The player should join once first.
Should I still give people op?
Only to people you fully trust. Op gives almost every permission at once. A LuckPerms rank lets you give staff exactly what they need.
Was this article helpful?
Related articles
Install Geyser and Floodgate from the Plugins tab, add a port with Create Allocation in Network, set it as Geyser's Bedrock port, and Bedrock players can join your Java server.
spark records what your server spends its time on and gives you a link to a report. Use /spark tps, /spark health and /spark profiler to find the plugin, mod or entity behind your lag.
Install DiscordSRV, create a Discord bot with the Server Members and Message Content intents, then put the bot token and channel ID in DiscordSRV's config.yml and restart.
On an offline-mode server, install a login plugin such as AuthMe or LibreLogin so nobody can join as you, and SkinsRestorer so players get skins back with /skin.
