死亡次数过多会导致灵魂流失。每次死亡都会扣除一点灵魂值,灵魂值越低,惩罚越严厉:掉落物品、丢失生命值、丢失金钱、自定义命令等。灵魂点会随现实时间或实际游戏时间自动恢复。
工作原理
- 玩家初始拥有 10 点灵魂值(可配置)。
- 死亡消耗 1 点灵魂值。新层级的惩罚立即生效。
- 每个层级(0–10)都定义了各自的惩罚。
- 灵魂点按实时或每小时游戏时间再生。
- 未定义具体参数的层级会从下一个已定义的更高层级继承设置,因此你只需配置自己关心的层级。

各层级惩罚
- 物品掉落:每层级的掉落百分比,支持单独切换快捷栏和盔甲暴露的开关
- 生命值:作为惩罚移除生命值,或在灵魂值较高时给予额外生命值作为奖励
- Vault 金钱:固定金额或百分比损失。PvP 死亡时将金钱转移给击杀者(可配置 0–100%);自然死亡则销毁金钱
- 命令:在指定层级执行控制台可以分发的任何内容——标题、音效、踢出服务器等
PvP 具有长期代价
每位玩家还有一个个人的 最大 灵魂容量上限。击杀其他玩家会降低击杀者的最大容量上限,且该上限仅能随时间慢慢恢复。频繁击杀他人的玩家将会拥有一个永久较浅的灵魂池。
命令
| 命令 |
权限 |
/lmdp — 查看你的灵魂点数 |
default |
/lmdp check <player> |
lmdp.check.others |
/lmdp preview — 查看所有层级的惩罚表 |
default |
/lmdp set|give|take <player> <amount> |
lmdp.admin |
/lmdp setmax|givemax|takemax <player> <amount> |
lmdp.admin |
/lmdp reload |
lmdp.admin |
别名:/dp, /deathpenalties, /soulpoints。拥有 lmdp.bypass 权限的玩家将跳过所有惩罚。
PlaceholderAPI
扩展标识符为 soulpoints:
%soulpoints_current% / %soulpoints_max% → 7 / 10
%soulpoints_progress_bar% → ███████░░░
%soulpoints_recovery_time% → 2h 15m 30s
完整占位符列表见 GitHub。
开发者 API
通过 Bukkit 的 ServicesManager 提供服务提供者 API。SoulPointsChangeEvent 可在变更发生前取消;SoulPointsChangedEvent 则在变更后触发。示例代码见 GitHub。
依赖要求
- Paper 或 Folia 1.21+,Java 21
- YskLib 1.8.0+(必需)
- Vault(可选,用于金钱惩罚)· PlaceholderAPI(可选)
完整配置参考及 YAML 示例见 GitHub。
支持渠道:Discord · Issues
Die too often and your soul drains. Each death costs a soul point, and the lower your soul gets, the harsher the penalties: item drops, lost hearts, lost money, custom commands. Points come back on their own, on wall-clock time or active playtime.
How it works
- Players start with 10 soul points (configurable).
- Death costs 1 point. The new tier's penalties apply immediately.
- Each tier (0–10) defines its own penalties.
- Points regenerate in real time or per hour of playtime.
- Tiers you leave undefined inherit from the next higher defined tier, so you only configure the levels you care about.

Per-tier penalties
- Item drops: drop percentage per tier, with separate hotbar and armor exposure toggles
- Hearts: remove hearts as punishment, or grant bonus hearts at high soul as a reward
- Vault money: flat or percent loss. PvP deaths transfer the money to the killer (configurable 0–100%); natural deaths burn it
- Commands: run anything console can dispatch at a tier — titles, sounds, kicks
PvP has a long-term cost
Each player also has a personal max soul capacity. Killing another player lowers the killer's max, and it only regenerates back over time. Repeat killers walk around with a permanently shallow soul pool.
Commands
| Command |
Permission |
/lmdp — your soul points |
default |
/lmdp check <player> |
lmdp.check.others |
/lmdp preview — penalty table for every tier |
default |
/lmdp set|give|take <player> <amount> |
lmdp.admin |
/lmdp setmax|givemax|takemax <player> <amount> |
lmdp.admin |
/lmdp reload |
lmdp.admin |
Aliases: /dp, /deathpenalties, /soulpoints. Players with lmdp.bypass skip all penalties.
PlaceholderAPI
Expansion identifier is soulpoints:
%soulpoints_current% / %soulpoints_max% → 7 / 10
%soulpoints_progress_bar% → ███████░░░
%soulpoints_recovery_time% → 2h 15m 30s
Full placeholder list on GitHub.
Developer API
Service-provider API via Bukkit's ServicesManager. SoulPointsChangeEvent is cancellable before the change; SoulPointsChangedEvent fires after. Examples on GitHub.
Requirements
- Paper or Folia 1.21+, Java 21
- YskLib 1.8.0+ (required)
- Vault (optional, money penalties) · PlaceholderAPI (optional)
Full config reference and YAML examples on GitHub.
Support: Discord · Issues
评论 0
登录后参与评分
还没有评论,来抢沙发吧