Home›Java›Mods›LPChatPrefix
ModsJava

LPChatPrefix

by Viking602 · on Modrinth

A server-side NeoForge mod that displays LuckPerms prefixes and suffixes in chat messages for Minecraft 1.21.1.

⬇ Download on Modrinth

LuckPerms Chat Prefix for NeoForge

GitHub Release Downloads License Minecraft NeoForge

A server-side NeoForge mod that displays LuckPerms prefixes and suffixes in chat messages for Minecraft 1.21.1.

Features

Requirements

Installation

Download

Download the latest version from GitHub Releases

Server Installation

  1. Download the latest lpchatprefix-1.21.1_1.1.0.jar from releases page
  2. Place the JAR file in your server's mods folder
  3. Ensure LuckPerms is installed and configured
  4. Start/restart your server

Client Installation

Not required! This is a server-side only mod. Players can connect without installing anything.

Configuration

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"

Usage

  1. 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]"
  1. The prefixes and suffixes will automatically appear in chat messages

Example Output

Without mod: <PlayerName> Hello everyone!

With mod: [Admin] PlayerName [VIP]: Hello everyone!

Color Code Support

The mod supports Minecraft color codes using the & symbol:

Troubleshooting

Prefixes/Suffixes not showing

Double player names in chat

Mod not loading

Support

For issues, questions, or suggestions, please open an issue on the GitHub repository.

Credits

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more