Version: 1.0.0
Author: Nickotato
Minecraft Versions: 1.21.11+ (Paper)
CommandLogger is a lightweight Minecraft plugin designed to help keep server operators accountable to the players. It logs important commands and operator actions to the chat, which helps detect potential abuse. It is designed for competitive servers or servers where operators play as the players.
Tracks execution of important commands:
| Command | Description |
|---|---|
/gamemode / /gm |
Logs when a player or operator changes a gamemode. |
/give |
Logs items given to players. |
/effect |
Logs potion effects applied to players. |
/enchant |
Logs item enchantments, including nearby players. |
/attribute |
Logs changes to player attributes. |
/experience / /xp |
Logs XP given to players. |
/clear |
Logs inventory clears. |
/kill |
Logs kills executed via commands. |
/tp / /teleport |
Logs teleport usage (ignores spectators). |
- Logs when operators drop items.
- Captures item type, quantity, and nearby players within 10 blocks.
- Only tracks operators to reduce unnecessary logs.
- All features can be toggled on/off using a simple in-game setup GUI.
- Changes persist between server restarts.
- Green wool = enabled, red wool = disabled.
- To use type:
/command_logger_setup
⚠ Steve gave 64 x DIAMOND to Alex
⚠ Admin dropped 1 x DIAMOND_SWORD (nearby: Steve, Alex)
⚠ Steve switched their gamemode to creative
⚠ Steve enchanted an item with SHARPNESS (near: Alex)
- Place
CommandLogger.jarin your server's/pluginsfolder. - Start or reload your server.
Default config.yml:
features:
gamemode: true
give: true
effect: true
enchant: true
attribute: true
experience: true
clear: true
kill: true
teleport: true
item-drop: truetrue= feature enabledfalse= feature disabled
Changes made via the GUI update the config automatically.
| Command | Permission | Description |
|---|---|---|
/command_logger_setup |
commandlogger.setup | Opens the setup GUI to toggle plugin features. |
- Does not keep a persistant log of all commands executed, it only says the command in chat, then it is gone.
- Nearby player detection uses a 10-block radius.
- Only logs key commands and operator drops to reduce spam.
- Compatible with Paper 1.21.11+.
- f3+f4 does not log currently
- Log file.
- Customizing specific conditions, like whether or not tp log should work in spectator.
- Advanced radius and filter options for item drops.
- More commands
- Make f3+f4 log gamemode