插件介绍
控制灯光状态而不使用燃料(大多数设备也是如此)
This plugin provides a way to automate light control and toggle lights from the server console and via chat command using no fuel. There is a config to allow you to pick and choose what is toggle. There is also options to automate turning lights on and on at night.
A big thank you to Wulf and k1lly0u for their awesome lights plugins. If you need fine grained control of lights they are both superior options. If you want fuel use for lighting AutoFuel is a awesome choice. My understanding of lights came directly from reading these plugins and it inspired me to make this low load and slightly more inclusive of entities plugin. If it generates lights or effects I tried to include it. I include a lot of non-light devices (Fog Machine, Snow Machine, Spooky Speakers, Strobe Lights) to allow operators to have fun with players. With each update as new powered devices are added I will add them (Fluid Pump and Switches, Water Pumps, Electric Water Purifiers, Electric Heaters). Just Added Siren Light and Flasher Lights (Thank you FastBurn for the code). Added Smart Switches and Smart Alarms for when they actual become useful.
I left out turrets and SAMS as there are already plugins specifically for them.
lightson.allowedGranting that to a group or player allows them to toggle the lights with the /lights command (an admin command). For example:oxide.grant group admin lightson.allowed
主要用途
主要用于lights、control、hats、cctv等服务端功能。 本插件由 发布,当前目录记录版本为 v1.6.19,uMod 累计下载 18,499 次。
适用场景
- 希望改善玩家交互与日常体验的社区服务器
功能分类
查看 uMod 官方英文简介
Control light state with no fuel usage (and most devices too)
权限节点
lightson.allowedGranting that to a group or player allows them to toggle the lights with the /lights command (an admin command). For example:oxide.grant group admin lightson.allowed
If you want VIP support NightLanterns is a good alternative. I am trying to avoid the overhead of fine grained permissions.
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
lights onTurn on any lights that are off and set to true in the config
lights offTurn off any lights that are off and set to true in the config
There is a second parameter where you can specify a portion of the light source short name to force all of them to the on or off state ignoring the config.
Example:
lights on fireplaceTurn on all fireplaces regardless of the config settings
配置说明
Console Output set to false will stop message (other than errors and night toggles) from logging in the console.
These can be set to true or false in the json which lets you determine what is turned off and on automatically:
BBQs
Campfires
Candles
Cauldrons
Ceiling Lights
CCTVs
Deluxe Christmas Lights
Elevators
Fire Pits
Fireplaces
Flasher Lights
Fluid Splitters
Fog Machines
Furnaces
Hobo Barrels
Heaters
Igniters
Lanterns (which include Chinese Lanterns, Tuna Can Lamps, Lanterns, and Jack'O Lanterns)
Mixing Tables
Neon Signs
Reactive Targets
Refineries
RF Broadcasters
更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。