Lethium

Rank Planner

LuckPerms Rank Generator

Plan your ranks, prefixes, inheritance and tracks, see which rank gets which perk, then copy the exact LuckPerms commands.

Tools / Rank Planner

Your plan is saved in this browser. Loading a template replaces it; Undo brings it back.

Groups

Chat preview colours are exact, the font is not Minecraft's

Inheritance

Each line goes down from a group to the group it inherits from. Red lines close a loop. Click a group to edit it.

Checks

Tracks

Perk matrix

Which group gets which permission. A bold mark is set on that group, a faint one comes from a parent, * means through a wildcard, ◐ means only on some servers or worlds. Click a cell to cycle it: give, remove, not set.

✓ given ✗ removed ✓ inherited ◐ some places only

Export

Import

Open files takes several .yml files from yaml-storage/groups and tracks at once, a .json.gz from /lp export, or a saved plan file. Import replaces the plan; Undo brings it back. Nothing is uploaded.

How to set up LuckPerms ranks

  1. Load a template close to your server: survival donor ranks, a staff ladder, prison ranks A to Z with prestiges, or a minigame network. Or start with only default.
  2. Pick a group to edit it. Give every group its own weight; higher ranks get higher numbers. Leave gaps of 10 or 100 so you can add a rank in between later.
  3. Add a prefix and watch the chat preview. Set Inherits from so each rank gets everything of the rank below it.
  4. Add permissions by hand or with a perk bundle, then check the perk matrix: it shows what every rank ends up with, including what it inherits.
  5. Make tracks for promote and demote, read the checks, and copy the commands into your server console.

LuckPerms commands this tool writes

Every command follows the LuckPerms wiki's command usage. In the order the script runs them:

lp creategroup vip
lp group vip setweight 10
lp group vip setdisplayname VIP
lp group vip meta setprefix 10 "&a[VIP] "
lp group vip meta set homes 5
lp group vip parent add default
lp group vip permission set essentials.fly true
lp group vip permission set essentials.fly true server=lobby
lp group vip permission settemp essentials.fly true 30d
lp createtrack donor
lp track donor append default
lp track donor append vip

default is never created: LuckPerms always has it. Text with spaces goes in double quotes, so a prefix ending in a space keeps it. LuckPerms has no way to put a double quote inside a quoted argument, so the checks stop you from using one. The first prefix of a group uses setprefix, which also removes an old prefix in the same context; a second one uses addprefix. Choose In game for /lp, or BungeeCord and Velocity for lpb and lpv on a proxy.

LuckPerms prefix and weight: which one wins

A player collects every prefix from their groups and the groups those inherit. LuckPerms shows the one with the highest priority. When two have the same priority, it takes the one it finds first while walking the inheritance tree, which is hard to predict, so the checks warn about ties. A common mistake is a default prefix with a higher priority than the donor ranks: then every donor shows the default prefix. The checks catch that as well.

Group weight is a different number. It decides which group wins when two groups of the same player set one permission differently: the higher weight wins. In the perk matrix a group's own value beats an inherited one, and the parent with the higher weight is looked at first.

LuckPerms only stores the prefix. A chat plugin shows it: EssentialsX Chat, or any chat plugin that reads Vault on Spigot and Paper. That plugin also decides whether &#RRGGBB or MiniMessage tags work, so check its documentation. The Hex Gradient Generator makes gradient prefixes in every format.

LuckPerms tracks: promote and demote

A track is an ordered list of groups. lp user Steve promote donor moves Steve one step up the donor track, demote one step down. A server often has several: one for donor ranks, one for staff, one for prison ranks and one for prestiges. Put the groups in order from low to high; the checks warn when a later group has a lower weight. A group can be on a track only once.

Import file and YAML storage

rank-plan.json.gz for /lp import

The same gzip JSON file that /lp export writes, with your groups and tracks and no players. Put it in plugins/LuckPerms and run lp import rank-plan.json.gz. Without --replace the plan is merged into the groups you have; with --replace each group and track in the file is replaced as a whole. Groups that are not in the file and all players stay as they are. Run lp export first so you can go back.

YAML group and track files

Only for servers with storage-method: yaml. The zip holds yaml-storage/groups/<group>.yml and yaml-storage/tracks/<track>.yml, laid out the way LuckPerms writes them: plain permission nodes as a list, anything with a value of false, an end time or a context as a small map, and prefixes with their priority. Weight and display name are stored as the nodes weight.10 and displayname.VIP.

Importing what you have

Paste lp commands, one or more YAML files, or open the .json.gz from /lp export. Users in an export are left out. Lines the planner cannot use, like user commands, are listed with their line number and skipped.

Perk bundles

The bundles only hold permission nodes listed in EssentialsX's own plugin.yml files and default config, for EssentialsX, EssentialsX Chat and EssentialsX Spawn. The home limits vip and staff and the kit tools are the names in the default config.yml and kits.yml; change them if yours differ.

Questions

Do I have to run the commands in this order?

Yes. A group must exist before another group can inherit from it, and a track can only take groups that exist. The script creates all groups first, then sets weights, prefixes, parents and permissions, and makes the tracks last.

Why does my LuckPerms prefix not show in chat?

LuckPerms only stores the prefix. A chat plugin such as EssentialsX Chat shows it, and on Spigot or Paper it needs Vault. If the wrong prefix shows, the player has a prefix with a higher priority from another group; the checks list names it.

Should I use the commands, the import file or the YAML files?

The commands work with every storage type and only add things. The import file is for /lp import and can replace the planned groups in one go. The YAML files only work when LuckPerms uses storage-method: yaml. Back up before the import file or the YAML files.

What is the difference between group weight and prefix priority?

Group weight decides which group wins when two groups of a player set the same permission differently. Prefix priority decides which prefix shows when a player has several. They are separate numbers; giving a group's prefix the same number as its weight keeps things simple.

Is my rank plan uploaded anywhere?

No. The plan is kept in your browser and every file is made on your device. A share link carries the plan inside the link itself.