{"id":47979263,"url":"https://github.com/stackc00ki3/koishi-plugin-uhluhtc","last_synced_at":"2026-04-04T11:01:23.966Z","repository":{"id":344426118,"uuid":"1180654374","full_name":"StackC00ki3/koishi-plugin-uhluhtc","owner":"StackC00ki3","description":"NetHack information query plugin for Koishi","archived":false,"fork":false,"pushed_at":"2026-03-26T03:48:03.000Z","size":45351,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-27T00:36:18.107Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StackC00ki3.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-13T09:12:12.000Z","updated_at":"2026-03-26T03:48:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f954dea-108a-457e-a4b8-6480d477ec4b","html_url":"https://github.com/StackC00ki3/koishi-plugin-uhluhtc","commit_stats":null,"previous_names":["stackc00ki3/koishi-plugin-uhluhtc"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/StackC00ki3/koishi-plugin-uhluhtc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackC00ki3%2Fkoishi-plugin-uhluhtc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackC00ki3%2Fkoishi-plugin-uhluhtc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackC00ki3%2Fkoishi-plugin-uhluhtc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackC00ki3%2Fkoishi-plugin-uhluhtc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StackC00ki3","download_url":"https://codeload.github.com/StackC00ki3/koishi-plugin-uhluhtc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackC00ki3%2Fkoishi-plugin-uhluhtc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31397056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-04T11:00:51.254Z","updated_at":"2026-04-04T11:01:23.804Z","avatar_url":"https://github.com/StackC00ki3.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koishi-plugin-uhluhtc\n\n[![npm](https://img.shields.io/npm/v/koishi-plugin-uhluhtc?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-uhluhtc)\n\nNetHack information query plugin for Koishi\n\n## 功能\n\n- [x] 查询 nethack 怪物图鉴\n- [ ] 查询 nethack 物品图鉴 (龙龙)\n- [x] 支持 nethack 中英怪物名互译\n- [x] 支持检索 nethack分支的怪物\n- [x] 支持生成怪物赛跑 GIF\n- [x] 神谕 (龙龙) \n- [x] 幸运🍪 (乐九,龙龙)\n- [x] nh小贴士 (龙龙)\n- [ ] 漂流瓶 (乐九,龙龙)\n\n## 安装\n\n在 koishi 插件市场中搜索 uhluhtc 插件安装\n\n安装后启用插件即可，无需额外配置\n\n## 命令\n\n### 1. 帮助\n\n- 卢克\n\n显示插件帮助信息。\n\n### 2. 查询怪物贴图\n\n- 查询怪物贴图 \u003c名称\u003e\n\n示例：\n\n- 查询怪物贴图 fox\n- 查询怪物贴图 巨蚁\n\n### 3. 查询怪物\n\n- 查询怪物 \u003c名称\u003e\n\n行为：\n\n- 输入中文名时：默认在nethack3.6.x中查询并发送怪物卡片\n- 输入英文名时：在所有nh分支中搜索，返回可查询的分支列表\n\n示例：\n\n- 查询怪物 巨蚁\n- 查询怪物 fox\n\n### 4. 查询怪物详细信息\n\n格式：\n\n- #\u003c分支简称\u003e?\u003c怪物英文名或中文名\u003e\n\n示例：\n\n- #v?fox\n- #u?giant ant\n- #x?巨蚁\n\n### 5. 翻译怪物名称\n\n- 翻译 \u003c文本\u003e\n\n行为：\n\n- 输入英文文本时：将已识别怪物名翻译为中文\n- 输入中文文本时：将已识别怪物名翻译为英文\n\n示例：\n\n- 翻译 giant ant\n- 翻译 狐狸\n\n### 6. 怪物赛跑 GIF\n\n- 怪物赛跑 \u003c怪物1,怪物2,...\u003e\n\n说明：\n\n- 至少需要 2 个怪物\n- 默认按 v 分支解析怪物名\n- 支持使用 分支?怪物名 指定分支\n\n示例：\n\n- 怪物赛跑 狐狸,wolf,dog\n- 怪物赛跑 u?fox,v?wolf,x?dog\n\n### 7. 幸运饼干\n\n- 幸运饼干\n\n别名：\n\n- 幸运曲奇\n- 吃饼干\n- 吃曲奇\n\n行为：\n\n- 抽取幸运饼干签文\n\n### 8. 神谕\n\n- 神谕\n\n行为：\n\n- 抽取一条神谕文本\n\n### 9. nh小贴士\n\n行为：\n\n- 当聊天消息命中内置 tips 关键词后，开始倒计时 10 分钟\n- 若 10 分钟内该会话无人发言，自动推送一条命中关键词的小贴士\n- 若命中多条，则随机抽取一条发送\n\n\n## 分支简称\n\n当前内置数据集包含以下nethack分支：\n\n| 分支名 | 简称 |\n| --- | --- |\n| Brass | b |\n| CrecelleHack | c |\n| Dnethack | d |\n| EvilHack | e |\n| Fourk | 4k |\n| GruntHack | g |\n| Hackem | h |\n| Notdnethack | n |\n| Notnotdnethack | nn |\n| SlashEM | l |\n| SlashTHEM | lt |\n| SpliceHack | sp |\n| SporkHack | s |\n| UnNetHack | u |\n| UnNetHackPlus | u+ |\n| Vanilla | v |\n| Vanilla343 | V |\n| XNetHack | x |\n\n## 配置\n\n**仅供硬核用户，本插件无需进行任何配置即可使用**\n\n插件提供以下配置项：\n\n- useBuiltinData: 是否使用内置数据库，默认 true\n- dataPath: 自定义数据库目录，默认 ./data/uhluhtc（仅在 useBuiltinData 为 false 时生效）\n- enabledGroupIds: 生效QQ群号白名单（字符串数组），留空表示全部群聊生效\n\n说明：\n\n- 开启 useBuiltinData 时，直接使用插件内置的 monsterDB 与 tiles 资源。\n- 关闭 useBuiltinData 时，插件会尝试使用 dataPath 目录，并在目录不存在时自动创建。\n- 若使用自定义数据，请将怪物 YAML 数据, tilesets, fonts 等放入 dataPath。怪物数据来源可参考：\n\thttps://github.com/UnNetHack/pinobot/tree/master/variants\n\n## 致谢\n\n乐九：幸运曲奇，漂流瓶\n\n龙龙：nethack 物品数据，神谕，幸运曲奇，漂流瓶，小贴士\n\npinobot: nethack 原版及分支的怪物数据\n\n\n## 许可证\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackc00ki3%2Fkoishi-plugin-uhluhtc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackc00ki3%2Fkoishi-plugin-uhluhtc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackc00ki3%2Fkoishi-plugin-uhluhtc/lists"}