LPDiscordLogger
LPDiscordLogger is a Minecraft Paper plugin that logs specific player commands executed by members of a designated LuckPerms group and sends these logs to a specified Discord channel via a webhook.
📖About LPDiscordLogger
LPDiscordLogger
LPDiscordLogger is a Paper plugin that logs specific commands executed by players in a chosen LuckPerms group and forwards those logs to a Discord channel via a webhook. It helps server owners monitor important or sensitive administrative actions.
Features
Command Logging
Tracks and logs commands executed by players in a specified LuckPerms group.Discord Webhook Support
Sends command logs directly to a Discord channel using a configured webhook URL.Highly Configurable
Customize the target LuckPerms group, the Discord webhook URL, and the list of ignored commands throughconfig.yml.Reloadable Configuration
Apply configuration changes at runtime using the/lpdiscordreloadcommand, without restarting the server.
Prerequisites
- Minecraft Server running Paper or another compatible PaperMC-based API
- LuckPerms installed and configured
- Java 17 or newer on the server
Installation
Download the Plugin
Get the latest release from:Place in Plugins Folder
MoveLPDiscordLogger.jarinto your server’spluginsdirectory.Start the Server
Launch the server. A defaultconfig.ymlwill be generated inplugins/LPDiscordLogger.Configure the Plugin
Editplugins/LPDiscordLogger/config.ymlas needed:discordWebhookUrl: Your Discord webhook URLtargetGroup: The LuckPerms group to monitor (e.g.,admin)ignoredCommands: A list of command prefixes to exclude from logging (e.g.,/msg,/whisper)
Reload the Configuration
Apply your changes instantly using/lpdiscordreloadin-game or through the console.
Configuration
Example config.yml:
discordWebhookUrl: "https://discord.com/api/webhooks/your_webhook_url"
targetGroup: "admin"
ignoredCommands:
- "/msg"
- "/whisper"
- "/tell"