MinemenAutoStats
概述
MinemenAutoStats 是一款轻量级的客户端 Minecraft Fabric 模组,当满足特定条件时会自动执行 /stats 命令。它通过监控游戏内的标题和聊天消息来检测对手,并自动获取其统计数据。
功能
- 自动标题检测:监控所有标题和副标题中的触发模式
- 智能聊天分析:扫描最近的聊天消息以获取对手信息
- 自动命令执行:自动执行
/stats [玩家名称] 命令
- 多格式支持:处理各种对手显示格式,包括排名和延迟信息
- 性能友好:仅存储最后 50 条聊天消息
- 仅限客户端:无需服务器端修改,适用于任何 Fabric 服务器
工作原理
- 触发检测:模组会监听包含
:text :4 的标题
- 聊天扫描:触发后,扫描最近 50 条聊天消息
- 对手提取:查找包含 "Opponent: [玩家名称]" 的消息
- 命令执行:自动运行
/stats [提取的玩家名称]
支持的格式
模组可识别以下多种对手名称格式:
Opponent: PlayerName
● Opponent: PlayerName ● Ping: 45 ms
Opponent: PlayerName (Platinum II)
Opponent: PlayerName - Diamond III
- 包含对手信息的多行比赛报告
安装
- 为 Minecraft 1.21.4 安装 Fabric Loader
- 从 Modrinth 下载最新的 MinemenAutoStats jar 文件
- 将 jar 文件放入
.minecraft/mods 文件夹
- 使用 Fabric 配置文件启动 Minecraft
要求
- Minecraft: 1.21.4
- Fabric Loader: 0.15.11 或更高版本
- Fabric API: (推荐)
配置
目前通过代码进行配置——如需修改,请更改源代码中的触发模式:
- 默认触发器:标题中的
:text :4
- 查找:聊天中的
Opponent: 前缀
- 存储:最后 50 条聊天消息
使用方法
- 加入一个显示带有
:text :4 标题的服务器
- 当你看到触发标题时,模组会自动:
- 扫描最近的聊天以查找对手名称
- 对找到的对手执行
/stats 命令
- 像往常一样查看对手的统计数据
技术细节
- 模组 ID:
minemenautostats
- 环境:仅限客户端
- 副作用:每检测到一名对手发送一条
/stats 命令
- 性能:影响极小——仅在显示标题时激活
开发
源代码可在 GitHub 上找到。构建工具:
- Fabric Loader 0.15.11
- Minecraft 1.21.4
- 官方 Mojang 映射
支持与问题反馈
请在 GitHub 上报告问题。请包含以下内容:
- Minecraft 版本
- 模组版本
- 服务器类型(如适用)
- 显示对手格式的聊天日志
- 日志中的任何错误消息
隐私
- 无数据收集:模组不会向外部服务器发送任何数据
- 本地处理:所有聊天扫描均在你的客户端本地进行
- 仅命令:仅发送标准的 Minecraft
/stats 命令
更新日志
v1.0.0
- 首次发布,适用于 Minecraft 1.21.4
- 基本的标题检测和聊天扫描
- 自动执行
/stats 命令
- 支持多种对手名称格式
许可证
MIT License — 详情请参阅 LICENSE 文件
致谢
- 专为 Minemen 社区开发
- 基于 FabricMC 构建
- 灵感来源于对自动统计追踪的需求
注意:此模组旨在增强合法游戏体验。它不提供任何不公平的优势,仅自动化玩家通常手动输入的命令。
MinemenAutoStats
Overview
MinemenAutoStats is a lightweight client-side Minecraft Fabric mod that automatically executes /stats commands when specific conditions are met. It monitors in-game titles and chat messages to detect opponents and automatically fetches their statistics.
Features
- Automatic Title Detection: Monitors all titles and subtitles for trigger patterns
- Smart Chat Analysis: Scans recent chat messages for opponent information
- Automatic Command Execution: Executes
/stats [playername] commands automatically
- Multi-Format Support: Handles various opponent display formats including ranks and ping information
- Performance Friendly: Only stores the last 50 chat messages
- Client-Side Only: No server modifications required, works on any Fabric server
How It Works
- Trigger Detection: The mod watches for titles containing
:text :4
- Chat Scanning: When triggered, it scans the last 50 chat messages
- Opponent Extraction: Looks for messages containing "Opponent: [playername]"
- Command Execution: Automatically runs
/stats [extracted-playername]
Supported Formats
The mod recognizes opponent names in various formats:
Opponent: PlayerName
● Opponent: PlayerName ● Ping: 45 ms
Opponent: PlayerName (Platinum II)
Opponent: PlayerName - Diamond III
- Multi-line match reports with opponent information
Installation
- Install Fabric Loader for Minecraft 1.21.4
- Download the latest MinemenAutoStats jar from Modrinth
- Place the jar file in your
.minecraft/mods folder
- Launch Minecraft with Fabric profile
Requirements
- Minecraft: 1.21.4
- Fabric Loader: 0.15.11 or newer
- Fabric API: (recommended)
Configuration
Currently configured via code - modify trigger patterns in the source if needed:
- Default trigger:
:text :4 in titles
- Looks for:
Opponent: prefix in chat
- Stores: Last 50 chat messages
Usage
- Join a server where titles with
:text :4 are displayed
- When you see the trigger title, the mod automatically:
- Scans recent chat for opponent names
- Executes
/stats for the found opponent
- View the opponent's statistics as usual
Technical Details
- Mod ID:
minemenautostats
- Environment: Client-side only
- Side Effects: Sends one
/stats command per detected opponent
- Performance: Minimal impact - only activates on title display
Development
Source code available on GitHub. Built with:
- Fabric Loader 0.15.11
- Minecraft 1.21.4
- Official Mojang mappings
Support & Issues
Report issues on GitHub. Include:
- Minecraft version
- Mod version
- Server type (if applicable)
- Chat logs showing the opponent format
- Any error messages from logs
Privacy
- No Data Collection: The mod doesn't send any data to external servers
- Local Processing: All chat scanning happens locally on your client
- Command Only: Only sends standard Minecraft
/stats commands
Changelog
v1.0.0
- Initial release for Minecraft 1.21.4
- Basic title detection and chat scanning
- Automatic
/stats command execution
- Support for various opponent name formats
License
MIT License - see LICENSE file for details
Credits
- Developed for the Minemen community
- Built with FabricMC
- Inspired by automatic stat tracking needs
Note: This mod is designed for legitimate gameplay enhancement. It does not provide any unfair advantages and only automates commands that players would normally type manually.
评论 0
登录后参与评分
还没有评论,来抢沙发吧