跳到正文

AdminCommandLogger

作者:SYN_IGEL

A simple Fabric server mod that logs all admin and operator commands to both chat and console for better transparency and moderation control.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🪄 AdminLogger 

AdminLogger is a simple server-side Fabric mod that automatically logs all admin and operator commands to both chat and console.
Perfect for community servers where transparency, moderation, and security matter.


🔍 Features

  • Logs every admin / operator command executed on the server

  • Shows the executed command in chat
    → [ADMIN CMD] PlayerName executed: /gamemode creative

  • Writes the same entry to the server console

  • Works server-side only – players don’t need to install the mod

  • Fully compatible with popular admin tools like Essentials, LuckPerms, and CommandAliases


⚙️ Compatibility

Type Compatible
Minecraft Version 1.21.1
Mod Loader Fabric
Fabric Loader Version 0.16.9 or newer
Fabric API Version 0.110.0+1.21.1
Java Version 21 or newer
Also works with Quilt (generally compatible)
Not compatible with Forge / NeoForge

💡 Installation

  1. Download adminlogger-1.1.0.jar.

  2. Place it in the mods/ folder on your Fabric server.

  3. Make sure Fabric API (for 1.21.1) is also installed.

  4. Restart the server.

  5. Run any OP command – it will appear in chat and the console log.


🧩 Technical Info

  • Developed with Fabric Loom 1.7.3

  • Compiled with Java 21 / Gradle 8.10.2

  • Uses Mixins to hook into CommandDispatcher for command logging


🧑‍💻 Credits

  • Developer: SYN_IGEL

  • Language: Java

  • Framework: Fabric API

  • License: MIT


🆕 Changelog (v1.1.0)

  • 🔄 Updated to Minecraft 1.21.1

  • ☕ Requires Java 21

  • ⚙️ Updated for Fabric Loader 0.16.9 and Fabric API 0.110.0+1.21.1

  • 🧩 Minor improvements and cleanup in the logging system


📷 Screenshots (optional)

Add images like:

  • Chat log: [ADMIN CMD] Player executed: /gamemode creative

  • Console output showing the same message

常见问题

AdminCommandLogger 支持哪些 Minecraft 版本?

AdminCommandLogger 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

AdminCommandLogger 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分