feat: FunConnect v1.0.0 - Minecraft联机平台完整版

- server: Node.js TCP中继服务器,支持多节点集群
- web: React管理面板(仪表盘、房间管理、节点管理)
- client: Electron桌面客户端(连接、创建/加入房间、本地代理)
- deploy: Ubuntu一键部署脚本
This commit is contained in:
FunMC
2026-02-22 23:33:00 +08:00
commit b17679cec6
44 changed files with 13783 additions and 0 deletions

31
server/.env.example Normal file
View File

@@ -0,0 +1,31 @@
# FunMC Relay Server Configuration
# Relay TCP port for Minecraft traffic
RELAY_PORT=25565
# HTTP API port
API_PORT=3000
# Node identification
NODE_ID=
NODE_NAME=relay-node-1
# Master node configuration
IS_MASTER=true
MASTER_URL=http://master-host:3000
# Security
SECRET=your-secret-key-here
# Limits
MAX_ROOMS=100
MAX_PLAYERS_PER_ROOM=20
# Heartbeat interval in ms
HEARTBEAT_INTERVAL=10000
# Logging
LOG_LEVEL=info
# Public host (for worker nodes to report to master)
PUBLIC_HOST=0.0.0.0