?️ CommandLogger — 终极管理审计工具
CommandLogger 是一款轻量级、高性能的 Minecraft 插件,专为需要清晰完整操作记录的服务器管理员设计。它记录特定玩家执行的每一条命令,并提供强大的实时搜索功能,且完全不影响服务器的 TPS(每秒刻数)。
✨ 主要特性
? 零延迟(全异步):所有文件 I/O 操作均在独立线程上运行。你的主服务器线程可专注于游戏逻辑。
? 智能 JSON 存储:日志以结构化的 logs.json 文件保存,每 60 秒自动保存一次。
? 命令堆叠(×N):防止日志刷屏。如果玩家连续执行了 10 次 /home,日志中只会显示一条带有 ×10 计数的条目。
? 高级搜索引擎:在几秒钟内通过玩家名称、世界或时间范围过滤成千上万条日志。
? 自动维护:当达到限制(默认 10,000 条)时,自动清理旧日志以节省磁盘空间。
? 完全自定义:messages.yml 文件中的每条消息都可以进行翻译或样式设置。
? 命令与权限
命令 描述 权限
/cmdlog 显示帮助菜单 cmdlogger.use
/cmdlog search
[w] [t] 搜索命令历史 cmdlogger.search
/cmdlog clear 清除所有日志(永久) cmdlogger.admin
/cmdlog reload 重载配置 cmdlogger.admin
(自动) 需要被记录的权限 cmdlogger.log
注意:cmdlogger.log 权限是触发记录的关键。建议将此权限授予所有玩家或你希望监控的特定群组。
? 搜索示例
掌握具有灵活时间和世界过滤器的搜索命令:
基本搜索:/cmdlog search Steve(查找 Steve 在过去 30 天内执行的所有命令)。
世界过滤器:/cmdlog search Steve nether(仅显示在下界中执行的命令)。
时间过滤器:/cmdlog search Steve world 1h(仅过滤最近一小时内的命令)。
支持的单位:s(秒)、m(分钟)、h(小时)、d(天)。
?️ 安装
下载 CommandLogger.jar 文件。
将其放入服务器的 plugins/ 文件夹中。
重启或加载插件。
在 plugins/CommandLogger/messages.yml 中配置自定义消息。
? 为什么选择 CommandLogger?
别再翻找杂乱的 latest.log 文件了。无论是抓住“创造模式”滥用者、追踪员工活动还是调查破坏者,CommandLogger 都能直接在聊天窗口为你提供格式化且经过筛选的证据,速度极快。
兼容 Paper/Spigot 1.21+
?️ CommandLogger — The Ultimate Admin Audit Tool
CommandLogger is a lightweight, high-performance Minecraft plugin designed for server administrators who need a crystal-clear paper trail. It tracks every command executed by specific players and provides powerful, real-time search tools without ever touching your server's TPS.
✨ Key Features
? Zero Lag (Fully Async): All file I/O operations run on separate threads. Your main server thread stays focused on gameplay.
? Smart JSON Storage: Logs are saved in a structured logs.json file with an auto-save heartbeat every 60 seconds.
? Command Stacking (×N): Prevents log spam. If a player spams /home 10 times, it shows as a single entry with a ×10 counter.
? Advanced Search Engine: Filter through thousands of logs by Player Name, World, or Time Range in seconds.
? Auto-Maintenance: Automatically prunes old logs once the limit (default 10,000) is reached to save disk space.
? Fully Customizable: Every single message can be translated or styled in the messages.yml file.
? Commands & Permissions
Command Description Permission
/cmdlog Display help menu cmdlogger.use
/cmdlog search
[w] [t] Search command history cmdlogger.search
/cmdlog clear Wipe all logs (Permanent) cmdlogger.admin
/cmdlog reload Reload configuration cmdlogger.admin
(Automatic) Required to be logged cmdlogger.log
Note: The cmdlogger.log permission is what triggers the recording. It is recommended to give this to all players or specific groups you wish to monitor.
? Search Examples
Master the search command with flexible time and world filters:
Basic Search: /cmdlog search Steve (Finds all commands by Steve in the last 30 days).
World Filter: /cmdlog search Steve nether (Only shows commands executed in the Nether).
Time Filter:/cmdlog search Steve world 1h (Filter for the last hour only).
Supported Units: s (seconds), m (minutes), h (hours), d (days).
?️ Installation
Download the CommandLogger.jar file.
Drop it into your server's plugins/ folder.
Restart or Load the plugin.
Configure your custom messages in plugins/CommandLogger/messages.yml.
? Why Choose CommandLogger?
Stop digging through messy latest.log files. Whether you are catching "Creative Mode" abusers, tracking staff activity, or investigating griefers, CommandLogger gives you the evidence you need directly in the chat, formatted and filtered for speed.
Compatible with Paper/Spigot 1.21+
评论 0
登录后参与评分
还没有评论,来抢沙发吧