This is a simple Server-Sided mod that gives you LuckPerms prefix/suffix support for usernames in your chat messages and join/leave messages with Adventure's MiniMessage support in NeoForge
- NeoForge 1.21.1
- Luckperms 5.4
- Adventure API mod 6.0.1+
The config is located at ./config/relpchatprefix/config.json and by default will look like the following:
{
"mainConfig": {
"enablePrefix": true,
"enableSuffix": true,
"messageFormat": "{prefix}{player}{suffix} <gray><bold>»<reset>",
"messageColor": "white"
},
"chatOverrides": {
"joinMessage": "<yellow>{prefix}{player}{suffix} joined the game<reset>",
"leaveMessage": "<yellow>{prefix}{player}{suffix} left the game<reset>"
},
"firstJoin": {
"message": "<yellow>Welcome {player} to the server!",
"enable": false
}
}Allows you to enable or disable prefixes in the chat
Allows you to enable or disable Suffixes in the chat
The provided format for chat messages being sent by users.
Supported Placeholders:
{prefix}: The player's LuckPerms prefix{player}: The player's username{suffix}: The player's LuckPerms suffix
You can use any MiniMessage supported text code for the message format. For more details check out the Adventure MiniMessage Docs
The provided message color to use for chat messages, by default uses White to align with the Minecraft defaults.
You can use any standard Minecraft formatting color name.
Supported Placeholders:
{prefix}: The player's LuckPerms prefix{player}: The player's username{suffix}: The player's LuckPerms suffix
You can use any MiniMessage supported text code for the message format. For more details check out the Adventure MiniMessage Docs
This option allows you to override the default join message from Minecraft
This option allows you to override the default leave message from Minecraft
Supported Placeholders:
{prefix}: The player's LuckPerms prefix{player}: The player's username{suffix}: The player's LuckPerms suffix
You can use any MiniMessage supported text code for the message format. For more details check out the Adventure MiniMessage Docs
Allows setting the first join message for players
Toggle for First join message