A server-side Forge mod that displays LuckPerms prefixes and suffixes in chat messages for Minecraft 1.20.1.
- 🏷️ Display LuckPerms prefixes and suffixes in chat
- 🎨 Support for Minecraft color codes (& symbols)
- ⚙️ Highly configurable message format
- 🖥️ Server-side only - clients don't need to install
- 🔧 Lightweight and efficient
- Minecraft 1.20.1 (strictly this version only)
- Forge 47.1.0 or higher
- LuckPerms plugin installed on server
- Java 17 or higher
Download the latest version from GitHub Releases
- Download the latest
lpchatprefix-1.20.1_1.1.0.jarfrom releases page - Place the JAR file in your server's
modsfolder - Ensure LuckPerms is installed and configured
- Start/restart your server
Not required! This is a server-side only mod. Players can connect without installing anything.
The mod creates a configuration file at config/lpchatprefix-common.toml with the following options:
[LPChatPrefix Config]
# Enable/disable prefix display
enablePrefix = true
# Enable/disable suffix display
enableSuffix = true
# Chat message format template
# Supported placeholders: {prefix}, {player}, {suffix}, {message}
messageFormat = "{prefix}{player}{suffix}: {message}"
# Message text color (Minecraft color codes)
# Options: black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple,
# gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white
messageColor = "gray"
# Player name color
nameColor = "white"- Set up prefixes/suffixes in LuckPerms:
# Add a prefix to a group
/lp group admin meta setprefix "&c[Admin] "
# Add a suffix to a user
/lp user <player> meta setsuffix " &7[VIP]"- The prefixes and suffixes will automatically appear in chat messages
Without mod: <PlayerName> Hello everyone!
With mod: [Admin] PlayerName [VIP]: Hello everyone!
The mod supports Minecraft color codes using the & symbol:
&c- Red&a- Green&b- Aqua&e- Yellow&f- White- And all other standard Minecraft color codes
- Ensure LuckPerms is installed and running
- Check that the player/group has prefixes/suffixes set
- Verify the mod is loaded (check server logs for "LPChatPrefix initialized")
- Make sure you're using the latest version
- Check for conflicting chat formatting plugins/mods
- Verify you're using Minecraft 1.20.1 exactly
- Ensure Forge version is 47.1.0 or higher
- Check Java version is 17 or higher
# Clone the repository
git clone https://github.com/Viking602/LPchatprefix.git
cd LPchatprefix
# Build the mod
./gradlew clean build
# Output JAR will be in build/libs/
# File: lpchatprefix-1.20.1_1.1.0.jarReleases are automatically built and published when a new tag is pushed:
# Create and push a version tag
git tag v1.20.1_1.1.0
git push origin v1.20.1_1.1.0This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
For issues, questions, or suggestions, please open an issue on the GitHub repository.
- Built for Forge
- Requires LuckPerms by Luck
- Developed for Minecraft 1.20.1