LifeSteal 服务端
LifeSteal SMP 的 Fabric 服务端实现。
本模组受 ModernAdventurer 的 LifeSteal Mod 启发。
配置
配置完全通过游戏规则(gamerules)进行管理,以下是游戏规则及其功能的列表。
| 游戏规则 | 类型 | 描述 | 默认值 |
|---|---|---|---|
| lifesteal:death_criteria | DeathCriteria | 什么算作击杀:player_only(仅玩家)、any_death(任意死亡)或 any_death_drop_heart(任意死亡掉落心) |
player_only |
| lifesteal:altar_block | Block | 祭坛中心方块的注册表 ID | minecraft:netherite_block |
| lifesteal:enable_anti_heart_dupe | Boolean | 是否防止玩家从生命值较少的玩家身上无限获取心脏 | true |
| lifesteal:revive_method | ReviveMethod | 如何复活玩家:none(无)、command(命令)、altar(祭坛)或 totem(图腾) |
altar |
| lifesteal:death_action | DeathAction | 当玩家生命值降至最低时执行的操作:ban(封禁)、revive(复活)或 spectator(旁观者) |
ban |
| lifesteal:gift_method | GiftMethod | 赠送心脏的方式:manual(手动)或 command(命令) |
manual |
| lifesteal:steal_amount | Integer | 玩家死亡时应被窃取的心脏数量 | 1 |
| lifesteal:min_player_hearts | Integer | 玩家在被封禁前能达到的最少心脏数 | 1 |
| lifesteal:max_player_hearts | Integer | 玩家能拥有的最多心脏数 | 10 |
| lifesteal:withdraw_method | WithdrawMethod | 提取心脏的方式:none(无)、altar(祭坛)或 command(命令) |
altar |
| lifesteal:auto_revival_seconds | Integer | 玩家自动复活前的秒数。设置为 0 以禁用。 | 0 |
| lifesteal:revival_invulnerability_seconds | Integer | 玩家复活后处于无敌状态的秒数。设置为 0 以禁用。 | 0 |
| lifesteal:heart_stack_size | Integer | 心脏物品的最大堆叠大小 | 1 |
| lifesteal:heart_craft_in_crafter | Boolean | 心脏物品是否可以在制造器中合成 | false |
| lifesteal:limited_heart_crafting_type | LimitedCraftingType | 受限合成如何工作:until_banned(直到封禁)、forever(永久)、heart_based(基于心脏)或 none(无) |
none |
| lifesteal:limited_heart_crafting_amount | Integer | 受限合成的数值/限制。其含义取决于受限合成的游戏规则 | 0 |
| lifesteal:altar_animations | Boolean | 与祭坛交互时是否播放动画 | true |
| lifesteal:fallback_textures | Boolean | 如果未安装资源包,是否使用 Minecraft 原版纹理而不是缺失纹理贴图 | true |
| lifesteal:new_player_invulnerability_seconds | Integer | 玩家自开始游戏以来处于无敌状态的秒数 | 0 |
死亡玩家 JSON 文件:
位于 config/lifesteal-deaths.json
[
{
"deadPlayerID": "uuid",
"deathTime": 100
}
]
命令:
/gift <Player> <Health>- 如果目标玩家可以接收,则向其赠送指定数量的生命值/withdraw <Hearts>- 将实体心脏转换为心脏物品/revive <Player>- 管理员命令,用于复活玩家
数据包覆盖:
更多信息请参阅 Wiki 页面。
其他说明:
- 要获取纹理,请运行
/polymer generate-pack。这将在主服务器目录中创建资源包,然后你可以将其放入你的资源包文件夹中 - 如需更多信息,请访问 Wiki
探索 Tater Certified 的其他兼容 LifeSteal 的模组!
你的玩家是否在战斗中断线(combat-logging)以避免失去心脏?使用 Fair Fight 彻底 解决 这个问题!它可在所有模组和插件平台上使用!
LifeSteal Server-side
A fabric server side implementation of the LifeSteal SMP.
This mod was inspired by ModernAdventurer's LifeSteal Mod.
Config
Configuration is purely managed through gamerules, here is a list of gamerules and what they do.
| Gamerule | Type | Description | Default |
|---|---|---|---|
| lifesteal:death_criteria | DeathCriteria | What counts as a kill: player_only, any_death, or any_death_drop_heart |
player_only |
| lifesteal:altar_block | Block | The registry for the block to be the center of an altar | minecraft:netherite_block |
| lifesteal:enable_anti_heart_dupe | Boolean | Whether to prevent players from harvesting infinite hearts from weak players | true |
| lifesteal:revive_method | ReviveMethod | How to revive players: none, command, altar, or totem |
altar |
| lifesteal:death_action | DeathAction | Whether to ban, revive or spectator when they reach minimum health |
ban |
| lifesteal:gift_method | GiftMethod | How to gift hearts: manual or command |
manual |
| lifesteal:steal_amount | Integer | The number of hearts that should be stolen upon death | 1 |
| lifesteal:min_player_hearts | Integer | The minimum number of hearts a player can reach before being banned | 1 |
| lifesteal:max_player_hearts | Integer | The maximum number of hearts a player can reach | 10 |
| lifesteal:withdraw_method | WithdrawMethod | How to withdraw hearts: none, altar, or command |
altar |
| lifesteal:auto_revival_seconds | Integer | The number of seconds until a player is automatically revived. Set to 0 to disable. | 0 |
| lifesteal:revival_invulnerability_seconds | Integer | The amount of time a player is invulnerable after being revived in seconds. Set to 0 to disable. | 0 |
| lifesteal:heart_stack_size | Integer | The maximum stack size of the heart item | 1 |
| lifesteal:heart_craft_in_crafter | Boolean | If a heart item can be crafted in a crafter | false |
| lifesteal:limited_heart_crafting_type | LimitedCraftingType | How limited crafting works: until_banned, forever, heart_based, or none |
none |
| lifesteal:limited_heart_crafting_amount | Integer | The value/limit of limited crafting. It changes meaning depending on the limited crafting gamerule | 0 |
| lifesteal:altar_animations | Boolean | If animations should play when interacting with an altar | true |
| lifesteal:fallback_textures | Boolean | Whether to use Minecraft textures if the resourcepack isn't installed instead of missing texture | true |
| lifesteal:new_player_invulnerability_seconds | Integer | The number of seconds a player is invulnerable since they started playing | 0 |
Dead Player Json:
Located in config/lifesteal-deaths.json
[
{
"deadPlayerID": "uuid",
"deathTime": 100
}
]
Commands:
/gift <Player> <Health>- Gifts the specified player that amount of health if they can receive it/withdraw <Hearts>- Turns physical hearts into heart items/revive <Player>- Admin command to revive a player
Datapack Overriding:
More info can be found on the wiki page.
Additional Notes:
- In order to get the textures, run /polymer generate-pack. This will create the resourcepack in the main server's directory, which you can then put in your resourcepack folder
- For more information, visit the Wiki
Check out Tater Certified's other Lifesteal-compatible mods!
Are your players combat-logging so they don't lose hearts? Use Fair Fight to combat this problem entirely! It is available on all modding and plugin platforms!
下载 LifeSteal Server-side
下载 LifeSteal Server-side
下载 LifeSteal Server-side
下载 LifeSteal Server-side
下载 LifeSteal Server-side
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LifeSteal Server-side
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LifeSteal Server-side
下载 LifeSteal Server-side
下载 LifeSteal Server-side
下载 LifeSteal Server-side
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 修复了矿石和战利品表在启动时未正确注册的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
让你能够在世界中的任何位置定位结构。
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
一堆修复
模组
如果游戏能告知重要的刷新点,会怎样?
模组
一款适用于你选择的加载器的 Minecraft VR 模组!
模组
为盔甲架添加图形用户界面,允许你配置其姿势和其他属性
评论 0
登录后参与评分
还没有评论,来抢沙发吧