免费插件

Sleep

睡眠

允许获得许可的玩家获得良好的睡眠

sleephealthmetabolismrestore

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

插件介绍

允许获得许可的玩家获得良好的睡眠

Sleep allows players with permission to get a well-rested sleep. While sleeping, players may grow hungry, get thirsty, and even get a bit dirty depending on settings.

By default, players will heal and restore 5 percent of their current levels every 10 seconds; and get dirty, hungry, and thirsty by 5 percent of their current levels every 10 seconds. Curing is also available, but disabled by default. Everything is changeable in the configuration file.

This plugin provides universal chat and console commands. When using a command in the chat, prefix it with a forward slash / or the symbol you have configured in umod.config.json.

主要用途

主要用于sleep、health、metabolism、restore等服务端功能。 本插件由 KrunghCrow 发布,当前目录记录版本为 v1.0.2,uMod 累计下载 11,462 次。

适用场景

  • 希望扩展原版服务器功能的服主

功能分类

sleephealthmetabolismrestore
查看 uMod 官方英文简介

Allows players with permission to get a well-rested sleep

权限节点

sleep.allow

Allows players to go to sleep

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

指令说明

This plugin provides universal chat and console commands. When using a command in the chat, prefix it with a forward slash / or the symbol you have configured in umod.config.json.

sleep

Make yourself go to sleep and rest

配置说明

{ "Cure while sleeping (true/false)": false, "Heal while sleeping (true/false)": true, "Restore while sleeping (true/false)": true, "Curing rate (0 - 100)": 5, "Healing rate (0 - 100)": 5, "Restoration rate (0 - 100)": 5 }

官方配置示例

{
  "Cure while sleeping (true/false)": false,
  "Heal while sleeping (true/false)": true,
  "Restore while sleeping (true/false)": true,
  "Curing rate (0 - 100)": 5,
  "Healing rate (0 - 100)": 5,
  "Restoration rate (0 - 100)": 5
}
{
  "Command": "sleep",
  "Dirty": "You seem to be a bit dirty, go take a dip!",
  "Hungry": "You seem to be a bit hungry, eat something",
  "NotAllowed": "You can't go to sleep right now",
  "Restored": "You have awaken restored and rested!",
  "Thirsty": "You seem to be a bit thirsty, drink something!",
  "WentToSleep": "You went to sleep."
}

更新日志

最新版本: v1.0.2
最后版本发布: 2025-12-14
最后更新(条目): 2025-12-14

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

安装方法

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

使用前注意

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

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