Private Messages
Documents LPC Pro 4.0.0 · mirrored from the product wiki, updated 2026-02-07 · GitBook version
LPC Pro provides a full private messaging system with customizable formats, ignore lists, and staff spy functionality.
Commands
| Command | Aliases | Description | Permission |
|---|---|---|---|
/msg <player> <message> |
/m, /tell, /t, /whisper, /w |
Send a private message | lpcpro.command.msg |
/r <message> |
/reply |
Reply to last message | lpcpro.command.reply |
/ignore <player> |
— | Ignore a player's messages | lpcpro.command.ignore |
/unignore <player> |
— | Stop ignoring a player | lpcpro.command.unignore |
Enabling / Disabling
Private messages are controlled in config.yml:
enable-private-messages: true
enable-ignore-messages: true
Changing these settings requires a server restart because the commands are registered dynamically on startup.
When enable-private-messages is true, ignore messages are automatically enabled regardless of the enable-ignore-messages setting.
Message Formats
Private message formats are defined in separate format files:
- Sender sees:
formats/msg-sender.yml - Receiver sees:
formats/msg-receiver.yml
Sender Format Example
msg:
text: "<#6cc324>[&fme <#6cc324>➥ &f{receiver_name}<#6cc324>] &f{message}"
hover:
- "&8%server_time_yyyy-MM-dd HH:mm:ss%"
- "You <#6cc324>sent this message to &f{receiver_name}<#6cc324>."
- ""
- "<#6cc324>Click to reply!"
suggest: "/msg {receiver_name} "
Receiver Format Example
from-to:
text: "<#6cc324>[&f{sender_name} <#6cc324>➥ &fme<#6cc324>]"
hover:
- "&8%server_time_yyyy-MM-dd HH:mm:ss%"
- "{sender_name} <#6cc324>sent this message to &fyou<#6cc324>."
- ""
- "<#6cc324>Click to reply!"
suggest: "/msg {sender_name} "
message:
text: "{message}"
hover: "&eClick to report {sender_name}'s message!"
suggest: "/report {sender_name} "
Available Placeholders
| Placeholder | File | Description |
|---|---|---|
{receiver_name} |
msg-sender.yml | The recipient's name |
{sender_name} |
msg-receiver.yml | The sender's name |
{message} |
Both | The message content |
Ignore System
Players can ignore other players to stop receiving their messages:
/ignore <player>— Block messages from a player/unignore <player>— Unblock a player
Ignore lists are persisted in the database and survive server restarts.
Ignore Bypass
Players with lpcpro.command.ignore.bypass can send messages to players who have ignored them. This is useful for staff members.
Staff Spy
Staff members can spy on private messages:
| Permission | Description |
|---|---|
lpcpro.spy.pm |
See all private messages on the server |
lpcpro.spy.bypass |
Your messages won't be seen by spies |
Do Not Disturb
Players can toggle Do Not Disturb mode to temporarily stop receiving private messages:
| Command | Permission | Description |
|---|---|---|
/dnd |
lpcpro.dnd |
Toggle Do Not Disturb mode |
Moderation
Private messages are subject to the swear filter when filter-private-messages: true is set in moderation/moderation.yml.