Skip to content

Instantly share code, notes, and snippets.

@arnokeesman
arnokeesman / Coloring displayname from groups on fabric server.md
Created July 10, 2023 20:14
Coloring usernames in Minecraft chat based on LuckPerms group or dimension

A quick guide on coloring usernames in Styled Chat from LuckPerms groups on a Fabric server

Styling cannot escape placeholders.
So if you have a prefix like <blue>Admin the prefix will turn blue but you're username is still white (default).
In this guide I'll show you how you can use the color meta tag of groups in LuckPerms to change the color of your display name.
At the end I also show how you can do this based on dimension.

Assumtions

You have configured LuckPerms groups for your server and set up prefixes display in chat by adding it to display_name. If you don't want prefixes, you can remove them by searching for %luckperms:prefix% in your config file and replacing it with nothing. If you want suffixes as well you can find ${default}" and replace it with ${default}%luckperms:suffix%".

@arnokeesman
arnokeesman / Setting up prefixes with Player Roles on a fabricmc server.md
Created March 19, 2023 14:11
Setting up prefixes with Player Roles on a fabricmc server
@arnokeesman
arnokeesman / How to use LuckPerms prefixes on a fabricmc server.md
Last active May 26, 2024 09:59
How to use LuckPerms prefixes on a fabricmc server