❤️ 如果你喜欢这个插件,请考虑留下一个点赞!这对意义重大。 ❤️
⚠️ 兼容性说明: 本插件专为 Minecraft 1.21 - 26.3(Paper, Purpur)构建。已测试并与 WorldReset 和 Geyser Crossplay 完全兼容。
如果你想报告错误或建议新插件,请加入我的 Discord 服务器。
❤️ SharedHealthAndHunger
与朋友一起迎接挑战!在共享一条生命条的情况下,你能存活下来吗?
SharedHealthAndHunger 是一款专为“共享生命”挑战设计的插件。概念很简单:服务器上的所有玩家共享生命值、饥饿值和药水效果。如果一名玩家受到伤害,所有人都会感受到!
✨ 主要特性
- ❤️ 共享生命值: 当一名玩家受到伤害时,所有人都会扣除 HP。每一次攻击和伤害 tick 都同步无误,不会出现漏判。
- ? 共享饥饿值与饱和度: 冲刺和进食会影响整个团队的饥饿值和饱和度条,且不同步。
- ? 共享效果: 有人喝了速度药水、中毒或喝牛奶了吗?所有人都会获得完全相同的效果!
- ?️ 不死图腾支持: 手持或副手持有的不死图腾现在能正常触发!保存玩家并恢复团队生命值和吸收之心,而不是过早结束游戏。
- ? 疼痛反馈(无护甲耐久损耗): 队友会收到视觉受伤效果(红色闪烁和镜头倾斜),而不会降低护甲耐久或导致回弹!
- ? 旁观者/死亡模式: 切换为游戏结束(旁观者模式)或在死亡时同时淘汰全队。
- ? 现代动作栏: 实时显示谁受到了伤害以及 Java 版和基岩版双方的当前团队生命值的动作栏通知。
- ⚡ 代谢控制: 可配置的饥饿损失乘数,能干净利落地配合原版疲劳周期工作。
- ? 多语言: 完整支持 英语 和 波兰语(
/sh language en/pl)。
- ? 服务器指标(bStats & FastStats): 通过 bStats.org 和 FastStats.dev 集成匿名服务器统计数据,以比较遥测准确性并监控活跃版本。
? 命令与权限
主命令:/sharedhealth 或 /sh
| 命令 |
描述 |
权限 |
/sh respawn |
重置游戏,治愈玩家,清除效果,并传送至出生点。 |
sharedhealth.respawn |
/sh reload |
重新加载配置文件(config.yml)和语言文件。 |
sharedhealth.reload |
/sh sync |
强制立即同步团队健康和食物。 |
sharedhealth.sync |
/sh language <en/pl> |
更改插件语言(英语 / 波兰语)。 |
sharedhealth.language |
/sh set maxhealth <value> |
设置最大生命值(例如,40.0 = 20 颗心)。 |
sharedhealth.set.maxhealth |
/sh set hungermult <value> |
设置饥饿损失乘数(例如,2.0 = 2倍速度)。 |
sharedhealth.set.hungermult |
| (所有 /sh set 命令) |
允许更改所有数值。 |
sharedhealth.set.* |
/sh toggle health |
切换生命值同步。 |
sharedhealth.toggle.health |
/sh toggle food |
切换饥饿值同步。 |
sharedhealth.toggle.food |
/sh toggle effects |
切换药水效果同步。 |
sharedhealth.toggle.effects |
/sh toggle actionbar |
切换动作栏通知。 |
sharedhealth.toggle.actionbar |
/sh toggle attackerfeeldamage |
攻击他人时,攻击者是否应感到疼痛? |
sharedhealth.toggle.attackerfeeldamage |
/sh toggle respawn |
死亡时切换旁观者模式。 |
sharedhealth.toggle.respawn |
| (所有 /sh toggle 命令) |
允许切换所有选项。 |
sharedhealth.toggle.* |
通配符权限(完整管理员): sharedhealth.*
? 安装
- 下载
.jar 文件(SharedHealthAndHunger-1.4.jar)。
- 将其放入服务器的
/plugins/ 文件夹中(Spigot/Paper/Purpur 1.21 - 26.2)。
- 重启服务器。
- 完成!
config.yml 和语言文件将自动生成。
❤️ If you enjoy this plugin, please consider leaving a like! It means a lot for me. ❤️
⚠️ Compatibility Note: This plugin is built for Minecraft 1.21 - 26.3 (Paper, Purpur). Tested and fully compatible with WorldReset and Geyser Crossplay.
If you want to report a bug or suggest a new plugin, join my Discord server.
❤️ SharedHealthAndHunger
Take on the challenge with your friends! Can you survive while sharing a single life bar?
SharedHealthAndHunger is a plugin designed for the “Shared Life” challenge. The concept is simple: all players on the server share health, hunger, and potion effects. If one player takes damage, everyone feels it!
✨ Key Features
- ❤️ Shared Health: When one player takes damage, everyone loses HP. Every hit and tick of damage is synchronized with zero dropped hits.
- ? Shared Hunger & Saturation: Sprinting and eating affect the entire team's hunger and saturation bar without desync.
- ? Shared Effects: Did someone drink a Speed potion, get poisoned, or drink milk? Everyone gets the exact same effect!
- ?️ Totem of Undying Support: Totems held in hand or off-hand now trigger properly! Saves the player and restores team health and absorption hearts instead of ending the game prematurely.
- ? Pain Feedback (No Armor Damage): Teammates receive visual hurt effects (red flash and camera tilt) without degrading armor durability or causing rubberbanding!
- ? Spectator / Death Modes: Switch between Game Over (Spectator mode) or simultaneous team elimination upon death.
- ? Modern Action Bar: Real-time action bar notifications showing who took damage and current team health across both Java and Bedrock editions.
- ⚡ Metabolism Control: Configurable hunger loss multiplier that works cleanly with vanilla exhaustion cycles.
- ? Multi-Language: Full support for English and Polish (
/sh language en/pl).
- ? Server Metrics (bStats & FastStats): Integrated anonymous server statistics via bStats.org and FastStats.dev to compare telemetry accuracy and monitor active versions.
? 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 reload |
Reloads configuration (config.yml) and language files. |
sharedhealth.reload |
/sh sync |
Forces immediate team health and food synchronization. |
sharedhealth.sync |
/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 |
| (All /sh set commands) |
Grants access to change ALL numeric values. |
sharedhealth.set.* |
/sh toggle health |
Toggles health synchronization. |
sharedhealth.toggle.health |
/sh toggle food |
Toggles hunger synchronization. |
sharedhealth.toggle.food |
/sh toggle effects |
Toggles potion effect synchronization. |
sharedhealth.toggle.effects |
/sh toggle actionbar |
Toggles action bar notifications. |
sharedhealth.toggle.actionbar |
/sh toggle attackerfeeldamage |
Should the attacker feel pain when hitting others? |
sharedhealth.toggle.attackerfeeldamage |
/sh toggle respawn |
Toggle Spectator mode upon death. |
sharedhealth.toggle.respawn |
| (All /sh toggle commands) |
Grants access to toggle ALL options. |
sharedhealth.toggle.* |
Wildcard Permission (Full Admin): sharedhealth.*
? Installation
- Download the
.jar file (SharedHealthAndHunger-1.4.jar).
- Place it in the
/plugins/ folder of your server (Spigot/Paper/Purpur 1.21 - 26.2).
- Restart the server.
- Done! The
config.yml and language files will generate automatically.
评论 0
登录后参与评分
还没有评论,来抢沙发吧