跳到正文

No Free Deaths

作者:clo4

Prevents players from abusing keepInventory by adding consequences for dying: lose levels, respawn with a hunger penalty. Admins can opt players out individually :)

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Adds consequences to dying with keepInventory. Players don’t abuse death as a free teleport and hunger reset mechanic when they have no reason to.

Features

  • Disable per player for casual playing
  • Curse of Vanishing works as expected (requires Minecraft 1.20.5+)
  • Hunger penalty on respawn to prevent abusing death for hunger
  • Lose XP on death – Peaceful & Easy: 50%, Normal: 75%, Hard: 100% (custom values supported)

Opt-out

Players can be opted out of the consequences if they would prefer a more relaxed gaming experience. Per-player opt-out means everyone can play how they want to. An admin must be the one to run the command.

/execute as USERNAME run function no_free_deaths:cmd/opt_out

Configure

Every penalty for death can be toggled individually:

/function no_free_deaths:cmd/toggle_drop_xp
/function no_free_deaths:cmd/toggle_curse_of_vanishing
/function no_free_deaths:cmd/toggle_respawn_hunger_penalty

NOT ENABLED BY DEFAULT
/function no_free_deaths:cmd/toggle_respawn_health_penalty

The percentage of levels lost on death is set automatically when the data pack is loaded and will not be changed unless it is manually updated. It’s a bit verbose, but can be changed to a custom amount e.g. 90 to lose 90% of levels.

/scoreboard players set .drop_percentage no_free_deaths.drop_xp.settings 90

常见问题

No Free Deaths 支持哪些 Minecraft 版本?

No Free Deaths 支持 Minecraft Java 版 1.18–1.21.4,共 20 个版本。下载时注意选择和你游戏版本一致的文件。

No Free Deaths 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

clo4 的其他作品

查看全部 →