This tutorial assumes you have a fabricmc server with fabric-api installed.
Coming over from bukkit, spigot or paper? Make sure to replace all legacy formatting (those done with &
) with tags from Simplified Text Format!
Download Styled Chat, Styled Player List
Then get LuckPerms https://luckperms.net/download
And get Fabric PlaceHolderAPI from the bottom of that same page
Now put all these files in your mods folder and restart the server.
In your Styled Chat config (/config/styled-chat.json
) add the Placeholder for the prefix(%luckperms:prefix%
):
On line 17 (as of writing this) change "displayName": "${default}",
to "displayName": "%luckperms:prefix%${default}",
as shown below
Reload Styled Chat by running
/styledchat reload
In your Styled Player List config (/config/styledplayerlist/config.json
) change some values to update the names.
Set changePlayerName
to true
and playerNameUpdateRate
to 20
as shown below
Reload Styled Chat by running
/styledplayerlist reload
- in the console create a group to manage luckperms
lp creategroup luckperms
- give the group luckperms rights (I will give it all)
lp g luckperms permission set luckperms.*
- add yourself to the group
lp u yourUsername parent add luckperms
(this can only work if you have joined before, after doing this you can continue in-game) - create a group with
/lp creategroup <name>
example:/lp creategroup owner
- give the group a prefix
/lp g owner meta setprefix "<blue>Owner"
- give yourself the group
/lp u yourUsername parent add owner
Note: for styling of prefixes use Simplified Text Format, formatting with & will not work.
As you might have noticed in the results, there is nothing between the prefix and the username. You can fix this in your LuckPerms config.
Open the LuckPerms config (/config/luckperms/luckperms.conf
) and search(ctrl+f
) for meta-formatting
, in the prefix section of this set end-spacer
to " "
to add a space between the prefix and your username.
Restart your server for this change to take effect.
- Problem: The prefixes shows up but colors don't work
Solution: Replace all legacy formatting (done with&
) with tags from Simplified Text Format - Problem: Prefixes do not work/show up
Possible solution: If you are using a FTB library build between 188 and 204, downgrade to 188 or upgrade to anything newer than or 204
Hi,
I'm running a custom modpack server based on Better MC [FABRIC] - BMC1 (1.19.2), updated fabric to latest, added/removed some mods and updated most of the packs mods to latest.
I followed this tutorial step by step a few months ago and everything worked perfectly fine. Means the prefix showed in player list and chat.
After I added/updated some mods the playerlist would get overwitten by another mod. Turned out to be carpets "/log" feature. I disabled it and this made the Styled Player List show again.
Now I'm not able to get the prefix to show up again (both in the player list and in chat).
When I looked through the config files I saw that both styled* mods config files were in its original state (which is odd, I had it working a few months ago, so I must have edited them before), but even after doing every step in the tutorial again, reloading, restarting the minecraft server, no prefix to be seen
Luckperms config on the other hand did actually persist and I also checked

/lp user *** info
here is the output:you can see the prefix is
Präfix: "<dark_red>[Admin]: "
in germanThis is what it looks like ingame:

I made changes to /config/styledplayerlist/styles/default.json and those are actually showing after reloading
I suspect a conflict with another mod and while I'm writing this I removed the "Chat Heads" mod from the client which didnt help.
Here is the list of mods on the server, I know those are a bunch but I might as well send it along for completeness:
https://pastebin.com/jw8V35ZB
Sorry for the essaying, I'm not mad at anyone but myself, should have dealt with it immediately after noticing it and not make another bagillion changes to the mod list (primarily updates)
I tried to word everything as clear as possible (I hope I did not forget anything).
Thanks in advance!