ProtocolLib
Documents LPC Pro 4.0.0 · mirrored from the product wiki, updated 2026-02-07 · GitBook version
LPC Pro integrates with ProtocolLib for packet-level message manipulation, enabling features like message deletion and message interception.
What It Enables
- Message Deletion — Staff can delete individual messages from all players' chat via a clickable
[X]button - Message Interception — Intercept and modify outgoing chat packets
Setup
- Install ProtocolLib on your server
- Ensure
protocol-lib: trueis set inconfig.ymlunderhooks:
Message Deletion
With ProtocolLib enabled, staff with the lpcpro.chat.delete permission can delete individual chat messages. When a message is deleted:
- It is removed from the chat window of all players who received it
- The deletion happens at the packet level, so the message disappears completely
Permission
| Permission | Default | Description |
|---|---|---|
lpcpro.chat.delete |
op |
Delete individual chat messages |
How Message Deletion Works
LPC Pro uses ProtocolLib to track outgoing chat packets and their signatures. When a staff member triggers deletion, LPC Pro sends a packet to each player's client to remove the specific message from their chat window.
Message deletion relies on the client respecting the deletion packet. Some modified clients may not honor the request.