本模组灵感来源于德国 Minecraft 项目:“Minecraft Helden”。
本模组主要面向多人游戏及 PvP 生存服务器(SMP)。每位玩家拥有 3 颗心(生命值)。如果失去所有心,将被踢出服务器。当一名玩家攻击另一名玩家时,双方将进入持续 30 秒的战斗阶段。只有在战斗阶段内死亡才会扣除一颗心。如果玩家在战斗阶段内退出游戏,将会死亡并扣除一颗心!

功能:
- /hearts set (player) (number between 1 and 3) -- 仅限管理员使用。此命令用于设置玩家的心数。
- /hearts get (player) -- 显示玩家当前的剩余心数。
- /hearts settings showCombatTimeRemainingInActionbar (true/false) -- 设置是否在操作栏中显示剩余战斗时间。
- /hearts give (player) -- 将你的一颗心给予其他玩家。
- /gamerule banIfNoHearts (true/false) -- 设置玩家失去所有心后是否会被踢出服务器。
- /gamerule allowTradingHearts (true/false) -- 允许玩家之间交易心数。
何时触发战斗模式?
当一名玩家攻击另一名玩家时会触发战斗模式,除非他们属于同一队伍(使用原版 /team 命令)。
TNT:只有当另一名玩家直接点燃 TNT 时才会触发战斗模式。由红石或 TNT 矿车引燃的 TNT 不会触发战斗模式。如果某人因自己点燃的 TNT 而死亡,则不会扣除心数。
如果遇到任何错误或有问题,欢迎在评论区提出。
请注意,我并非专业程序员,创建此模组纯属娱乐。
This mod is inspired by the german Minecraft project: "Minecraft Helden".
This mod is mainly for multiplayer and for PvP SMPs. Every player gets 3 hearts (lives). If they lose them all, they get banned. When a player attacks another player, they get into a 30 second combat phase. They only lose a heart when they die while being in this combat phase. If the players leave the game while being in the combat phase, they will die and lose a heart!

Features:
- /hearts set (player) (number between 1 and 3) -- can only be used by an admin. This is the command you can set the amount of hearts of a player with.
- /hearts get (player) -- displays the amount of hearts of a player.
- /hearts settings showCombatTimeRemainingInActionbar (true/false) -- set if the remaining time you are in combat should be displayed in the actionbar.
- /hearts give (player) -- give one of your hearts to another player
- /gamerule banIfNoHearts (true/false) -- set if a player should be banned if they lost all of their hearts.
- /gamerule allowTradingHearts (true/false) -- allow players to trade hearts
When does combat mode trigger?
Combat mode triggers when a player attacks another player except if they are on the same team (vanilla /team command)
TNT: Combat mode does only trigger when another player ignites the TNT directly. TNT ignited by redstone or TNT minecarts do not trigger combat mode. If someone dies of TNT ignited by themselves, they don't lose a heart.
If you come across any bugs or have questions, feel free to ask them in the comments section.
Please note that I'm not a professional programmer and only created this mod for fun.
下载 Klleyy's Hearts
下载 Klleyy's Hearts
下载 Klleyy's Hearts
下载 Klleyy's Hearts
下载 Klleyy's Hearts
下载 Klleyy's Hearts
下载 Klleyy's Hearts
在 CurseForge 网站上查看更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
让你能够在世界中的任何位置定位结构。
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
Minecraft 中的表情符号
模组
一堆修复
模组
如果游戏能告知重要的刷新点,会怎样?
模组
一款适用于你选择的加载器的 Minecraft VR 模组!
评论 0
登录后参与评分
还没有评论,来抢沙发吧