24 Star 170 Fork 12

柠檬冲水 / xiuxian

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

喵仔修仙插件

这是一款为喵仔设计的修仙插件,使用 ts 和 tsx 进行编写。在使用前,需要进行编译后才能使用

热开发工具效果

部署

  • 安装项目

miao-yunzai 目录

git clone  --depth=1 https://gitee.com/ningmengchongshui/xiuxian-plugin.git ./plugins/xiuxian-plugin
# 进入xiuxian
cd ./plugins/xiuxian-plugin

或者 plugins 目录中执行

cd ./plugins
git clone  --depth=1 https://gitee.com/ningmengchongshui/xiuxian-plugin.git
# 进入xiuxian
cd ./xiuxian-plugin
  • 安装依赖

选择你可以执行的工具进行加载

npm install yarn -g
yarn
# 或者
npm install pnpm -g
pnpm install
# 或者
npm install cnpm -g
cnpm install
  • 执行打包

打包生产 index.js

npm run build

插件识别文件,必须打包后才能生产

更新

  • xiuxian-plugin 目录中执行
git pull
  • 加载更新脚本
npm run update
  • 执行打包
npm run build

开发

  • 启动图片热开发
npm run image:dev

访问地址 http://localhost:8080/message

  • 启动 WEB 管理器
npm run koa:dev
npm run vite:dev

后端地址 http://localhost:9090/api

前端地址 http://localhost:5173/

账户密码 123456

  • 后端负载均衡
npm run koa:build #编译
npm run start #后台运行
npm run kill #杀死进程
  • 前端负载均衡

对项目进行打包后

使用 Nginx 部署 dist 目录即可

npm run build #打包

优势

该仓库使用一系列的现代化开发工具,确保问题能在开发时就能解决!

对于图片的开发,采用了 tsx&koa&nodemon 的结合,不仅能热开发图片,还自制了puppeteer截图工具,确保机器人进行截图时能完美的保持原有效果。

我们更倾向于项目的使用人员是游戏管理员,为此设计的 WEB 管理系统将有利于你更好的运营游戏

商用

该插件允许自由安装修改,插件内的素材部分来自网络,在商用前,请自行替换素材

该仓库有强烈的版权诉求,禁止除作者外,任意以仓库开发成员,团队名义或有损成员权益的行为作为商用噱头

联系

Bot Dev QQ-Group 806943302

Game Play QQ-Group 925976815

The MIT License (MIT) Copyright (c) 2013-present, Yuxi (Evan) You Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

喵仔文字游戏机器人 展开 收起
TypeScript 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/ningmengchongshui/xiuxian-plugin.git
git@gitee.com:ningmengchongshui/xiuxian-plugin.git
ningmengchongshui
xiuxian-plugin
xiuxian
main

搜索帮助