A Minecraft Paper plugin that logs player commands to Discord via webhooks.
When a player executes a command, the plugin sends a notification to a configured Discord webhook. This allows server administrators to monitor command usage in real-time without being in-game.
The logging runs asynchronously to prevent server performance impact.
Reloads the configuration file.
Shows all commands executed by the specified player during the current session.
# config.yml
# Discord webhook URL for sending notifications
# Must be a valid webhook URL from a Discord channel
discord-webhook-url: ""
# Commands that should not trigger notifications
bypass:
- "tpa"
- "tpaccept"
- "spawn"
- "home"
# LuckPerms integration (optional)
luckperms-log:
enabled: true
discord-webhook-url: "" # Override webhook for LuckPerms-specific logs| Permission | Description |
|---|---|
commandlogger.bypass |
Players with this permission are not logged |
- Download the JAR from the releases page
- Place the JAR file in your Paper server's
plugins/folder - Restart or reload the server
- Edit
plugins/CommandLogger/config.ymlto set your Discord webhook URL - Restart or use
/commandlogger reloadto apply changes
- Minecraft Paper 1.21 or higher
- Java 21
- LuckPerms is optional and will be detected automatically if present
- Commands are stored in memory only; they are cleared when the server stops
- The plugin uses compile-only dependencies for Paper API and LuckPerms