PlayerActionLogger-Reborn
PlayerActionLogger 是一款轻量级、专注于 Paper 的 Moderation(管理)与活动追踪插件,旨在帮助服务器管理员通过清晰、易读的日志证据来了解玩家行为并调查纠纷。
该插件为每位玩家创建基于用户名的独立日志,同时维护一个 UUID 索引,以便在用户名变更时保留身份历史记录。它记录重要的管理事件,包括加入、退出、聊天、命令、死亡、方块破坏与放置、物品栏交互、物品拾取与丢弃、合成、熔炼、水桶使用、火焰、爆炸、传送门、PvE 伤害、PvP 战斗,以及选定的服务器和维度活动。几乎涵盖一切!
PvP 遭遇战会被归类为战斗事件,并提供可读的摘要和逐次击打的原始时间线。这些报告可能包含参与者、 probable initiators(可能的发起者)、造成的伤害、剩余生命值、死亡次数、战斗登出、重复攻击、重生上下文、环境伤害以及死后物品拾取。
PlayerActionLogger 还包含一个本地 Web 仪表板,提供玩家个人资料、当前活动摘要、战斗报告、管理警报、每日活动历史、高频活跃区域、服务器统计信息、日志搜索以及对证据的直接访问权限。默认情况下,Web 仪表板绑定到 127.0.0.1:8080,这意味着只能从运行 Minecraft 服务器的同一台机器上访问。如果需要远程访问,可以在 config.yml 中更改绑定地址和端口,但在没有适当认证和网络保护的情况下,不应将仪表板公开暴露。
所有日志均以纯文本格式存储,并针对人工审查和 LLM(如 GPT、Gemini 和 Claude)分析进行了格式化。这使得更容易审查大量玩家活动、重建事件、识别模式,并调查恶意破坏、盗窃、可疑挖矿、战斗纠纷以及其他管理问题。
该插件设计为保持轻量级。它使用后台文件写入,避免不必要的移动和流体流动刷屏,无需外部数据库,并以可读文本日志作为主要证据记录。
支持与附加信息
如需预发布版本、错误报告、安装帮助和社区支持,以及源代码、文档、更新、功能请求、问题跟踪和项目相关的任何其他内容,请访问 GitHub 仓库:
View PlayerActionLogger on GitHub
鸣谢
图标由 Teenageleather 制作
基于 gigachadfr 的原始 PlayerActionLogger 概念。
(如果您将此内容重新发布到其他平台,请注明代码、创意等的归属。)
PlayerActionLogger-Reborn
PlayerActionLogger is a lightweight, Paper-focused moderation and activity-tracking plugin designed to help server owners understand player behavior and investigate disputes using clear, readable evidence.
The plugin creates separate username-based logs for each player while maintaining a UUID index to preserve identity history when usernames change. It records important moderation events, including joins, quits, chat, commands, deaths, block breaking and placement, inventory interactions, item pickups and drops, crafting, smelting, bucket use, fire, explosions, portals, PvE damage, PvP combat, and selected server and world activity. Pretty much everything!
PvP encounters are grouped into combat incidents with readable summaries and raw hit-by-hit timelines. These reports may include participants, probable initiators, damage dealt, remaining health, deaths, combat logouts, repeated attacks, respawn context, environmental damage, and post-death item pickups.
PlayerActionLogger also includes a local web dashboard with player profiles, current activity summaries, combat reports, moderation alerts, daily activity history, frequently active areas, server statistics, log searching, and direct access to evidence. By default, the web dashboard is bound to 127.0.0.1:8080, which means it can only be accessed from the same machine running the Minecraft server. The bind address and port can be changed in config.yml if remote access is needed, but the dashboard should not be exposed publicly without proper authentication and network protection.
All logs are stored as plain text and formatted for both human review and analysis with LLMs such as GPT, Gemini, and Claude. This makes it easier to review large amounts of player activity, reconstruct incidents, identify patterns, and investigate griefing, theft, suspicious mining, combat disputes, and other moderation concerns.
The plugin is designed to remain lightweight. It uses background file writing, avoids unnecessary movement and fluid-flow spam, requires no external database, and keeps readable text logs as the primary evidence record.
Support and Additional Information
For pre-release builds, bug reports, installation help, and community support, source code, documentation, updates, feature requests, issue tracking, and anything else related to the project, visit the GitHub repository:
View PlayerActionLogger on GitHub
Credits
Icon made by Teenageleather
Based on the original PlayerActionLogger concept by gigachadfr.
(If you repost this elsewhere please give me credit for the code, ideas ect.)
评论 0
登录后参与评分
还没有评论,来抢沙发吧