追踪对话、分析聊天日志,并确保你的服务器社区安全且充满乐趣。
描述
ChatTracker 监控你服务器上的所有聊天活动,记录带有时间戳和玩家名称的消息,让你始终拥有完整的记录。其 Big Brother 功能会检查消息中是否包含禁止的词汇或短语,标记它们并自动通知在线的管理员。
Staff Chat 允许管理员进行私密沟通,而不会干扰公共聊天频道。
可悬停和点击的报告 允许玩家在游戏中的直接举报不当消息给工作人员。
v1.4 新增:LuckPerms 集成。等级前缀、后缀和颜色直接从 LuckPerms 获取,/setrank 创建真实的临时等级,到期后会自动失效。
ChatTracker 帮助工作人员高效可靠地处理违规行为,并通过增强的消息格式使聊天清晰易读。
特性
- 实时追踪所有玩家的聊天消息。
- LuckPerms 集成 – 从 LuckPerms 获取前缀、后缀以及姓名/消息颜色(可选;无需 LuckPerms 时
config.yml 中的等级配置依然有效)。
- 基于等级的彩色聊天,支持十六进制颜色代码(
&#RRGGBB)。
- 可悬停和点击的报告,用于快速标记不当消息。
- 可点击的处罚选项(警告、踢出、封禁),并附带完整日志记录。
- 记录所有消息、报告和处罚的时间戳,供工作人员审查。
- 使用 Big Brother 系统自动标记不当消息。
- Staff Chat – 专为管理员设计的私密频道,完全实现切换功能。
- 临时等级(
/setrank vip 7d)通过 LuckPerms 自动过期。
- 轻量级且经过性能优化。
- 易于设置,所需配置极少。
路线图
玩家监控
- /check <player> → 显示信息(IP、小号、处罚、报告、最后登录时间)。
- /history <player> → 查看与其相关的所有处罚和报告。
- /seen <player> → 最后登录时间。
工作人员工具
- CommandSpy → 查看玩家正在执行的命令。
- SocialSpy → 查看玩家之间的私聊消息。
- /freeze <player> → 暂时冻结玩家以进行调查。
- Silent Join/Leave → 工作人员登录/登出时无需发出提示。
- Staff Mode → 具有检查员工具的特殊游戏模式(传送、隐身、冻结、随机TP)。
处罚增强
- 限时处罚 → 例如 /ban <player> 7d <reason>。
- 静音系统 → 临时/永久静音并附带原因。
- 警告升级 → X 次警告 = 自动静音/封禁。
- 申诉日志 → 可选系统,将处罚标记为已申诉。
日志与分析
- MySQL / SQLite 支持 → 将处罚/报告存储在数据库中。
- Web 面板支持 → 可选的前端界面,供工作人员审查处罚/报告。
- 导出日志 → 每周/每月生成工作人员活动报告。
玩家保护
- 反小号检测 → 如果相同 IP 的玩家加入,则向工作人员发出警报。
- VPN/代理检测 → 如果使用可疑连接,则提供可选警报。
- 聊天过滤器 → 屏蔽特定词语并向工作人员发出警报(部分已内置)。
生活质量改进
- 报告中可点击的传送(点击玩家名称即可传送)。
- 自定义 GUI 菜单(例如用于处罚、工作人员工具)。
- Discord 集成 → 将报告与处罚发送到工作人员 Discord 频道。
截图与演示
视频展示
点击查看 ChatTracker 的实际操作效果 —— 在游戏中查看工作人员聊天、可悬停的报告以及被标记的消息警报。
截图
游戏中工作人员聊天、可悬停的可点击报告以及被标记消息通知的示例。
安装
- 从此处的版本标签页或 GitHub Releases 下载最新版本。
- 将 ChatTracker
.jar 文件放入服务器的 /plugins 文件夹中。
- 重启服务器。
- 首次运行时会自动生成配置文件。
LuckPerms 集成
当安装了 LuckPerms 时,ChatTracker 会自动接入它。无需额外设置。
如果没有安装 LuckPerms,ChatTracker 将像以前一样使用 config.yml 中的 ranks 部分。设置 luckperms.enabled: false 可在即使安装了 LuckPerms 的情况下也忽略它。
权限
chattracker.use – 使用 /chattracker 命令并举报消息(默认所有人可用)。
chattracker.chatcolor – 在自己的聊天消息中使用 & 颜色代码。
chattracker.view – 允许查看被追踪的聊天日志。
chattracker.moderate – 允许接收被标记的消息警报、报告并发出处罚。
chattracker.staffchat – 访问已完成的工作人员聊天频道。
chattracker.setrank – 允许更改临时等级。
chattracker.admin – 完全访问 ChatTracker 命令,包括重载。
命令
/chattracker – 显示版本信息以及当前激活的权限来源。
/chattracker reload – 重新加载配置文件并重新检查 LuckPerms。
/staffchat <message> – 向所有在线的管理员发送消息(包含切换开关功能)。
/setrank <player> <group> [duration] – 将玩家临时加入某个组。配合 LuckPerms 使用时,这会创建一个真正的临时组(例如 30m、2h、7d、1d12h;默认值在配置文件中设定)。
/resetrank <player> [group] – 移除玩家的临时组。永久组永远不会被修改。
/report <player> <message> – 在游戏中举报某条消息(可通过悬停聊天框进行点击操作)。
/punish <player> <warn|kick|ban> – 执行处罚措施(也提供可点击的按钮选项)。
更新日志
v1.4 (当前版本)
- LuckPerms 集成:当安装 LuckPerms 时,前缀、后缀和颜色将直接取自 LuckPerms。
/setrank 会创建带有持续时间的真正 LuckPerms 临时组;/resetrank 用于移除它们。
- 支持在前缀、后缀和颜色中使用十六进制颜色代码 (
&#RRGGBB)。
- 为组和持续时间添加了自动补全功能。
- 新增
/chattracker reload 命令;setrank 和 resetrank 现在可以从控制台使用。
- 没有
chattracker.chatcolor 权限的玩家不能再在聊天中使用颜色代码。
/report 现在默认允许普通玩家使用。
v1.3
- 新增可点击的处罚措施(警告、踢出、封禁)。
- 实现了完整的处罚记录日志系统。
- 扩展了聊天、举报和处罚的日志系统。
- 优化了管理员工作流程的用户体验。
v1.2
- 实现了可悬停和可点击的消息举报功能。
- 按权限等级对聊天消息进行颜色编码。
- 增强了聊天记录和举报记录的日志系统。
- 提供了用于快速测试或晋升的临时权限覆盖命令。
- 改进了 Staff Chat(管理频道)的切换功能。
v1.1
- 为管理员完全实现了 Staff Chat(管理频道)功能。
- 改进了被标记消息的通知机制。
- 增强了日志格式化和组织结构。
v1.0-BigBrother
- 核心聊天追踪系统。
- 添加了权限系统。
- 提供了用于重新加载和查看日志的命令。
- Big Brother 向管理员发送违禁词警报。
依赖项
PaperMC(最新的推荐构建版本)。无需额外插件。
LuckPerms(可选)用于获取权限组的前缀、颜色和临时组支持。
许可证
本项目采用 MIT 许可证授权。
Track conversations, analyze chat logs, and keep your server community safe and fun.
Description
ChatTracker monitors all chat activity on your server, logging messages with timestamps and player names so you always have a record. Its Big Brother feature checks messages for banned words or phrases, flags them, and notifies online moderators automatically.
Staff Chat lets moderators communicate privately without interfering with public chat.
Hoverable and clickable reports allow players to report inappropriate messages in-game directly to staff.
New in v1.4: LuckPerms integration. Rank prefixes, suffixes, and colors come straight from LuckPerms, and /setrank creates real temporary ranks that expire on their own.
ChatTracker helps staff stay on top of rule-breaking behavior efficiently and reliably, with enhanced message formatting to make chat clear and readable.
Features
- Tracks all player chat messages in real time.
- LuckPerms integration – prefixes, suffixes, and name/message colors pulled from LuckPerms (optional; config.yml ranks work without it).
- Color-coded chat for ranks, including hex colors (
&#RRGGBB).
- Hoverable and clickable reports to quickly flag inappropriate messages.
- Clickable punishments (Warn, Kick, Ban) with full logging.
- Logs all messages, reports, and punishments with timestamps for staff review.
- Flags inappropriate messages automatically using the Big Brother system.
- Staff Chat – private channel for moderators, fully implemented with toggle functionality.
- Temporary ranks (
/setrank vip 7d) that expire automatically via LuckPerms.
- Lightweight and optimized for performance.
- Easy setup with minimal configuration required.
Roadmap
Player Monitoring
- /check <player> → Shows info (IP, alts, punishments, reports, last login).
- /history <player> → See all punishments and reports tied to them.
- /seen <player> → Last online time.
Staff Utilities
- CommandSpy → View commands players are running.
- SocialSpy → View private messages between players.
- /freeze <player> → Temporarily freeze a player for investigation.
- Silent Join/Leave → Staff can log in/out without alerts.
- Staff Mode → Special gamemode with inspector tools (teleport, vanish, freeze, randomTP).
Punishment Enhancements
- Timed Punishments → e.g., /ban <player> 7d <reason>.
- Mute System → Temporary/permanent mute with reasons.
- Warning Escalation → X warnings = auto mute/ban.
- Appeals Log → Optional system to mark punishments as appealed.
Logs & Analytics
- MySQL / SQLite support → Store punishments/reports in a database.
- Web Panel support → Optional frontend for staff to review punishments/reports.
- Export Logs → Generate staff activity reports weekly/monthly.
Player Protection
- Anti-Alt Detection → Alert staff if players with the same IP join.
- VPN/Proxy detection → Optional alerts if suspicious connections are used.
- Chat Filter → Block certain words with staff alerts (already partly in).
Quality of Life
- Clickable Teleports in reports (click player name to teleport).
- Customizable GUI Menus (e.g., for punishments, staff tools).
- Discord Integration → Send reports & punishments to a staff Discord channel.
Screenshots & Demo
Video Showcase
Click to watch ChatTracker in action — see staff chat, hoverable reports, and flagged message alerts in-game.
Screenshots
Examples of Staff Chat, hoverable clickable reports, and flagged message notifications in-game.
Installation
- Download the latest version from the Versions tab here, or from GitHub Releases.
- Place the ChatTracker
.jar file into your server's /plugins folder.
- Restart your server.
- Configuration files will be generated automatically on first run.
LuckPerms Integration
ChatTracker hooks into LuckPerms automatically when it's installed. No extra setup is needed.
Without LuckPerms, ChatTracker uses the ranks section of config.yml exactly as before. Set luckperms.enabled: false to ignore LuckPerms even when it's installed.
Permissions
chattracker.use – Use /chattracker and report messages (everyone by default).
chattracker.chatcolor – Use & color codes in your own chat messages.
chattracker.view – Allows viewing tracked chat logs.
chattracker.moderate – Allows receiving flagged message alerts, reports, and issuing punishments.
chattracker.staffchat – Access to the completed Staff Chat channel.
chattracker.setrank – Allows temporary rank changes.
chattracker.admin – Full access to ChatTracker commands, including reload.
Commands
/chattracker – Shows the version and which rank source is active.
/chattracker reload – Reloads the configuration and re-checks LuckPerms.
/staffchat <message> – Sends a message to all online staff (toggle functionality included).
/setrank <player> <group> [duration] – Temporarily puts a player in a group. With LuckPerms this is a real temporary group (e.g. 30m, 2h, 7d, 1d12h; default set in config).
/resetrank <player> [group] – Removes a player's temporary group(s). Permanent groups are never touched.
/report <player> <message> – Report a message in-game (clickable through hoverable chat).
/punish <player> <warn|kick|ban> – Issue punishments (clickable buttons also available).
Changelog
v1.4 (Current Release)
- LuckPerms integration: prefixes, suffixes, and colors come from LuckPerms when installed.
/setrank creates real LuckPerms temporary groups with a duration; /resetrank removes them.
- Hex color support (
&#RRGGBB) in prefixes, suffixes, and colors.
- Tab completion for groups and durations.
/chattracker reload added; setrank/resetrank now work from console.
- Players can no longer use color codes in chat without
chattracker.chatcolor.
/report now works for regular players by default.
v1.3
- Clickable punishments (Warn, Kick, Ban) added.
- Full punishment logging implemented.
- Expanded logging system for chat, reports, and punishments.
- UX improvements for staff workflow.
v1.2
- Hoverable and clickable message reporting implemented.
- Color-coded chat messages per rank.
- Enhanced chat logging and report logging system.
- Temporary rank override commands for quick testing or promotions.
- Improved Staff Chat toggle functionality.
v1.1
- Staff Chat feature fully implemented for moderators.
- Improved flagged message notifications.
- Enhanced log formatting and organization.
v1.0-BigBrother
- Core chat tracking system.
- Permissions system added.
- Commands for reloading and viewing logs.
- Big Brother flagged word alerts to staff.
Dependencies
PaperMC (latest recommended build). No additional plugins required.
LuckPerms (optional) for rank prefixes, colors, and temporary groups.
License
This project is licensed under the MIT License.
评论 0
登录后参与评分
还没有评论,来抢沙发吧