Skip to content
In-house anti-DDoS, included on VPS, game servers and web hosting · hosted in France · cancel anytime See our plans
CloudFive
Log in

01

Why LuckPerms rather than operator status

Every command and feature of a plugin is protected by a permission, a name such as essentials.home or worldedit.*. Operator status (/op) grants almost all of these permissions at once: handy for the owner, dangerous for a team.

LuckPerms lets you do better:

  • you create groups (often called ranks);
  • you give each group only the permissions it needs;
  • you put each player in a group, permanently or for a limited time.

All players belong to the default group: whatever you give it, everyone gets. The Minecraft admin commands guide recaps what operator status allows, and the guide on essential Minecraft plugins presents the plugins that rely on LuckPerms.

02

Installing LuckPerms

LuckPerms is downloaded from its official website, luckperms.net, in the version that matches your server:

  • Paper, Purpur or Spigot: the Bukkit version, to drop into the plugins folder.
  • Fabric: the Fabric version, in the mods folder, along with Fabric API.
  • Forge or NeoForge: the matching version, in the mods folder.
  • Velocity or BungeeCord: the proxy version, in the proxy's plugins folder, if you run a network of several servers.

Then fully restart the server. By default, LuckPerms stores its data in an H2 database, a simple file kept in its folder: nothing to configure for a single server. On Paper, the configuration is in plugins/LuckPerms/config.yml.

For a network (a Velocity or BungeeCord proxy and several servers), each server's H2 file stays local. To share groups, install LuckPerms on the proxy and on every server, and point them all to the same MySQL or MariaDB database:

server: survie
storage-method: mariadb
data:
  address: adresse-de-la-base:3306
  database: luckperms
  username: luckperms
  password: "un-mot-de-passe"

The server setting gives each server a name, used by the contexts below. The messaging-service setting in the same file passes changes on to the other servers; failing that, the /lp sync command reloads the data from the database.

03

Basic commands

Start by giving yourself rights over LuckPerms from the server console, where commands are typed without a slash:

lp user VotrePseudo permission set luckperms.* true

Then create the groups and give them permissions:

/lp creategroup moderateur
/lp group moderateur permission set essentials.kick true
/lp group moderateur permission set essentials.mute true
/lp group moderateur parent add default

Finally, put players in their group:

/lp user Pseudo parent set moderateur
/lp user Pseudo parent add vip
/lp user Pseudo parent addtemp vip 30d
  • parent set replaces all of the player's groups with a single one;
  • parent add adds a group without removing the others;
  • parent addtemp adds a group for a set time, here 30 days.

To take a permission away, use false instead of true (it is then denied), or use permission unset to delete it. /lp user Pseudo info and /lp group moderateur info show the current state.

Even simpler, /lp editor gives a link to the web editor: you see every group and every permission and change them with the mouse. Save, then, if the editor shows a /lp applyedits command, paste it into the console to apply the changes.

04

Inheritance, prefixes and contexts

Inheritance: a group receives all the permissions of its parent groups. Build a ladder instead of repeating everything: moderateur inherits from default, admin inherits from moderateur.

/lp group admin parent add moderateur

To move a player up one step at a time, a track puts the groups in order:

/lp createtrack equipe
/lp track equipe append moderateur
/lp track equipe append admin
/lp user Pseudo promote equipe

Prefixes are metadata (meta). The number is the priority: when a player has several groups, the prefix with the highest priority wins. & colour codes are accepted:

/lp group admin meta setprefix 100 "&c[Admin] "
/lp group moderateur meta setprefix 50 "&9[Modo] "

LuckPerms stores the prefix but does not display it itself: you need a chat plugin that reads it, often through Vault on Paper.

Contexts limit a permission to one world or one server of the network. Add them at the end of the command:

/lp group constructeur permission set worldedit.* true world=creatif
/lp group moderateur permission set essentials.fly true server=lobby

The server context matches the server setting in each server's configuration file.

05

Good practices and common errors

  • No operator status for the team: an operator keeps most permissions whatever their groups. Keep /op for the owner and give everyone else groups. Likewise, give the * permission (all permissions) only to the owner's group.
  • Few groups, well named: a handful of ranks linked by inheritance is easier to manage than a dozen overlapping groups.
  • A backup before big changes: /lp export followed by a file name saves all LuckPerms data into its folder, and /lp import loads it back.

The most frequent problems:

  • A player lacks a permission their group has: check the exact spelling of the permission in the plugin's documentation, then type /lp user Pseudo permission check the.permission. /lp verbose on then shows, live, the permissions checked when the player acts: you see the name actually requested.
  • The permission works on one server and not on another: it was given with a server=… or world=… context that does not match.
  • The prefix does not show: no chat plugin reads it, or another of the player's groups has a higher-priority prefix.
  • Changes do not carry over from one server to another: the servers do not use the same database, or synchronisation is not set up. Try /lp sync.
  • The player lost their other ranks: parent set was used instead of parent add.

To restrict access to the server to a list of players, LuckPerms is not enough: see the guide on the Minecraft server whitelist.

06

On CloudFive

On our Minecraft hosting plans, Paper, Purpur, Fabric, Forge and NeoForge install in one click from the customer area. You drop LuckPerms into the plugins or mods folder with the file manager or over SFTP, and the customer area console accepts lp commands directly, without being an operator. Backups let you roll back after a mistake.

The servers run in France on Ryzen 9 9950X, with DDR5 memory and NVMe storage, with Anti-DDoS Premium included. Plans are monthly, with no commitment, starting at €8, with support in French 7 days a week. To choose the server software, see Paper, Purpur or Spigot.

07

Frequently asked questions

How do I install LuckPerms on a Minecraft server?

Download from luckperms.net the version that matches your server: Bukkit for Paper, Purpur or Spigot, or the Fabric, Forge or NeoForge version. Drop the file into the plugins or mods folder, then restart the server. Data is stored by default in a local H2 database, with nothing to configure.

How do I create a rank with LuckPerms?

Type /lp creategroup followed by the group name, give it permissions with /lp group name permission set the.permission true, then put a player in it with /lp user Name parent set name. The web editor, opened with /lp editor, does the same thing with the mouse.

What is the difference between parent set and parent add?

parent set replaces all of the player's groups with the one you name. parent add adds the group and keeps the others. For a time-limited rank, parent addtemp followed by a duration, such as 30d, removes the group automatically when it expires.

Why does the LuckPerms prefix not show in chat?

LuckPerms stores the prefix but does not format chat: you need a chat plugin that reads it, often with Vault on Paper. Also check that another of the player's groups does not have a higher-priority prefix.

Does LuckPerms need a MySQL database?

Not for a single server: the default H2 database is enough. For a network with a Velocity or BungeeCord proxy, you need a MySQL or MariaDB database shared by the proxy and all servers, so that groups are the same everywhere.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay