一个用于 Minecraft 团队协同操作的视野与信标共享系统。目前主要在 Minecraft 1.21.8 Fabric 上进行开发与验证。
1. 核心功能
- 队伍玩家数据同步:同步玩家位置、实体信息以及共享的航点
- 快速信标(Ping):通过快捷键 / 双击中键一键发送信标;支持中键取消、超时清理及数量限制
- 可选 Xaero 集成:
- 与 Xaero Minimap 双向同步共享航点
- 与 Xaero World Map 同步远程玩家追踪
- 可选 JourneyMap 集成:
- 房间隔离:通过
roomCode 分隔大厅,避免相互干扰
推荐的可选安装项:
- Mod Menu(从模组列表直接访问配置)
- Xaero Minimap(航点同步链接)
- Xaero World Map(远程玩家追踪链接)
- JourneyMap(远程玩家追踪链接)
2. 游戏内初始配置
- 进入游戏后,按默认快捷键 O 打开配置面板。
- 默认服务器地址为:
ws://127.0.0.1:8765/mc-client(请修改为您的后端地址)
- 选择房间 ID(默认为
default;仅同一房间内的玩家才能互相看到)
- 点击 Save Server Settings,然后点击 Connect。
3. 基础控制
- O:打开配置面板(默认绑定)
- 连接切换快捷键:默认未绑定——需在控制设置中手动设定
- 快速信标快捷键:默认未绑定——需在控制设置中手动设定
仅在渲染已启用且网络连接已建立时,信标和同步功能才会生效。
4. 显示功能
- 远程玩家边界框
- 视线追踪线
- 友方 / 中立 / 敌方色彩编码系统
- 可切换的信标渲染样式:信标 / 圆环 / 图钉
5. 信标机制
- 快速信标:按下专用的信标快捷键,或启用双击中键发送信标
- 取消信标:单击中键移除准星附近的自己的信标
- 自动移除:当确认目标实体死亡时,本地会自动取消该实体信标
- 数量限制:当玩家超过最大信标数量时,旧信标会被自动清除
6. 配置项
- 主配置:服务器 URL、房间 ID、连接/断开控制
- 显示设置:渲染距离、盒子/追踪线开关、追踪线原点、颜色及信标子设置
- 网络设置:上传频率、实体上传开关、共享航点上传、系统代理
- 信标设置:信标可见性、鼠标中键交互、持久化信标、视觉样式及形状参数
配置文件路径:config/MC-Teamviewer.json(标准 Fabric 配置目录)
版本命名规则
本项目采用双版本号方案,例如 v0.2.1-proto0.3.0:
- 应用版本号:
0.2.1 —— 表示核心功能迭代和程序更新
- 网络协议版本号:
0.3.0 —— 定义跨程序联网的通信协议标准
正常的连接和团队协作要求所有连接的客户端和后端服务之间保持网络协议版本一致或完全匹配。
安装
除了在游戏中安装此模组外,您还需要搭建一个中央服务器,以提供用于同步每位玩家数据的服务器 URL。链接如下:
A vision & ping sharing system for Minecraft team coordinated operations. Currently developed and validated primarily on Minecraft 1.21.8 Fabric.
1. Core Features
- Team Player Data Sync: Synchronize player positions, entity information, and shared waypoints
- Quick Pinging: One-click ping via hotkey / double middle mouse click; support middle-click cancellation, timeout cleanup, and quantity limits
- Optional Xaero Integration:
- Bidirectional shared waypoint sync with Xaero Minimap
- Remote player tracking sync with Xaero World Map
- Optional JourneyMap Integration:
- Share waypoints and display remote players on the map
- Room Isolation: Separate lobbies via
roomCode to avoid cross-interference
Recommended optional installations:
- Mod Menu (direct config access from mod list)
- Xaero Minimap (waypoint sync linkage)
- Xaero World Map (remote player tracking linkage)
- JourneyMap (remote player tracking linkage)
2 In-Game Initial Configuration
- Press the default hotkey O to open the configuration panel after entering the game.
- Default server address:
ws://127.0.0.1:8765/mc-client (modify to your backend address)
- Select a room ID (default:
default; only players in the same room can see each other)
- Click Save Server Settings, then click Connect.
3 Basic Controls
- O: Open configuration panel (bound by default)
- Connection Toggle Hotkey: Unbound by default — set manually in control settings
- Quick Ping Hotkey: Unbound by default — set manually in control settings
Pinging and synchronization functions only take effect when rendering is enabled AND network connection is established.
4. Display Functions
- Remote player bounding boxes
- Tracer lines
- Friendly / Neutral / Enemy color coding system
- Switchable ping render styles: beacon / ring / pin
5. Ping Mechanism
- Quick Ping: Press the dedicated ping hotkey, or enable double middle-click pinging
- Cancel Ping: Single middle-click to remove your own pings near the crosshair
- Auto Removal: Entity pings auto-cancel locally when the target entity death is confirmed
- Quantity Limit: Old pings are automatically cleared when a player exceeds the maximum ping count
6. Configuration Entries
- Main Config: Server URL, room ID, connect / disconnect controls
- Display Settings: Render distance, box/tracer toggles, tracer origin, color & ping sub-settings
- Network Settings: Upload frequency, entity upload toggle, shared waypoint upload, system proxy
- Ping Settings: Ping visibility, middle mouse interactions, persistent pings, visual styles & shape parameters
Config file path: config/MC-Teamviewer.json (standard Fabric config directory)
Version Naming Rules
This project adopts a dual versioning scheme, e.g. v0.2.1-proto0.3.0:
- Application version:
0.2.1 — indicates core feature iterations and program updates
- Network protocol version:
0.3.0 — defines the communication protocol standard for cross-program networking
Normal connection and team collaboration require consistent or fully matching network protocol versions across all connected clients and backend services.
Install
In addition to installing this mod in the game, you also need to set up a central server to provide a server URL for synchronizing every player's data. The link is as follows:
评论 0
登录后参与评分
还没有评论,来抢沙发吧