# data **Repository Path**: devil233/data ## Basic Information - **Project Name**: data - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-04-02 - **Last Updated**: 2025-04-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 下载器 js 使用方法【 发送 #摩拉攻略帮助 查看帮助 】 ## 本下载器需配合 [mora-plugin](https://gitee.com/Rrrrrrray/mora-plugin) 使用 ### 本地版下载器,无需手动填入token,指令执行。 在 Miao-Yunzai 或 TRSS-Yunzai 根目录下执行并重启【 发送 #摩拉攻略帮助 查看帮助 】 ```sh curl -o "./plugins/example/LocalStrategyMaterialDownloader.js" "https://gitee.com/mingdiandianzhu/data/raw/master/local/LocalStrategyMaterialDownloader.js" pnpm add -w js-yaml ./plugins/example ``` 如果装有 TRSS-plugin , 可发送如下指令给机器人并重启【 发送 #摩拉攻略帮助 查看帮助 】 ```sh rcp curl -o "./plugins/example/LocalStrategyMaterialDownloader.js" "https://gitee.com/mingdiandianzhu/data/raw/master/local/LocalStrategyMaterialDownloader.js" rcp pnpm add -w js-yaml ./plugins/example ``` 注:建议修改`plugins/example/package.json`防掉依赖。 ```sh { "name": "example", "type": "module", "dependencies": { "js-yaml": "*" } } ``` ### 预估js 在 Miao-Yunzai 或 TRSS-Yunzai 根目录下执行 ```sh curl -o "./plugins/example/原石星琼邦布水晶预估(取图版).js" "https://gitee.com/mingdiandianzhu/data/raw/master/mhyfourpredict.js" ``` 如果装有 TRSS-plugin , 可发送如下指令给机器人 ```sh rcp curl -o "./plugins/example/原石星琼邦布水晶预估(取图版).js" "https://gitee.com/mingdiandianzhu/data/raw/master/mhyfourpredict.js" ``` ### 喵喵资源下载器 【发送 #更新喵喵资源 】 在 Miao-Yunzai 或 TRSS-Yunzai 根目录下执行 ```sh curl -o "./plugins/example/resourcedownloads.js" "https://gitee.com/mingdiandianzhu/data/raw/master/resourcedownloads.js" ``` 如果装有 TRSS-plugin , 可发送如下指令给机器人 ```sh rcp curl -o "./plugins/example/resourcedownloads.js" "https://gitee.com/mingdiandianzhu/data/raw/master/resourcedownloads.js" ``` # 摩拉插件攻略图库(以下预计废弃) ## data使用方法 ### 步骤一 ### 提醒:如果 mora-plugin 内已存在 data 文件夹, 会出现 fatal: destination path 'data' already exists and is not an empty directory. #### 以下二选一执行 ```sh #在 Miao-Yunzai 或 TRSS-Yunzai 根目录下执行 git clone https://gitee.com/mingdiandianzhu/data.git ./plugins/mora-plugin/ ``` ```sh #在 mora-plugin 根目录下执行 git clone https://gitee.com/mingdiandianzhu/data.git ``` ### 如果出现 fatal: destination path 'data' already exists and is not an empty directory. ①更换文件夹执行第二个指令,然后移动到 mora-plugin 里面即可 ②删除 mora-plugin中的data ,然后执行命令 ### 步骤二( 多攻略源提高容错 ) 将 [data/user](https://gitee.com/mingdiandianzhu/data/tree/master/user) 文件夹内的 **[roleGuides.yaml](https://gitee.com/mingdiandianzhu/data/blob/master/user/roleGuides.yaml)** 、**[srRoleGuides.yaml](https://gitee.com/mingdiandianzhu/data/blob/master/user/srRoleGuides.yaml)** 、**[zzzRoleGuides.yaml](https://gitee.com/mingdiandianzhu/data/blob/master/user/zzzRoleGuides.yaml)** 三个yaml文件移动至 **plugins/mora-plugin/config/user** 中 【yaml中的攻略源可自行选择删除】 **如果只需要一张攻略图,文件中保留一个攻略源即可** ## js使用方法 ### 自写攻略.js(用于未更新角色数据或未实装角色) 使用方法 【可直接使用,已适配测试服攻略路径】 该js放置于 plugins/example/ ### 如果要适配摩拉插件,请按照如下方法操作【注意:记忆主攻略改名为 穹·记忆.jpg ,使用本库的 改名为 记忆主.jpg 】 将攻略合集中的图片放置到如下路径,自行改名为 角色名.jpg 原神:放置于 Yunzai/plugins/mora-plugin/data/roleGuides/作者名/ 崩坏:星穹铁道:放置于 Yunzai/plugins/mora-plugin/data/roleGuides/作者名/StarRail/ 绝区零:放置于 Yunzai/plugins/mora-plugin/data/roleGuides/作者名/ZenlessZoneZero/ ### roleGuide.js 【 测试中,有问题提issue加日志 】(放置于mora-plugin/model,重启) #### 功能新增:优化原神主角别名;增加星铁未实装角色别名;增加绝区零角色别名 别名提供 2 种方法 **【推荐网页别名,适配快,不用手动更新】** 1.本地别名:需要更新data(此仓库):正确安装本地版下载器后,执行`#更新仓库`(初始化即可,后续将由定时任务执行) 2.网页别名:需要gitcode的个人令牌(请前往[token-classic](https://gitcode.com/setting/token-classic)获取个人令牌) 作用是在原有的攻略最前面加一个材料图片(材料图片来自花佬的[图鉴插件](https://gitee.com/Nwflower/atlas)) 原神材料图片放置于 plugins/Atlas/Genshin-Atlas/material for role/角色名.png 材料图片来源 [HoYo青枫](https://www.miyoushe.com/ys/accountCenter/postList?id=285802042) [冰是真的菜QAQ](https://www.miyoushe.com/ys/accountCenter/collectionList?id=74642625) # 特别致谢以下作者(非排名) | 作者 | | 攻略方向 | | ------ | ----- | ----- | | **有授权,更新攻略图** | | | | [祈鸢ya](https://www.miyoushe.com/ys/accountCenter/postList?id=137101761) | 米游社2022年度创作者、攻略作者、游戏领域作者 | 崩坏:星穹铁道 | | [Asgater](https://www.miyoushe.com/ys/accountCenter/postList?id=79695828) | 米游社2023年度创作者、攻略作者、观测者 | 原神、崩坏:星穹铁道、绝区零 | | [紫喵Azunya](https://www.miyoushe.com/ys/accountCenter/postList?id=75596302) | 米游社2023年度创作者、攻略作者、无名客 | 崩坏:星穹铁道、绝区零 | | **无授权,提供攻略源** | | | | [O丶Ha丶Yo](https://www.miyoushe.com/ys/accountCenter/postList?id=255079205) | 米游社2022年度创作者、攻略作者、观测者 |原神、崩坏:星穹铁道、绝区零 | | [HoYo青枫](https://www.miyoushe.com/ys/accountCenter/postList?id=285802042) | 攻略作者、观测者、百日创作者 | 原神、崩坏:星穹铁道、绝区零 | | [猫冬](https://www.miyoushe.com/ys/accountCenter/postList?id=74019947) | 米游社2023年度创作者、攻略作者、观测者 | 原神、绝区零 | | [荧岁镇太辰](https://www.miyoushe.com/ys/accountCenter/postList?id=176897769) | 观测者、攻略作者、绳网管理员 | 原神 | | [让我摸个鱼吧Moyu](https://www.miyoushe.com/ys/accountCenter/postList?id=352759746) | 米游社2023频道创作之星、攻略作者、无名客 | 崩坏:星穹铁道 | | [小橙子阿](https://www.miyoushe.com/ys/accountCenter/postList?id=73603011) | 米游社2023频道创作之星、攻略作者、游戏领域作者 | 崩坏:星穹铁道、绝区零 | | [听语惊花](https://www.miyoushe.com/ys/accountCenter/postList?id=289918413) | 攻略作者、无名客、观测者 | 崩坏:星穹铁道 | | [水云109](https://www.miyoushe.com/ys/accountCenter/postList?id=367516107) | 攻略作者、无名客、游戏领域作者 | 崩坏:星穹铁道、绝区零 | | [清茶沐沐Kiyotya](https://www.miyoushe.com/ys/accountCenter/postList?id=327957755) | 攻略作者 | 绝区零 | | [苦雪的清心花凉糕Suki](https://www.miyoushe.com/ys/accountCenter/postList?id=294465423) | 游戏领域作者、绳网管理员、攻略作者 | 绝区零 | | [婧枫赛赛](https://www.miyoushe.com/ys/accountCenter/postList?id=291807198) | 攻略作者 | 原神 | | [流曳](https://www.miyoushe.com/ys/accountCenter/postList?id=5599856) | 游戏领域作者 | 原神 | | [星穹中心](https://www.miyoushe.com/ys/accountCenter/postList?id=368830308) | 攻略作者、星学家、同人视频作者 | 崩坏:星穹铁道 | | [风伤幽冥](https://www.miyoushe.com/ys/accountCenter/postList?id=164862578) | 游戏领域作者、攻略作者 | 崩坏:星穹铁道 | | [清酒微殇](https://www.miyoushe.com/ys/accountCenter/postList?id=380119074) | | 崩坏:星穹铁道 |