? Name History
警告:由于我懒得动手,这个模组主要是由 AI 生成的,但我希望告知我的用户这一情况。
一款用于查看玩家用户名历史的精美、现代 Minecraft 模组
✨ 特性
? 精美界面
- 现代紫色配色方案,视觉舒适
- 完全自定义颜色 - 更改主题的每个方面以匹配你的风格
- 实时颜色预览 - 在配置屏幕中以网格布局展示
? 强大的查询功能
- 聊天命令 - 通过
/namehistory <username|uuid>快速查询 - 玩家自动补全 - 支持在线玩家名称的 Tab 键补全
- 缓存结果 - 使用可配置的缓存时长实现快速重复查询
- 智能检测 - 自动检测你是按用户名还是 UUID 进行搜索
⚙️ 高度可配置
- ModMenu 集成 - 通过 ModMenu 轻松进行配置
- API 端点 - 连接任何兼容的名称历史 API
- 可选身份验证 - 支持私有服务器的 API 密钥
- 自定义超时设置 - 调整请求超时时间和缓存时长
- 网格布局 - 组织良好的双列颜色配置
? 入门指南
安装
- 安装 Fabric Loader
- 下载并安装 Fabric API
- 下载并安装 Fabric Language Kotlin
- 下载 Name History 的最新版本
- 将
.jar文件放入.minecraft/mods文件夹 - 启动 Minecraft!
用法
命令:
/namehistory <username|uuid> # 查询玩家的历史用户名(支持 Tab 补全)
/namehistory update <query> # 强制更新缓存数据
/namehistory delete <query> # 移除缓存条目
示例:
/namehistory Notch
/namehistory 069a79f4-44e9-4726-a5be-fca90e38aaf5
/namehistory update jeb_
提示: 在 /namehistory 后按下 Tab 键即可从在线玩家名称中自动补全!
⚙️ 配置
模组首次启动时会在 config/namehistory-client.json 创建配置文件。
默认配置
{
"baseUrl": "https://liforra.de/api/namehistory",
"requestTimeoutMs": 8000,
"cacheTtlMinutes": 10,
"apiKey": "",
"apiKeyHeader": "X-API-Key",
"primaryColor": "#9b59d0",
"secondaryColor": "#b388ff",
"specialColor": "#ce93d8",
"errorColor": "#ff6090",
"disabledColor": "#9e9e9e"
}
配置选项
| 选项 | 描述 | 默认值 |
|---|---|---|
baseUrl |
API 端点 URL | https://liforra.de/api/namehistory |
requestTimeoutMs |
请求超时时间(毫秒) | 8000 |
cacheTtlMinutes |
缓存持续时间(分钟) | 10 |
apiKey |
API 密钥(如不需要请留空) | "" |
apiKeyHeader |
API 密钥的 HTTP 头名称 | X-API-Key |
primaryColor |
主 UI 文本颜色 | #9b59d0 |
secondaryColor |
标题与玩家名称颜色 | #b388ff |
specialColor |
历史记录条目颜色 | #ce93d8 |
errorColor |
错误消息颜色 | #ff6090 |
disabledColor |
禁用元素颜色 | #9e9e9e |
使用 ModMenu
如果你安装了 ModMenu:
- 在主菜单中点击“Mods”
- 在列表中找到“Name History”
- 点击配置按钮
- 点击颜色预览框来自定义颜色!
? 从源代码构建
前置条件
- Java 21 或更高版本
- Git
构建步骤
git clone https://github.com/liforra/namehistory-minecraft.git
cd namehistory-minecraft
./gradlew build
编译后的模组将位于 build/libs/name-history-0.1.0.jar。
? API 兼容性
此模组适用于实现以下端点的任何 API:
| 方法 | 端点 | 描述 |
|---|---|---|
GET |
/api/namehistory?username=<username> |
按用户名获取历史记录 |
GET |
/api/namehistory/uuid/<uuid> |
按 UUID 获取历史记录 |
POST |
/api/namehistory/update |
强制更新玩家数据 |
DELETE |
/api/namehistory?username=<username> |
删除缓存条目 |
? 完整 API 文档
- OpenAPI 规范:
openapi.yaml - 详细文档: API.md
响应格式
{
"uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
"query": "Notch",
"history": [
{ "id": 1, "name": "Notch", "changedAt": null, "censored": false }
]
}
? 提示:使用 OpenAPI 规范来生成客户端库或服务端存根。
? 截图
聊天命令输出

配置界面

? 艺术素材与归属
- 本项目使用的紫色图标是 Woolyenough 的项目 “fabric-name-history-lookup” 中
icon.png的修改衍生作品
(Copyright © 2022 Woolyenough),采用 MIT 许可证授权。 - 原始仓库:
- 修改内容:将颜色改为紫色、移除茎部、居中符号,以及为适配主题进行的少量像素调整。
本项目的 ICON_NOTICE.txt 文件中包含了该资产的 MIT 许可证文本和版权声明。
此处不暗示原作者的认可。
? 许可证
本项目采用 GNU Affero General Public License v3.0 (AGPL-3.0) 许可。
详情请参阅 LICENSE。
第三方组件:
- 图标衍生作品:Woolyenough 的 MIT 许可作品(详见
ICON_NOTICE.txt)。
? 贡献
欢迎贡献!您可以:
- 报告错误
- 建议新功能
- 提交拉取请求
- 改进文档
? 鸣谢
由 liforra 用 ? 制作
? Name History
Warning: This mod has been generated mostly with AI as i couldnt be bothered, but I want to inform my users of this.
A beautiful, modern Minecraft mod for viewing player username history
✨ Features
? Beautiful UI
- Modern purple color scheme that's easy on the eyes
- Fully customizable colors - change every aspect of the theme to match your style
- Real-time color preview in the config screen with grid layout
? Powerful Lookup
- Chat Commands - Quick lookups via
/namehistory <username|uuid> - Player Auto-Complete - Tab completion for online player names
- Cached Results - Fast repeated queries with configurable cache duration
- Smart Detection - Automatically detects whether you're searching by username or UUID
⚙️ Highly Configurable
- ModMenu Integration - Easy configuration through ModMenu
- API Endpoint - Connect to any compatible name history API
- Optional Authentication - API key support for private servers
- Customizable Timeouts - Adjust request timeout and cache duration
- Grid Layout - Organized 2-column color configuration
? Getting Started
Installation
- Install Fabric Loader
- Download and install Fabric API
- Download and install Fabric Language Kotlin
- Download the latest release of Name History
- Place the
.jarfile in your.minecraft/modsfolder - Launch Minecraft!
Usage
Commands:
/namehistory <username|uuid> # Look up a player's name history (with tab completion)
/namehistory update <query> # Force update cached data
/namehistory delete <query> # Remove cached entry
Examples:
/namehistory Notch
/namehistory 069a79f4-44e9-4726-a5be-fca90e38aaf5
/namehistory update jeb_
Tip: Press Tab after /namehistory to auto-complete from online player names!
⚙️ Configuration
The mod creates a config file at config/namehistory-client.json on first launch.
Default Configuration
{
"baseUrl": "https://liforra.de/api/namehistory",
"requestTimeoutMs": 8000,
"cacheTtlMinutes": 10,
"apiKey": "",
"apiKeyHeader": "X-API-Key",
"primaryColor": "#9b59d0",
"secondaryColor": "#b388ff",
"specialColor": "#ce93d8",
"errorColor": "#ff6090",
"disabledColor": "#9e9e9e"
}
Configuration Options
| Option | Description | Default |
|---|---|---|
baseUrl |
API endpoint URL | https://liforra.de/api/namehistory |
requestTimeoutMs |
Request timeout in milliseconds | 8000 |
cacheTtlMinutes |
Cache duration in minutes | 10 |
apiKey |
API key (leave empty if not needed) | "" |
apiKeyHeader |
HTTP header name for API key | X-API-Key |
primaryColor |
Main UI text color | #9b59d0 |
secondaryColor |
Headers & player names color | #b388ff |
specialColor |
Name history entries color | #ce93d8 |
errorColor |
Error messages color | #ff6090 |
disabledColor |
Disabled elements color | #9e9e9e |
Using ModMenu
If you have ModMenu installed:
- Click "Mods" from the main menu
- Find "Name History" in the list
- Click the config button
- Customize colors by clicking the color preview boxes!
? Building from Source
Prerequisites
- Java 21 or higher
- Git
Build Steps
git clone https://github.com/liforra/namehistory-minecraft.git
cd namehistory-minecraft
./gradlew build
The compiled mod will be in build/libs/name-history-0.1.0.jar.
? API Compatibility
This mod works with any API that implements the following endpoints:
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/namehistory?username=<username> |
Get history by username |
GET |
/api/namehistory/uuid/<uuid> |
Get history by UUID |
POST |
/api/namehistory/update |
Force update player data |
DELETE |
/api/namehistory?username=<username> |
Delete cached entry |
? Full API Documentation
- OpenAPI Specification:
openapi.yaml - Detailed Documentation: API.md
Response Format
{
"uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
"query": "Notch",
"history": [
{ "id": 1, "name": "Notch", "changedAt": null, "censored": false }
]
}
? Tip: Use the OpenAPI spec to generate client libraries or server stubs.
? Screenshots
Chat Command Output

Configuration Screen

? Artwork and Attribution
- The purple icon used in this project is a modified derivative of
icon.pngfrom the project “fabric-name-history-lookup” by Woolyenough
(Copyright © 2022 Woolyenough), licensed under the MIT License. - Original repository:
- Changes: recoloring to purple, removal of the stem, centering of the glyph, and minor pixel adjustments for the theme.
This project includes the MIT license text and copyright notice for that
asset in ICON_NOTICE.txt.
No endorsement by the original author is implied.
? License
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
See LICENSE for details.
Third‑party components:
- Icon derivative: MIT-licensed work by Woolyenough (see
ICON_NOTICE.txt).
? Contributing
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
- Improve documentation
? Credits
- Built with Fabric
- Written in Kotlin
- Inspired by the need for a beautiful, modern name history viewer
Made with ? by liforra
下载 Name History
下载 Name History
下载 Name History
下载 Name History
下载 Name History
下载 Name History
下载 Name History
下载 Name History
下载 Name History
下载 Name History
移植至 Minecraft 26.x 并添加 CI 构建
更新 Gradle/Loom 及相关依赖以适配 26.x,将客户端代码迁移至官方映射表和新的 GUI API,并添加自动构建及上传 JAR 文件(含发布上传)的工作流。
联合署名:Cursor cursoragent@cursor.com
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧