插件介绍
让玩家在夜间也能看见
Allows players to see at night! When using night vision, it will appear daytime to you while the rest of the players will see the normal time of day.
Jake_Rich for the original plugin idea and implementation
主要用途
主要用于nightvision、night等服务端功能。 本插件由 Clearshot 发布,当前目录记录版本为 v2.4.1,uMod 累计下载 54,878 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Allows players to see at night
权限节点
nightvision.allowedAllows players to use night vision
nightvision.unlimitednvgAllows player to use unlimited night vision goggles
nightvision.autoAutomatically enable night vision when a player joins (requires nightvision.allowed)
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
/nightvision helpNight vision help
/nightvision <0-24> (/nv) -- Toggle night vision on/off with optional time 0-24
/unlimitednvg (/unvg) -- Equip/remove unlimited night vision goggles
相关依赖
- Admin Logger
- Clear Night
配置说明
{ "chatIconID": "0", "date": "01/25/2024", "time": 12.0 }
chatIconID: SteamID for rust chat icon
date: Date to use when night vision is active (MM/DD/YYYY format)
time: Time to use when night vision is active (0-24)
官方配置示例
{
"chatIconID": "0",
"date": "01/25/2024",
"time": 12.0
}{
"ChatPrefix": "<color=#00ff00>[Night Vision]</color>",
"NoPerms": "You do not have permission to use this command!",
"TimeLocked": "Time locked to {0}",
"TimeUnlocked": "Time unlocked",
"HelpTitle": "<size=16><color=#00ff00>Night Vision</color> Help</size>\n",
"Help1": "<color=#00ff00>/nightvision <0-24>(/nv)</color> - Toggle time lock night vision with optional time 0-24",
"Help2": "<color=#00ff00>/unlimitednvg (/unvg)</color> - Equip/remove unlimited night vision goggles",
"EquipUNVG": "Equipped unlimited night vision goggles",
"RemoveUNVG": "Removed unlimited night vision goggles"
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。