SharedHealthAndHunger
Shared Health, Shared Hunger, Shared Effects, Actionbar, Respawn as Spectator
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
SharedHealthAndHunger
> Minecraft 1.21.5 Purpur This plugin is built for Minecraft 1.21.5 Purpur. I tested it on Purpur 1.21.5 and Spigot 1.21.1. It should work on 1.21.1-1.21.5 Spigot/Purpur/Paper/Bukkit.
If you want to report a bug or suggest a new plugin, join my Discord server.
Also check my other plugin WorldReset
❤️ SharedHealthAndHunger
Take on the challenge with your friends! Can you survive while sharing a single life bar?
SharedHealthAndHunger is a plugin designed for “Shared Life” challenge. The main concept is simple: all players on the server share health, hunger, and potion effects. If one player takes damage, everyone feels it!
✨ Key Features
* Polish When one player takes damage, everyone loses HP. * Polish Sprinting and eating affect the entire team's hunger bar. * Polish Did someone drink a Speed potion or eat a Pufferfish? Everyone gets the same effect! * Polish When a player takes damage, teammates also receive a visual "hurt" effect (red screen) and slight knockback. * Polish If health drops to zero, the game ends, and all players are automatically moved to Spectator mode. * Polish Notifications about who took damage and how much HP was lost appear above the hotbar. * Polish Configurable hunger drain speed (e.g., make hunger drop 2x faster). * Polish Full support for Polish and Polish (changeable via command).
---
⚙️ Configuration & Modes
The plugin is fully configurable. You can customize the gameplay to your needs:
* Toggles: You can decide if the attacker should receive physical feedback (knockback/pain) when hitting a teammate. (option `attackerfeeldamage`). * Toggles: Set any amount of hearts for the team (e.g., 10, 20, or even 100 hearts). * Toggles: Every feature (health sync, hunger sync, effects) can be toggled on or off mid-game.
---
📜 Commands and Permissions
Main command: `/sharedhealth` or `/sh`
| Command | Description | Permission | | :--- | :--- | :--- | | `/sh respawn` | Resets the game, heals players, clears effects, and teleports to spawn. | `sharedhealth.respawn` | | `/sh language <en/pl>` | Changes the plugin language (English / Polish). | `sharedhealth.language` | | `/sh set maxhealth <value>` | Sets the maximum health (e.g., 40.0 = 20 hearts). | `sharedhealth.set.maxhealth` | | `/sh set hungermult <value>` | Sets the hunger loss multiplier (e.g., 2.0 = 2x faster). | `sharedhealth.set.hungermult` | | | | | | **`sharedhealth.set.*` | (All /sh toggle commands) | Grants access to toggle ALL options. | `sharedhealth.toggle.*`** |
Wildcard Permission (Full Admin): `sharedhealth.*`
---
🚀 Installation
1. Download the `.jar` file. 2. Place it in the `/plugins/` folder of your server (Spigot/Paper/Purpur 1.21.5). 3. Restart the server. 4. Done! The `config.yml` file will generate automatically.