跳到正文

Down But Not Out

作者:phasmoware

救活倒地的玩家:玩家不会直接死亡,而是剩下半颗心并进入爬行状态。灵感来自《使命召唤:僵尸模式》。完全由服务端运行,兼容原版客户端和 Geyser 基岩版客户端。

收藏

截图

介绍

介绍由机器翻译自 Modrinth 原页面,仅供参考。

一款纯服务端玩家倒地与复活模组

Down But Not Out Logo in minecraft-like font

玩家倒地后不会死亡,而是只剩半颗心并开始爬行。灵感来自《使命召唤:僵尸模式》。完全在服务端运行,兼容原版客户端和 Geyser 基岩版客户端。

要复活倒地的好友,只需空手对着他们按住右键(Geyser 基岩版客户端则按住左扳机键)。

功能特色

倒地与复活

  • 玩家不会死亡,而是倒地、只剩半颗心并被迫爬行。
  • 其他玩家按住右键即可复活倒地的玩家;复活进度会以百分比显示,并通过浅蓝色轮廓标示。
  • 倒地的玩家会随时间流逝而失血(默认 45 秒),若未获复活便会死亡。
  • 玩家名称和轮廓颜色会根据失血倒计时,从黄色逐渐变为深红色。
  • 倒地玩家上方以及其快捷栏上方都会显示失血倒计时
  • /bleedout 可点击命令允许玩家提前放弃并重生。
  • 倒地时使用不死图腾即可自我复活

兼容性

  • 完全在服务端运行;Java 版无需安装客户端模组。
  • 兼容 Geyser 基岩版客户端(仅存在少量视觉限制)。
  • 旨在广泛兼容各类墓碑模组。
  • 不会覆盖自定义队伍设置,并可设置仅允许同队玩家复活(请查看下方配置选项!)
  • 非常适合整合包。

保留游戏机制

  • 保留原始伤害来源,确保死亡信息准确。
  • 若玩家倒地时退出游戏,或反复倒地,失血倒计时会缩短,以此作为惩罚。
  • 不会影响重生锚、死亡统计或不死图腾。

音效反馈

  • 包含原版音效:被复活、倒地,以及失血期间逐渐加快的心跳声。

轻量级前置

  • 仅需 Fabric API
  • 目前 JAR 文件大小不到 50 KB

为服务器管理员提供完善的配置选项

  • 见下文:
配置

[配置文件位置]/DownButNotOut/config.json

{
  // WARNING: DO NOT COPY AND PASTE THESE COMMENTS, INVALID JSON WILL HALT THE STARTUP.
  // SIMPLY DELETE THE CONFIG AND RESTART YOUR SERVER FOR A FRESH DEFAULT CONFIGURATION.


  // Enables the mod
  // Options: true, false
  "MOD_ENABLED": true,
  
  // Forces players to die immediately if they are alone in the server instead of being downed
  // Options: true, false
  "SKIP_DOWNED_STATE_IF_NO_OTHER_PLAYERS_ONLINE": true,
  
  // Requires players to use an empty hand to revive a downed player (can't hold a pickaxe or other item)
  // Options: true, false
  "REVIVING_REQUIRES_EMPTY_HAND": true,
  
  // Makes players die immediately instead of being downed in lava
  // (it doesn't make sense to be swimming in lava)
  // NOTE: the void instantly kills players no matter what
  // Options: true, false
  "ALLOW_DOWNED_STATE_IN_LAVA": false,
  
  // Uses overlay messages (above the experience bar) instead of chat messages
  // NOTE: chat messages are throttled appropriately for revive progress percentage
  // Options: true, false
  "USE_OVERLAY_MESSAGES": true,

  // System messages announce when a player is downed or revived in the chat or overlay
  // Options: true, false
  "BROADCAST_PLAYER_DOWNED_NOTIFICATIONS": true,
  
  // Give players that are downed a glow effect
  // NOTE: not visible on Geyser Bedrock Clients
  // Options: true, false
  "DOWNED_PLAYERS_HAVE_GLOW_EFFECT": true,
  
  // Give players that are downed a blindness effect
  // Options: true, false
  "DOWNED_PLAYERS_HAVE_BLINDNESS_EFFECT": true,
  
  // Create a custom temporary team to change glow and name colors
  // NOTE: team will not be changed if player is already part of team, regardless of this setting for compatability
  // Options: true, false
  "USE_CUSTOM_DOWNED_TEAMS": true,
  
  // Restricts reviving to only be valid from players on the same team (revive is also valid if one player is teamless)
  // If both players are on different custom teams, a message "Wrong team!" will appear on revive attempt
  // NOTE: works great for servers with custom teams, but may not work properly for datapacks that add teams
  // Options: true, false
  "RESTRICT_REVIVE_TO_TEAMMATES_OR_TEAMLESS": false,
  
  // Makes a name tag with "◥REVIVE◤" hover above a downed player visible with a bleed out timer
  // Options: true, false
  "SHOW_REVIVE_TAG_ABOVE_PLAYER": true,
  
  // How many ticks the revive penalty lasts for after being revived (20 per second)
  // NOTE: after the cooldown the BLEEDING_OUT_DURATION_TICKS is reset
  // Min: 0, Max: 999999999999999999
  "REVIVE_PENALTY_COOLDOWN_TICKS": 600,
  
  // Divides the remaining BLEEDING_OUT_DURATION_TICKS by this multiplier so that a
  // player bleeds out much faster after being revived over and over
  // NOTE: a value of 4 would make it so that a player's remaining BLEEDING_OUT_DURATION_TICKS
  // are a quarter of what they were during the last time they were downed within the cooldown
  // Min: 1 (disabled), Max: 999 (instant death after second time being downed before cooldown)
  "REVIVE_PENALTY_MULTIPLIER": 4,
  
  // How long in ticks a downed player has until they bleed out and die (20 per second)
  // Min: -1 (Player never bleeds out and revive penalty does nothing), Max: 999999999999999999
  "BLEEDING_OUT_DURATION_TICKS": 900,
  
  // How long in ticks a player has to hold right-click on a player to revive them
  // Min: 0 (instant), Max: 999999999999999999 (virtually impossible)
  "REVIVE_DURATION_TICKS": 60,
  
  // How loud and how far away the heartbeat sound plays for nearby players
  // Min: 0.0 (disabled) Max: 5.0
  "HEARTBEAT_SOUND_VOLUME": 1.0,
  
  // How loud and how far away the revived sound plays for nearby players
  // Min: 0.0 (disabled) Max: 5.0
  "REVIVED_SOUND_VOLUME": 2.5,
  
  // How loud and how far away the downed sound plays for nearby players
  // Min: 0.0 (disabled) Max: 5.0
  "DOWNED_SOUND_VOLUME": 1.0,
  
  // The base move speed to apply to the crawling downed player
  // NOTE: after being revived, the player is set back to 0.1 base move speed,
  // a faster speed does not make sense when downed
  // Min: 0.00001, Max: 0.1 (normal walking speed)
  "DOWNED_MOVE_SPEED": 0.01
}
已知问题

Geyser 基岩版客户端:

  • 会缓慢行走,而不是爬行
  • 看不到倒地玩家身上的发光效果

原版客户端:

  • 无(请通过 GitHub issues 反馈!)

Essential 模组客户端:

  • 从单人世界开设服务器时,此模组不会加载

使用方法

  • 将 .jar 文件直接放入 Fabric 服务端的 mods 文件夹中。不要在客户端安装此模组。
  • 确保Fabric API也在服务端的 mods 文件夹中。
  • 让朋友像平常一样加入服务器,尽情享受!Geyser 客户端无需额外操作,直接就能使用!

免责声明

本模组的灵感来自《使命召唤》《堡垒之夜》《绝地求生》《求生之路》《无主之地》等第一人称射击游戏。这些游戏允许玩家倒地而非死亡,并可被救起;但本模组与任何采用此玩法的游戏系列均无关联。

许可证

© phasmoware

MIT 许可证详见源代码

欢迎在整合包中使用本模组!

常见问题

Down But Not Out 支持哪些 Minecraft 版本?

Down But Not Out 支持 Minecraft Java 版 1.20.1–26.3,共 8 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Down But Not Out 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

phasmoware 的其他作品

查看全部 →