Minecraft Alliance Plugin — Share Hearts Between Players
AllianceHearts is a Minecraft shared health plugin that lets players form alliances with one combined heart pool. Every heart from every member merges into a single pool — when one player takes damage, the entire alliance feels it. The ultimate team hearts plugin for Paper servers.
- Survival servers — Add a unique cooperative twist to gameplay
- Hardcore servers — Raise the stakes with shared consequences
- SMP networks — Encourage teamwork and strategic alliances
- Event servers — Team-based challenges with real risk
How Does the Shared Heart Pool Work?
Players create an alliance and invite teammates. All members' hearts merge into one shared health pool displayed via a live BossBar above the hotbar. Every hit any member takes drains the shared pool in real-time. When the pool hits zero — everyone in the alliance dies, the pool resets, and the alliance continues.
- 2 players → 20 shared hearts (40 HP pool)
- Player A falls and loses 5 hearts → Pool drops by 10 HP for everyone
- Player B eats and regens → Pool heals for the whole alliance
- Pool reaches 0 → All members die, pool resets to full
Plugin Features — Alliance Hearts for Minecraft
- True Shared Health System — Real damage and regen synced across all alliance members in real-time
- Live BossBar Display — Always visible shared heart pool with color-coded health warnings
- Animated Title Screens — Beautiful gradient title animations on create, join, leave, death, upgrade
- Chest GUI Manager — Visual alliance management with heart bar, member list, upgrade and leave buttons
- Slot Upgrade System — Alliance leaders can buy extra member slots using in-game economy
- Vault Economy Support — Configurable costs per slot level, split payment mode, alliance creation fees
- Alliance Chat Prefix — Custom alliance tag displayed before player names in chat
- SQLite Database — Alliances persist through server restarts, no external database setup required
- Full MiniMessage Support — Customize every message with gradients, HEX colors, hover text, click actions
- Damage Notification Toggle — Enable or disable damage/heal chat spam per config
- Granular Permission System — Full control over every feature with admin bypass nodes
- Lightweight & Optimized — Minimal TPS impact, smart health sync every 200ms
No Dependencies Required — Works Out of the Box!
AllianceHearts works completely standalone. Just drop the jar into your plugins folder and shared heart alliances are ready. Vault is optional — only needed if you want the economy-based slot upgrade system.
| Dependency | Required? | Why? |
|---|---|---|
| Vault + Economy plugin | Slot upgrades, alliance creation cost, split payments | |
| ViaVersion / ViaBackwards | Lets older clients (1.20.6+) connect to your 1.21+ server | |
| ProtocolLib | Plugin doesn't use packets | |
| PlaceholderAPI | Uses built-in MiniMessage placeholders |
Vault Economy Integration for Alliance Upgrades
AllianceHearts integrates with Vault for an in-game economy upgrade system. Works perfectly without it too.
- Per-slot pricing — Set a custom price for each slot level (4→5 = $5k, 5→6 = $10k, etc.)
- Payment modes — Leader pays the full cost, or split equally among online alliance members
- Alliance creation cost — Optional economy fee to create a new alliance
- Admin bypass — Server operators skip all costs with alliancehearts.bypass.cost
Server Requirements
- Minecraft Version: 1.21 — 1.21.11+ (Paper server)
- Server Software: PaperMC (recommended)
- Java Version: 21
- Optional: Vault + Economy plugin for slot upgrade system
Installation Guide
- Download AllianceHearts.jar
- Place in your server's /plugins folder
- Restart your Minecraft server
- Configure settings in plugins/AllianceHearts/config.yml
- Customize messages in plugins/AllianceHearts/messages.yml
- (Optional) Install Vault + an economy plugin to enable paid slot upgrades
Alliance Commands
| Command | Description |
|---|---|
| /alliance create <n> | Create a new shared hearts alliance |
| /alliance invite <player> | Invite a player to your alliance |
| /alliance accept / deny | Accept or deny an alliance invitation |
| /alliance leave | Leave your current alliance |
| /alliance kick <player> | Kick a member from the alliance (leader only) |
| /alliance upgrade | Purchase an additional member slot |
| /alliance gui | Open the visual alliance manager GUI |
| /alliance info [name] | View alliance details and heart pool status |
| /alliance list | List all active alliances on the server |
| /alliance disband | Disband your alliance permanently (leader only) |
| /alliance reload | Reload plugin configuration (admin only) |
Aliases: /ally, /ah
Permission Nodes
| Permission | Description | Default |
|---|---|---|
| alliancehearts.use | Access basic alliance commands | true |
| alliancehearts.create | Create a new alliance | true |
| alliancehearts.invite | Invite players to alliance | true |
| alliancehearts.kick | Kick alliance members | true |
| alliancehearts.upgrade | Purchase slot upgrades | true |
| alliancehearts.disband | Disband an alliance | true |
| alliancehearts.admin | All admin permissions | op |
| alliancehearts.admin.reload | Reload configuration files | op |
| alliancehearts.bypass.penalty | Bypass leave health penalty | op |
| alliancehearts.bypass.cooldown | Bypass alliance join cooldown | op |
| alliancehearts.bypass.cost | Bypass all Vault economy costs | op |
Configuration Preview
yamlAll messages are fully customizable in a separate messages.yml — supports MiniMessage gradients, HEX colors, hover tooltips, and clickable chat buttons.
Performance & Optimization
Lightweight Minecraft plugin built for production servers. Health synchronization runs every 4 ticks (200ms) with minimal CPU overhead. SQLite database writes only on actual pool changes. BossBar updates are batched per alliance. Tested with multiple active alliances running simultaneously with zero noticeable TPS impact.
Tags: minecraft shared hearts plugin, alliance plugin, team health pool, shared lives plugin, minecraft alliance system, paper plugin 1.21, vault economy plugin, shared health minecraft, cooperative survival plugin, smp alliance plugin, bossbar health display
