Srvpro
A server for YGOPro
Install / Use
/learn @mycard/SrvproREADME
SRVPro
一个YGOPro服务器。
现用于萌卡,YGOPro 233服和YGOPro Koishi服。
支持功能
- Linux上运行
- Windows上运行
- 玩家输入同一房名约战
- 玩家不指定房间名,自动匹配在线玩家
- 房间列表json
- 广播消息
- 召唤台词
- 先行卡一键更新
- WindBot在线AI
- 萌卡用户登陆
- 竞赛模式锁定玩家卡组
- 竞赛模式后台保存录像
- 竞赛模式自动加时赛系统(规则可调)
- 0 正常加时赛规则
- 1 YGOCore战队联盟第十二届联赛使用规则
- 2 正常加时赛规则 + 1胜规则
- 3 2018年7月适用的OCG/TCG加时赛规则
- 断线重连
不支持功能
- 在线聊天室
使用方法
-
可参考wiki安装
-
手动安装:
git clone https://github.com/moecube/srvpro.gitcd srvpronpm install- 安装修改后的YGOPro服务端:https://github.com/moecube/ygopro/tree/server
-
node ygopro-server.js即可运行 -
简易的控制台在 http://srvpro.ygo233.com/dashboard.html 或 http://srvpro-cn.ygo233.com/dashboard.html
-
使用本项目的Docker镜像: https://hub.docker.com/r/mycard/ygopro-server/
-
镜像标签
mycard/ygopro-server:latest: 完整镜像mycard/ygopro-server:lite: 基本镜像,云录像和人机对战功能需要配合redis和nanahira/windbot这两个镜像使用。
-
端口
7911: YGOPro端口7922: 管理后台端口
-
数据卷
/ygopro-server/config: SRVPro配置文件数据卷/ygopro-server/ygopro/expansions: YGOPro额外卡片数据卷/ygopro-server/decks: 竞赛模式卡组数据卷/ygopro-server/replays: 竞赛模式录像数据卷
-
若使用竞赛模式启动服务器,建议把启动命令修改为
pm2-docker start /ygopro-server/data/pm2-docker-tournament.js。
-
高级功能
- 待补充说明
- 简易的先行卡更新控制台在 http://srvpro.ygo233.com/pre-dashboard.html 或 http://srvpro-cn.ygo233.com/pre-dashboard.html
开发计划
- 重做CTOS和STOC部分
- 模块化附加功能
- 房名代码
- 随机对战
- 召唤台词
- WindBot
- 云录像
- 比赛模式
- 先行卡更新
- 用户账号系统和管理员账号系统
- 云录像更换存储方式
TODO
- refactoring CTOS and STOC
- change features to modules
- room name parsing
- random duel
- summon dialogues
- WindBot
- cloud replay
- tournament mode
- expansions updater
- user and admin account system
- new database for cloud replay
License
SRVPro
Copyright (C) 2013-2018 MoeCube Team
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
