How do I make a rank prefix with an icon?
Rank icons in chat are pictures from the server resource pack. Design the badges here, download the ZIP for ItemsAdder, Nexo or Oraxen, copy it into the plugin folder and rebuild the pack (/iazip for ItemsAdder). The ZIP also holds the LuckPerms commands that put the badge placeholder into each group's prefix.
At a glance
- Price
- Free, no account, no watermark
- You get
- A ZIP with badge PNGs, the config and LuckPerms commands, or text prefixes
- Works with
- ItemsAdder, Nexo or Oraxen, LuckPerms and a chat plugin with PlaceholderAPI
- Where it runs
- In your browser. Your designs are not uploaded.
- Last updated
How to add rank badges with ItemsAdder
- Design your ranks. The order matters: the top of the list gets the highest LuckPerms priority.
- Set the namespace (the folder name,
ranksby default) and press Download all as ZIP. - Unzip it and copy the namespace folder into
plugins/ItemsAdder/contents/. - Run
/iazipin the console and wait until the resource pack is rebuilt. Players see the badges once they have the new pack. - Create the groups if they don't exist yet, for example
lp creategroup vip. - Run the LuckPerms commands from the designer. Each one looks like
lp group vip meta setprefix 60 "%img_vip% ". - Show the prefix. Your chat and tab plugins need to display the LuckPerms prefix and parse PlaceholderAPI placeholders, so that
%img_vip%turns into the badge.
Text prefixes without a resource pack
- Design the ranks. The text prefixes use the same colours and gradients as the badges.
- Tick Small caps if you want
ᴠɪᴘinstead ofVIP. - Copy the LuckPerms commands with
&#hex and run them in the console, or copy the MiniMessage lines into a chat plugin that uses MiniMessage.
LuckPerms prefix generator: how the commands work
The rank designer is also a LuckPerms prefix generator. It writes a ready command for every rank, so you only copy and paste:
lp group vip meta setprefix 20 "ɗAD&lVIP &r"
vipis the group name in LuckPerms. If the group does not exist yet, create it first withlp creategroup vip.20is the priority of the prefix. When a player has several prefixes, LuckPerms shows the one with the highest priority by default. The designer sets them for you: the top rank in your list gets the highest number, in steps of ten.- The
&rand the space at the end stop the player name from taking on the prefix colour. - Remove a prefix again with
lp group vip meta removeprefix 20.
LuckPerms only stores the prefix. Your chat or tab plugin has to show it, through Vault or the PlaceholderAPI placeholder %luckperms_prefix%. For &# hex colours that plugin must understand hex codes.
Which output do I need?
| Output | Looks like | You need |
|---|---|---|
| Badges as images (ItemsAdder ZIP) | Pixel badges with border and icons | ItemsAdder, LuckPerms, PlaceholderAPI and chat/tab plugins that show the prefix |
| LuckPerms with &# hex | Bold coloured text, gradients letter by letter | LuckPerms and a chat plugin that understands &#RRGGBB; Minecraft 1.16+ |
| MiniMessage | Bold coloured text with <gradient> | A chat or tab plugin that reads MiniMessage |
What is in the ZIP
| File | What it does |
|---|---|
ranks/textures/<rank>.png | One badge per rank, 8 pixels tall by default (7–16 px selectable), in its real size. |
ranks/configs/ranks.yml | The ItemsAdder font_images for all badges, with scale_ratio = image height (8 px: scale_ratio: 8, y_position: 7). |
README.txt | The install steps and every LuckPerms command. |
The permission line of each badge in ranks.yml only decides who may use it as a chat emoji. Who wears which badge is decided by the LuckPerms group prefix. If your resource pack moves the chat font, change y_position until the badge sits on the line.
Badge specs
- Height
- 8 pixels by default, as the ItemsAdder wiki asks, 7 to 16 px selectable. The width follows the text.
- Text
- Up to 16 characters: A–Z, 0–9 and + - ! ? . & ★ ♥, always upper case.
- Style
- Fill colour or a left-to-right gradient, text colour, optional own border colour and a small + on the corner.
- Icons
- Star, heart, crown, sword, gem, bolt, check or play.
- Priority
- The top rank gets the highest weight, then 10 less for each rank below.
Frequently asked questions
How do servers show rank images in chat?
With a resource pack. Each badge becomes a font image, a custom character. ItemsAdder turns the PNGs into such characters and gives you a placeholder like %img_vip% that you put into the LuckPerms prefix.
Do players need to download anything?
Image badges need the server resource pack. ItemsAdder can send it automatically when players join. Text prefixes need nothing.
How do I add a hex colour prefix in LuckPerms?
Run lp group vip meta setprefix 60 "ɗAD&lVIP &r". The number is the priority, higher wins. Your chat plugin must support &# hex codes. The designer writes these commands for all ranks at once.
Why does my prefix show %img_vip% as text?
The placeholder is not being replaced. Either the chat or tab plugin does not use PlaceholderAPI, or the resource pack was not rebuilt with /iazip after you copied the files.
What size should rank icons be?
By default 8 pixels tall, as the ItemsAdder wiki asks. You can choose 7 to 16 px (LoneDev’s BetterRanks pack uses 9). The width follows the text. The config always gets the image height as font height, at 8 px that is scale_ratio: 8 and y_position: 7, so every pixel stays sharp.
Can I use the badges with Nexo or Oraxen?
Yes. Pick Nexo or Oraxen above the download button. The ZIP then holds glyphs/<namespace>.yml with texture, ascent and height, the PNGs in the pack folder, and the LuckPerms commands use %nexo_<rank>% or %oraxen_<rank>%.
Which characters can a badge have?
Up to 16 characters: A–Z, 0–9 and + - ! ? . & ★ ♥, or no text at all for an icon-only badge. You can add one of 37 icons and a small + on the corner, and colour the badge, the text and the icon separately, each in one colour or a gradient of up to three colours.