环境准备: Windows or Linux,Node.js( 版本至少 v18 以上 ), Redis
- 克隆项目并安装 genshin miao-plugin
请根据网络情况选择 Github 安装或 Gitee 安装1
2
3
4
5
6
7
8
9
10
11# 使用 Github
git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai
cd Yunzai
git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-genshin plugins/genshin
git clone --depth 1 https://github.com/yoimiya-kokomi/miao-plugin plugins/miao-plugin
# 使用Gitee
git clone --depth 1 https://gitee.com/TimeRainStarSky/Yunzai
cd Yunzai
git clone --depth 1 https://gitee.com/TimeRainStarSky/Yunzai-genshin plugins/genshin
git clone --depth 1 https://gitee.com/yoimiya-kokomi/miao-plugin plugins/miao-plugin- 安装 pnpm,已安装的可以跳过
1
2
3
4
5# 使用npmjs.org安装
npm install pnpm -g
# 指定国内源npmmirror.com安装
npm --registry=https://registry.npmmirror.com install pnpm -g- 安装依赖
1
2
3
4
5
6# 直接安装
pnpm install -P
# 如依赖安装缓慢或失败,可尝试更换国内npm源后再执行install命令
pnpm config set registry https://registry.npmmirror.com
pnpm install -P- 运行
1
node app
5. 启动协议端:受政策影响,暂时不提供连接方式,需要可以搜索OneBotv11协议- 设置主人:发送
#设置主人
,后台日志获取验证码并发送
摘选至 时雨◎星空 / Yunzai