PermanentHearts 是一个 Paper 插件,为服务器添加了持久的死亡惩罚系统。每次玩家死亡时,他们都会永久失去最大生命值中的一颗心。减少后的最大生命值会自动保存,并在重新登录和服务器重启后保持不变。
该插件还可以通过给予击杀者一颗心来奖励 PvP 击杀行为,使战斗更具意义,同时保持死亡的惩罚性。系统强制执行最低生命值限制,确保玩家的生命值永远不会低于 1 颗心。
功能
- 每次死亡丢失 1 颗心
- 降低的是真实最大生命值,而非当前生命值
- 生命值损失自动保存
- 在重新登录和服务器重启后依然生效
- 最低生命值下限为 1 颗心
- 可选的 PvP 奖励:击杀者恢复 1 颗心
- 配置简单
- 提供用于添加、设置和查看心数的管理员命令
命令
/permanenthearts add <hearts>
为自己添加心数。
/permanenthearts add <player> <hearts>
为另一位在线玩家添加心数。
/permanenthearts set <hearts>
设置你自己的总最大心数。
/permanenthearts set <player> <hearts>
设置另一位在线玩家的总最大心数。
/permanenthearts check
显示你当前的最大心数。
/permanenthearts check <player>
显示另一位在线玩家当前的最大心数。
别名:
/phearts
权限
permanenthearts.admin
允许使用所有管理员命令。
默认:op
配置
默认配置:
enabled: true
restore-killer-heart-on-player-kill: true
PermanentHearts is a Paper plugin that adds a persistent death penalty system to your server. Each time a player dies, they permanently lose 1 heart from their maximum health. Their reduced max health is saved automatically and remains after relogging and server restarts.
The plugin can also reward PvP kills by giving the killer 1 heart back, making combat feel more meaningful while still keeping death punishing. A minimum health limit is enforced so players can never drop below 1 heart.
Features
- Lose 1 heart on every death
- Reduces true max health, not just current health
- Health loss is saved automatically
- Works across relogging and server restarts
- Minimum health floor of 1 heart
- Optional PvP reward: killers regain 1 heart
- Simple configuration
- Admin commands for adding, setting, and checking hearts
Commands
/permanenthearts add <hearts>
Adds hearts to yourself.
/permanenthearts add <player> <hearts>
Adds hearts to another online player.
/permanenthearts set <hearts>
Sets your total max hearts.
/permanenthearts set <player> <hearts>
Sets another online player’s total max hearts.
/permanenthearts check
Shows your current max hearts.
/permanenthearts check <player>
Shows another online player’s current max hearts.
Alias:
/phearts
Permissions
permanenthearts.admin
Allows use of all admin commands.
Default: op
Configuration
Default config:
enabled: true
restore-killer-heart-on-player-kill: true
评论 0
登录后参与评分
还没有评论,来抢沙发吧