欢迎加入!

注册后,您将能够与我们社区的其他成员进行讨论、分享和私信。

无论您是想寻求帮助、分享经验,还是结识志同道合的朋友,我们都期待您的参与!一起探索更多精彩内容吧。

立即注册! 加入群聊
  • 所有的免费插件都是同步外网更新,所有都是最新版!
夜灯

同步更新 夜灯 同步更新

没有下载权限
购买会员
夜灯在日落后自动打开灯笼/烤箱/探照灯,然后在日出后关闭它们。
日落和日出时间可以在配置文件中设置;默认值为 7.5 和 18.5。这些值确定何时应打开和关闭灯光。
通过更改配置中的各种类型来启用要自动化的光源类型。"This type is enabled"
选择使灯消耗燃料,或通过更改配置中的各种灯类型来免费运行。"This type consumes fuel"
允许玩家通过在配置中更改来切换他们想要自动化的灯光类型。这只会影响他们自己放置的光源。"This type can be toggled by the owner"
当插件启用时,开始在烤箱中烹饪物品的选项。这仅在禁用时使用"This type starts cooking items when toggled by plugin""This type consumes fuel"
如果玩家在自动期间切换了光源,则可选择消耗燃料。如果启用并且玩家切换烤箱,则烤箱将开始消耗燃料"This type consumes fuel when toggled by a player"
选项,要求只有具有正确权限的玩家才能通过更改配置来切换自己的灯光类型。"This type requires permission to be toggled by the owner"
当玩家打开/关闭某种光源类型时,该类型的所有光源也将被打开/关闭(如果在自动化时间范围内)。
内置对 No Fuel Requirements 的支持

权限​

此插件使用权限系统。要分配权限,请使用 。要删除权限,请使用 。oxide.grant <user or group> <name or steam id> <permission>oxide.revoke <user or group> <name or steam id> <permission>
  • nightlantern.global- 需要在整个服务器上切换自动照明
  • nightlantern.campfire - 需要在您拥有的篝火上切换自动化
  • nightlantern.firepit - 需要在您拥有的 Firepits 上切换自动化
  • nightlantern.fireplace - 需要在您拥有的壁炉上切换自动化
  • nightlantern.furnace - 需要在您拥有的炉子上切换自动化
  • nightlantern.largefurnace - 需要在您拥有的大型 funacaes 上切换自动化
  • nightlantern.lanterns - 需要切换您拥有的灯笼的自动化
  • nightlantern.jackolantern - 需要切换您拥有的南瓜灯的自动化
  • nightlantern.tunalight - 需要为您拥有的金枪鱼罐头灯切换自动化
  • nightlantern.searchlight - 需要在您拥有的探照灯上切换自动化
  • nightlantern.refinery- 需要切换您拥有的炼油厂的自动化
  • nightlantern.cursedcauldren- 需要切换您拥有的诅咒坩埚的自动化
  • nightlantern.chineselantern- 需要为您拥有的中国灯笼切换自动化

聊天命令​

  • /lantern global- 打开/关闭整个服务器的灯光和自动化
  • /lantern campfire- 在您拥有的篝火上切换自动化
  • /lantern firepit- 在您拥有的火坑上切换自动化
  • /lantern fireplace- 在您拥有的壁炉上切换自动化
  • /lantern furnace - 在您拥有的炉子上切换自动化
  • /lantern largefurnace- 在您拥有的大型功能上切换自动化
  • /lantern lanterns- 在您拥有的灯笼上切换自动化
  • /lantern jackolantern - 在您拥有的南瓜灯上切换自动化
  • /lantern tunalight - 在您拥有的金枪鱼罐头灯上切换自动化
  • /lantern searchlight- 在您拥有的探照灯上切换自动化
  • /lantern refinery - 在您拥有的炼油厂上切换自动化
  • /lantern cursedcauldren- 在您拥有的被诅咒的大锅上切换自动化
  • /lantern chineselantern- 在您拥有的中国灯笼上切换自动化

配置​

设置和选项可以在目录下的文件中进行配置。建议使用编辑器和验证器,以避免格式问题和语法错误。NightLanternconfig
Copy
{
"Light Settings": {
"BBQ": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"Campfire": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": true,
"This type starts cooking items when toggled by plugin": true,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"Firepit": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"Fireplace": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"Furnace": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": false,
"This type requires permission to be toggled by the owner": false
},
"JackOLantern": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"Lanterns": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"LargeFurnace": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"Searchlight": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"TunaLight": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"Refinery": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"CursedCauldren": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
},
"ChineseLantern": {
"This type is enabled": true,
"This type consumes fuel": false,
"This type consumes fuel when toggled by a player": false,
"This type starts cooking items when toggled by plugin": false,
"This type can be toggled by the owner": true,
"This type requires permission to be toggled by the owner": true
}
},
"Time autolights are disabled": 7.5,
"Time autolights are enabled": 18.5,
"Version": {
"Major": 2,
"Minor": 1,
"Patch": 0
}
}

对于开发人员​

钩​

object OnNightLanternToggle(BaseEntity entity, bool toggleOn) // Called prior to toggling a light
下载

帮助Toggle 下拉列表
62.8K 下载
523 名观察者
灯笼时间日落日出晚上
更多 k1lly0u 的产品

服务器奖励​

以各种方式赚取奖励积分,并将其用于 GUI 奖励商店中的许多不同选项

Rust 套件​

物品套件、自动套件、套件冷却时间等

图片库​

用于管理图像的插件 API
作者
xiaoguan
下载
0
查看
12
首次发布
最后更新

评分

0.00 星 0 星

来自xiaoguan的更多资源

后退
顶部