HUD Compatibility
GroupManager displays real-time group information on the player's HUD through integration with third-party HUD plugins.
Supported HUD Plugins
AutoMultiHud (by Buuz135)
GroupManager uses reflection to detect and integrate with AutoMultiHud. When available, group status is rendered as a HUD panel using the CSS selector #GroupMultiHUD.
MultipleHUD
Alternative HUD provider. GroupManager detects it at startup and uses it if AutoMultiHud is not available.
Detection Order
- AutoMultiHud is checked first.
- If not found, MultipleHUD is checked.
- If neither is found, the HUD feature is silently disabled.
Detection happens once at plugin startup. No configuration is needed.
HUD Content
The group HUD panel displays:
| Element | Description |
|---|---|
| Group title | "Group" header with member count |
| Leader | Leader name highlighted |
| Members | All member names with online/offline indicators |
| Health bars | Real-time health for each member |
Technical Details
GroupManager uses InternalMultiHud — a reflection-based adapter that communicates with the HUD plugin without requiring a compile-time dependency. This means:
- No HUD plugin JAR is needed at build time.
- The integration works with any compatible version of the HUD plugin.
- If the HUD plugin API changes, only the reflection adapter needs updating.
CSS Customization
If you're customizing your server's UI, the group HUD element uses:
#GroupMultiHUD {
/* Your custom styles here */
}
API Control
External plugins can control the HUD per-player:
GroupService api = GroupManagerProvider.get();
// Hide HUD during a match
api.pauseHud(playerUuid);
// Restore HUD after match
api.resumeHud(playerUuid);
This is useful for plugins that have their own HUD during gameplay.