Home›Java›Mods›CommandWebhookLogger
CommandWebhookLogger
ModsJava

CommandWebhookLogger

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
⚙️ CommandWebhookLogger
Accurate, Real-Time Command Logging for Discord


ℹ️About

CommandWebhookLogger
is a powerful, open source, efficient Minecraft plugin designed to log all types of player commands, successful, permission-denied, and unknown commands directly to Discord via webhooks. Get granular visibility into server activity and command abuse in real-time.

Plugin is tested on paper 1.21.10. It most probably works on all versions. I am not responsible for any damage done to your server or devices.

Why CommandWebhookLogger is Different
This plugin doesn't rely on less accurate Bukkit events. Instead, it utilizes the ProtocolLib API to intercept command packets the moment a player sends them.

This method guarantees:
  1. Accuracy: Logs commands even if they are cancelled by other plugins
  2. Completeness: Captures the true, full command string exactly as the player typed it.
  3. Efficiency: Asynchronous webhook sending prevents server lag.
⚖️Legal & Notice

Distributing this plugin without written permission from the author is not allowed. Source code is provided on Github, you may change it or make additions to it, if you refer people to this plugin too. I am not responsible for any damage done to your server or devices. Full legal notice is on Github. ️

Key Features & Advanced Functionality


1. Core Command Logging

The plugin provides three dedicated log categories, each with its own webhook URL and embed template for optimal organization and filtering:

2. Utility Features
Dependencies & Integrations

CommandWebhookLogger requires one core dependency for its functionality and offers seamless integration with two popular plugins for enhanced features.

⚠️ Essential Dependency: ProtocolLib

To function, CommandWebhookLogger requires the ProtocolLib plugin, as it handles the packet interception magic. Please ensure it is installed on your server before using this plugin.



Optional Addons (Soft Dependencies)

These plugins are entirely optional. If you use them, CommandWebhookLogger will automatically detect them and enable advanced logging placeholders. If they are not present, the plugin will function normally, but the corresponding placeholders will show "Not available."

⚙️ Installation & Setup
  1. Download: Download the latest CommandWebhookLogger JAR file and put the file in your plugins/ folder.

  2. Install ProtocolLib: Ensure the ProtocolLib JAR is in your server's plugins/ folder.

  3. Discord Webhook: Create a new webhook in your desired Discord channel settings. You will need this URL.

  4. Configuration: Start your server once to generate the config.yml file in the plugins/CommandWebhookLogger/ folder.

  5. Edit config.yml: Info on how to configure the config.yml is present in .yml.

  6. Reload: Use "/commandwebhooklogger reload" or restart your server.
❤️ Support, Questions, & Donations
This plugin is provided completely free of charge. If you have questions, need help, want to give feedback, or just want to chat:

Add me on Discord!
(Click here to contact me on Discord!)

If you find this plugin valuable and wish to support future free projects, donations are always optional but deeply appreciated! Contact me on Discord if you'd like to support. ❤️

Source Code
The complete source code is available on GitHub! Developers are more than welcome to explore the inner workings of the packet interception mechanism and contribute fixes or new features.

Commands

Plugin details

Read from the plugin's own plugin.yml.

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.

CommandWebhookLogger is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 50 times (via Spigot). Download it and open it directly in the game.

Explore more