FriendlyFire LHP Addon adds per-team friendly-fire controls to LifeHeartsPro. It protects teammates across melee, projectiles, potions and optional tamed-wolf attacks, with configurable feedback and four built-in languages.
Modrinth · CurseForge · SpigotMC · Hangar · Source and releases · Report an issue
Required plugin: LifeHeartsPro · Modrinth · CurseForge · SpigotMC · Hangar
- Enable or block friendly fire independently for each LifeHeartsPro team.
- Protect melee attacks, arrows and other projectiles, tridents, splash and lingering potions, area-effect clouds, and optionally tamed wolves.
- Configure per-team defaults, bypass permission, attacker and victim messages, action bars, sounds, and feedback cooldowns.
- Manage settings with
/friendlyfire team <team> <on|off>and inspect them with/friendlyfire info <team>. - Update configuration and the four locale files without overwriting existing team settings.
- Check Modrinth for updates in the background and notify the console and server operators with Modrinth and GitHub links.
- Install and enable LifeHeartsPro first.
- Put
friendlyfire-lhp-addon-1.1.3.jarin the server'spluginsfolder. - Restart the server. Bukkit loads the add-on after LifeHeartsPro and refuses to enable it if the required plugin is missing.
The add-on sets teams.friendly-fire: true in LifeHeartsPro when per-team control needs it. It reloads only LifeHeartsPro's configuration; it does not trigger a full gameplay reload or reset online lives.
One Java 21 bytecode JAR targets the Bukkit API shared by Paper and Spigot. The API is compile-checked against Minecraft 1.21 and 26.3. Paper 1.21.x servers run on Java 21; Paper 26.1 and later require Java 25. The add-on uses no version-specific Minecraft internals.
| Command | Permission | Default |
|---|---|---|
/friendlyfire reload |
friendlyfire.reload |
Operator |
/friendlyfire team <team> <on|off> |
friendlyfire.manage |
Operator |
/friendlyfire info <team> |
friendlyfire.info |
Operator |
friendlyfireguard.bypass skips the add-on's team protection when rules.bypass_permission_enabled is enabled. friendlyfire.update.notify allows update notices; operators receive them automatically.
All options in config.yml and sounds.yml are documented in English. Messages are available in English, German, French and Spanish under locale/.
When update checks are enabled, the add-on makes a periodic request to the public Modrinth version API. It sends the add-on version in its User-Agent and does not include player names, server address, configuration or gameplay data.
Requires JDK 25 and Maven 3.9+.
mvn -B clean verify
mvn -B -Pspigot-26.3 clean verify
mvn -B -Ppaper-1.21 clean verify
mvn -B -Ppaper-26.3 clean verifyEach build produces target/friendlyfire-lhp-addon-1.1.3.jar. Release artifacts are compiled against the lowest supported API so the same file serves all supported versions.
FriendlyFire is a companion project for LifeHeartsPro. See its README for the companion link and LifeHeartsPro downloads.
