插件介绍
夜视镜的视觉支持。
When wearing night vision goggles, the condition level bar is being displayed in different colours, depending on the level and the actual amount is shown next to it.
When wanted, an alert can be set up for a specific value. By default, there is no alert (value 0). Players can also add own alerts. A maximum number of alerts a player can have can be omitted by setting the configuraiton value to 0.
One can choose to display the bar, the value or both. A bitmap of which the URL can be changed in the config can be displayed to the left of those. Colors can be adjusted. The last two characters of the color codes are used for the transparancy. If omitted, the default will be used. Information can be repositioned. By default, when having permission, the bar and the value is being displayed.
Players can change the information shown, color levels and alerts when they have the modify permission.
主要用途
主要用于等服务端功能。 本插件由 Thisha 发布,当前目录记录版本为 v0.0.1,uMod 累计下载 3,132 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Visual support for night vision goggles.
权限节点
chillnightvision.use - Gives players the ability to use commands and allows the info to be shown.
chillnightvision.modify - Lets players change what information is shown, modify color levels and alerts.
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
The player can enable or disable the functionality:
/cnv on
/cnv off
A player can change the information shown:
cnv view bar
cnv view value
cnv view all
Add or update an alert:
cnv add alert <number>Example: cnv add alert 80
To remove an alert
cnv remove alert <number>Example: cnv remove alert 20
To add or update a color range:
cnv add range <number> <barcolor> <fontcolor>
cnv remove range <number>
Examples:
cnv add range 500 #34EB3A #FFFFFF
cnv add range 500 #34EB3AFF #FFFFFF
cnv add range 100 Tomato White
The player can check his alerts and ranges by using the following commands:
cnv show alerts
cnv show ranges
A player can reset the custom data back to the defaults defined by the configuration:
cnv reset
Diplays the list of color names:
cnv colors list
Short info about the color usage:
cnv colors help
配置说明
{ "Lower Range Color Value": { "Bar Color": "#bce8df", "Font Color": "#FFFFFFFF" }, "Middle Range": { "Starting Value": 300, "Bar Color": "#80e8d3", "Font Color": "#FFFFFFFF" }, "Higher Range": { "Starting Value": 600, "Bar Color": "#34ebc6", "Font Color": "#FFFFFFFF" }, "Alert 1": 0, "Show picture": true, "Picture URL": "https://i.imgur.com/eZdRSQU.png", "Show info (All, Bar, Value)": "All", "Postition": { "X-axis": 0.035, "Y-axis": 0.007 }, "Maximum Player Alerts": 6, "Remove after offline days": 0 }
官方配置示例
{
"Lower Range Color Value": {
"Bar Color": "#bce8df",
"Font Color": "#FFFFFFFF"
},
"Middle Range": {
"Starting Value": 300,
"Bar Color": "#80e8d3",
"Font Color": "#FFFFFFFF"
},
"Higher Range": {
"Starting Value": 600,
"Bar Color": "#34ebc6",
"Font Color": "#FFFFFFFF"
},
"Alert 1": 0,
"Show picture": true,
"Picture URL": "https://i.imgur.com/eZdRSQU.png",
"Show info (All, Bar, Value)": "All",
"Postition": {
"X-axis": 0.035,
"Y-axis": 0.007
},
"Maximum Player Alerts": 6,
"Remove after offline days": 0
}#669933 : the default transparancy will be used
#669933FF : a custom non-transparant color更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。