
TeamsHUDPlus
一款用于无缝团队管理和实时队友 HUD 覆盖层的 Minecraft 模组。
TeamsHUDPlus 是原版 TeamsHUD 和 Teams 模组的延续与扩展,提供以下功能:
- 直观的团队创建与管理
- 视觉罗盘与状态 HUD
- 服务器强制执行限制及迁移辅助工具
我已向 TeamsHUD 仓库提交了关于额外功能的 PR(Pull Request)。如果这些功能被合并到上游仓库,我可能会归档此项目以减少版本分散。
用户指南
功能特性
团队管理
- 创建和管理团队:与其他玩家组建并管理团队
- 玩家邀请:通过 Toast 通知发送/接受团队邀请
- 加入请求:申请加入现有团队
- 团队权限:分配具有管理权限的队长
- 移除玩家:移除玩家(需具备相应权限)
HUD 元素
- 罗盘 HUD:显示队友位置/距离的视觉罗盘
- 状态 HUD:实时显示队友的生命值和饥饿值
- 可配置检测距离:设置队友的检测范围
- 切换可见性:随时启用/禁用 HUD 元素
- 服务器强制罗盘限制:管理员可设置最大检测范围
迁移与兼容性
- 自动配置迁移:首次启动时复制旧版 Teams 的配置
按键绑定
- 接受 (
]):接受邀请/请求
- 拒绝 (
[):拒绝邀请/请求
- 切换 HUD (
B):显示/隐藏罗盘和状态 HUD
- 切换 HUD 锁定 (
L):锁定/解锁 HUD 位置(拖拽模式)
HUD 自定义
- 锁定/解锁 HUD:按
L 或使用 Teams 菜单
- 解锁时可拖拽覆盖层(白色边框)
- 点击/拖拽以重新定位;按
ESC/L 锁定
- 缩放 HUD 元素:0.1x–3.0x(可配置)
- 在配置文件中调整
statusOverlayScale/compassOverlayScale
- 位置持久化:HUD 位置和缩放比例保存至配置文件
- 拖拽模式提示:拖拽时显示绿色指示器;覆盖层独立移动
配置选项
配置分为 服务器端(管理员)和 客户端(用户)设置。大多数选项可在游戏内的模组配置菜单中找到,也可作为 TOML 文件使用。
服务器端(由管理员控制,影响所有玩家)
show_invisible_teammates(默认:true):允许隐身状态下互相看见队友
friendly_fire_enabled(默认:false):允许队友之间互相伤害
name_tag_visibility(默认:ALWAYS):控制团队名称标签的可见时机
colour(默认:BOLD):团队颜色格式
death_message_visibility(默认:ALWAYS):控制死亡消息的显示时机
collision_rule(默认:PUSH_OWN_TEAM):设置团队成员之间的碰撞规则
sync_advancements(默认:true):同步团队成员间的进度
max_compass_detection_distance(默认:512,最小:16,最大:2048):允许的最大罗盘检测距离(客户端不能超过此值)
客户端(每个用户独立,视觉和 HUD 选项)
enable_compass_hud(默认:true):显示/隐藏罗盘 HUD
enable_status_hud(默认:true):显示/隐藏状态 HUD
toast_duration(默认:5):团队 Toast 通知持续时间(秒)
show_hunger(默认:true):显示其他队友的饥饿条
compass_detection_distance(默认:128,最小:16,最大:1024):罗盘 HUD 的最大检测距离(不能超过服务器最大值)
HUD 位置:
status_overlay_x / status_overlay_y(默认:-1):状态 HUD 的 X/Y 坐标(-1 = 默认/自动)
compass_overlay_x / compass_overlay_y(默认:-1):罗盘 HUD 的 X/Y 坐标(-1 = 默认/自动)
status_overlay_scale(默认:1.0,最小:0.1,最大:3.0):状态 HUD 的缩放比例
compass_overlay_scale(默认:1.0,最小:0.1,最大:3.0):罗盘 HUD 的缩放比例
距离计数器:
show_teammate_distance(默认:false):在队友名字旁显示与其的距离
teammate_distance_update_frequency(默认:20,最小:1,最大:200):更新队友距离的频率(以刻为单位)
distance_only_within_compass_range(默认:false):仅在队友处于罗盘检测范围内时显示距离
安装
步骤
- 下载适用于 Forge 或 Fabric 的正确版本
- 将 JAR 文件放入
mods 文件夹
- 使用所选加载器启动 Minecraft
- 在游戏选项中配置按键绑定/设置
使用方法
创建团队
- 打开团队屏幕
- 使用自定义名称创建团队
- 通过用户名邀请玩家
加入团队
- 收到团队邀请(Toast 通知)
- 按
] 接受,按 [ 拒绝
管理团队成员
使用 HUD
- 指南针 HUD:显示队友的方向
- 状态 HUD:实时显示生命值/饥饿值以及队友距离(距离显示在名称旁边,例如
PlayerName - 123m)
- 按
B 键切换 HUD,可在模组设置中进行配置
作者
- XxInvictus (TeamsHUDPlus)
- Tfarcenim (Teams)
- CommodoreThrawn (Teams)

TeamsHUDPlus
A Minecraft mod for seamless team management and real-time teammate HUD overlays.
TeamsHUDPlus is a continuation and expansion of the original TeamsHUD and Teams mods, providing:
- Intuitive team creation and management
- Visual compass and status HUDs
- Server-enforced limits and migration helpers
I have raised a PR for the additional features with the TeamsHUD repo and I may still archive this if they get merged upstream to reduce too many versions floating around
User Guide
Features
Team Management
- Create and manage teams: Form and manage teams with other players
- Player invitations: Send/accept team invites via toast notifications
- Join requests: Request to join existing teams
- Team permissions: Assign leaders with management rights
- Player kicking: Remove players (with permission)
HUD Elements
- Compass HUD: Visual compass showing teammate locations/distances
- Status HUD: Real-time teammate health and hunger
- Configurable detection distance: Set how far teammates are detected
- Toggle visibility: Enable/disable HUD elements on the fly
- Server-enforced compass limits: Admins can set max detection range
Migration & Compatibility
- Automatic config migration: Copies legacy Teams configs on first launch
Keybindings
- Accept (
]): Accept invites/requests
- Reject (
[): Reject invites/requests
- Toggle HUD (
B): Show/hide compass and status HUD
- Toggle HUD Lock (
L): Lock/unlock HUD positioning (drag mode)
HUD Customization
- Lock/Unlock HUD: Press
L or use Teams menu
- Drag overlays when unlocked (white borders)
- Click/drag to reposition; press
ESC/L to lock
- Scale HUD elements: 0.1x–3.0x (configurable)
- Adjust
statusOverlayScale/compassOverlayScale in config
- Position persistence: HUD positions/scales saved to config
- Drag mode tips: Green indicator when dragging; overlays move independently
Configuration Options
Configuration is split into Server (admin) and Client (user) settings. Most options are available in the in-game mod config menu or as TOML files.
Server (admin-controlled, affects all players)
show_invisible_teammates (default: true): Allow teammates to see each other when invisible
friendly_fire_enabled (default: false): Allow teammates to damage each other
name_tag_visibility (default: ALWAYS): Control when team name tags are visible
colour (default: BOLD): Team color formatting
death_message_visibility (default: ALWAYS): Control when death messages are shown
collision_rule (default: PUSH_OWN_TEAM): Set collision rules for team members
sync_advancements (default: true): Sync advancements between team members
max_compass_detection_distance (default: 512, min: 16, max: 2048): Maximum allowed compass detection distance (clients cannot exceed this)
Client (per-user, visual and HUD options)
enable_compass_hud (default: true): Show/hide the compass HUD
enable_status_hud (default: true): Show/hide the status HUD
toast_duration (default: 5): Duration of team toast notifications (seconds)
show_hunger (default: true): Show other team members' hunger bars
compass_detection_distance (default: 128, min: 16, max: 1024): Maximum detection distance for compass HUD (cannot exceed server max)
HUD Positioning:
status_overlay_x / status_overlay_y (default: -1): X/Y position of status HUD (-1 = default/auto)
compass_overlay_x / compass_overlay_y (default: -1): X/Y position of compass HUD (-1 = default/auto)
status_overlay_scale (default: 1.0, min: 0.1, max: 3.0): Scale of status HUD
compass_overlay_scale (default: 1.0, min: 0.1, max: 3.0): Scale of compass HUD
Distance Counter:
show_teammate_distance (default: false): Show distance to teammates next to their names
teammate_distance_update_frequency (default: 20, min: 1, max: 200): How often to update teammate distances (in ticks)
distance_only_within_compass_range (default: false): Only show distance if teammate is within compass detection range
Installation
Steps
- Download the correct version for Forge or Fabric
- Place the JAR in your
mods folder
- Launch Minecraft with the chosen loader
- Configure keybindings/settings in game options
Usage
Creating a Team
- Open the Teams screen
- Create a team with a custom name
- Invite players by username
Joining a Team
- Receive a team invite (toast notification)
- Press
] to accept, [ to reject
Managing Team Members
- Leaders can invite/kick members
- Players can leave teams anytime
Using the HUD
- Compass HUD: Shows teammate directions
- Status HUD: Real-time health/hunger and teammate distance (distance shown next to names, e.g.,
PlayerName - 123m)
- Press
B to toggle HUD, configure in mod settings
Authors
- XxInvictus (TeamsHUDPlus)
- Tfarcenim (TeamsHUD)
- CommodoreThrawn (Teams)
评论 0
登录后参与评分
还没有评论,来抢沙发吧