免费插件

Life Support

生命支持

激活后可防止死亡并将生命值恢复至 100%

PVE奖励lifedeathgod

原作者:OG61 · 查看 uMod 官方页面 ↗

插件介绍

激活后可防止死亡并将生命值恢复至 100%

When enabled, Life Support will prevent a player’s death and restore their health to 100%. Optionally you can charge Reward Points on three scales. Default, VIP and Admin. Life Support will not prevent death if a player does not have enough reward points.

This plugin is intended for PvE servers. The idea is to reward players for spending more time on your server, and to make is easier for solo player to defeat the hard monuments.

You must have lifesupport.admin to use the lszones command.Set the amount of Reward Points to charge (if any) in the configuration file.

If Use Server Rewards is set to false Life Support will be free to everyone who has any permission level.

主要用途

主要用于PVE、奖励、life、death等服务端功能。 本插件由 OG61 发布,当前目录记录版本为 v1.5.0,uMod 累计下载 9,737 次。

适用场景

  • PVE、活动服或任务玩法服务器
  • 带经济、商店、礼包或奖励系统的服务器

功能分类

PVE奖励lifedeathgod
查看 uMod 官方英文简介

Prevents death and restores health to 100% when activated

权限节点

lifesupport.default

lifesupport.vip

lifesupport.admin

You must have lifesupport.admin to use the lszones command.Set the amount of Reward Points to charge (if any) in the configuration file.

授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke

指令说明

/lifesupport - Toggle Life Support on and off.

/lszones add [zone] [zone] replace [zone] with Zone Manager's zone ID. You can add multiple zones seperated by a space

/lszones remove [zone] [zone] replace [zone] with Zone Manager's zone ID. You can remove multiple zones seperated by a space

/lszones clear Clears all zone IDs from Life Support

/lszones list List all excluded zone IDs

相关依赖

  • Dangerous Treasures
  • Raidable Bases
  • Server Rewards
  • Zone Manager

配置说明

{ "UseZoneManager (true/false)":false, "UseDangerousTreasures (true/false)":false, "Use Server Rewards (true/false)": false, "Exclude RaidableBases Zones (true/false)": true, "Enable Log file (true/false)": true, "Log output to console (true/false)": true, "Permissions and cost": { "lifesupport.default": 400, "lifesupport.vip": 200, "lifesupport.admin": 0 } }

If Use Server Rewards is set to false Life Support will be free to everyone who has any permission level.

Set "UseZoneManager" to true and enter Zone Manager zone IDs to disable LifeSupport when in that zone.

Set "UseDangerousTreasures" to true to disable LifeSupport when in a Dangerous Treasure zone.Set "Exclude RaidableBases Zones" to true to disable LifeSupport when in a RaidableBase zone.

Log file is written to oxide/logs/lifesupport and can be turned off by setting Enable Log file to false.

Log to console can be disabled by setting Log output to console to false.

Cost can be set to any value so you can adjust to how many reward points you give out. I have my server set to 50 reward points every 30 minutes, so it takes 4 hours of play time per life at default level.

官方配置示例

{
     "UseZoneManager (true/false)":false,
     "UseDangerousTreasures (true/false)":false,
     "Use Server Rewards (true/false)": false,
     "Exclude RaidableBases Zones (true/false)": true,
     "Enable Log file (true/false)": true,
     "Log output to console (true/false)": true,
     "Permissions and cost": {
     "lifesupport.default": 400,
     "lifesupport.vip": 200,
     "lifesupport.admin": 0
    }
}
object OnLifeSupportSavingLife(BasePlayer player) 
     // Called when LifeSupport is about to save the players life
     // Return a non-null value to prevent saving life
     // Return null to allow LifeSupport to continue

更新日志

最新版本: v1.5.0
最后版本发布: 2021-07-11
最后更新(条目): 2026-07-18

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。