This tutorial assumes you have a fabricmc server with fabric-api installed
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 5 (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.* true - 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
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 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.





Yeah your config looks good, it's probably some combination of mods not wanting to work together
Send your modlist in the styled-chat channel on Patbox' Discord (link can be found on the mod pages of the styled- mods) so we can look further into it tomorrow (maybe someone else knows whats up before I can take a look as well)
Edit: Solved! LP placeholder hook was missing