what do you mean????? It is suppose to shut itself off when it is morning. And only turn things on at night. Is that what your problem is? Or will it just not work. And are you using another plug that affects your day and night? If so. What are they. Or what is IT! You need to be more specific asking and telling sir.

NightLantern
Automatically turns ON and OFF lanterns after sunset and sunrise
Total Downloads: 20,603 - First Release: Jun 27, 2015 - Last Update: Jun 11, 2018
- 5/5, 52 likes
-
Lights turn off when morning hits, and THEN when they are supposed to turn back on at night, They do not. only a reload fixes the issue. Although this seems intermittent and doesn't happen on every cycle. But it does happen
This has been happening since this morning. Nothing I have should conflict with NightLantern and never have before. -
Is there a way to prevent Furnaces, campfires and ceiling lights to turn off at the morning? why would i want furnaces to turn off at the morning. .same as ceiling lights that provide light to my plants inside my house.. ? so any way to turn those things off? i want only tuna lamp, lanterns, searchlights and jack'o'lanterns to turn off and on automatically.
-
-
-
Basically I do not run this for Furnaces due to it annoying players smelting. They do not produce much light so are not essential to keep night time ambiance. All these can be set in the JSON.
I think this needs an update for the FirePit.Last edited by a moderator: Nov 9, 2017 -
NightLantern for Rust | Oxide -
Really sick and tired of Dicking around with this Plugin Wulf!!! I like it and I want it.....When it works! But it seldom does for me! I keep getting Crap when I try to config the .cs all the time. No matter what I do..........Here is the logs:
Code:05:15:12) | Unloaded plugin NightLantern v2.0.8 by k1lly0u (05:15:12) | Failed to call hook 'OnServerInitialized' on plugin 'NightLantern v2.0.8' (KeyNotFoundException: The given key was not present in the dictionary.) (05:15:12) | at System.Collections.Generic.Dictionary`2[Oxide.Plugins.NightLantern+ConsumeTypes,System.Boolean].get_Item (ConsumeTypes key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.NightLantern.CheckType (.BaseOven oven) [0x00000] in <filename unknown>:0 at Oxide.Plugins.NightLantern.FindLights () [0x00000] in <filename unknown>:0 at Oxide.Plugins.NightLantern.OnServerInitialized () [0x00000] in <filename unknown>:0 at Oxide.Plugins.NightLantern.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (05:15:12) | Loaded plugin NightLantern v2.0.8 by k1lly0u (05:15:25) | Saved 101,319 ents, serialization(0.00), write(0.02), disk(0.01) totalstall(0.04).
Attached Files:
Last edited by a moderator: Nov 13, 2017 -
-
Is there a way to add the Skull Fire Pit to turn on automatically?? My Camp Fires do but i want the Skull version to work..
-
Can you not add it like so:
Code:case "campfire": return ConsumeTypes.Campfires; case "skull_fire_pit": return ConsumeTypes.Campfires;
-
Wulf Community Admin
-
Note this adds element to the config files....
Not all plugins deal well with config changes when updates occur (this plugin is like that). Removing the old config and lang files and doing a reload will typically get you a clean config to work from (usually). Tweak the config JSON back to how you want it and do another reload to get it active. I recommend taking a back-up of any file before removing it for reference and just in case the plugin does not play nice and recreate it.
Wulf: I was able to help theeye get it working. You might want to take a quick look at what I did as it might save you some coding. It does not have the permission fix another person was working on. If they shares it with me I will happily merge it in. -
Can't download either of those mate the forum itself won't allow you so as to stop apparent nefarious plugins from being added. Soz to be the bearer of bad news.
-
Attached Files:
-
-
I sent both to their respective developers over a week ago in hopes of getting them out there. You can test them on Lost Isle PVE. I tweak the plugins for him. He knows I am nefarious. ;-) I am happy to share them, just pm me. diff them to the original if you want to see what I changed. There is an online one here: Diff Checker
Wulf: if you want the source code I am happy to share it. I just want to see the night light up even more.It is a pretty minor fix honestly.
[DOUBLEPOST=1510563416][/DOUBLEPOST] -
Two things, one is it possible to disable certain items from turning on an off? I tried changing the furnaces, spotlights, etc. to false but they were still turning on. And two it appears though I have it set to false for consume fuel it is still burning fuel?
Code:ConsumeFuel = false, LightTypes = new Dictionary<ConsumeTypes, bool> { {ConsumeTypes.Campfires, true }, {ConsumeTypes.CeilingLight, true }, {ConsumeTypes.Furnace, true }, {ConsumeTypes.LargeFurnace, true }, {ConsumeTypes.JackOLantern, true }, {ConsumeTypes.Lanterns, true }, {ConsumeTypes.TunaLight, true }, {ConsumeTypes.Searchlights, false }
-
hey, i've been trying to add the skull firepit to the mod, not having much luck, any suggestions? or is this coming in an update?
-
@k1lly0u does this override SearchLights plugin on cc?
-
I'm getting a whoo of errors when starting Rust server:
Failed to call hook 'OnPluginLoaded' on plugin 'NightLantern v2.0.8' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.NightLantern.OnPluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NightLantern.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
Freshly installed Rust server with mods, all is up to date. Can't really figure out what is going wrong here.. On the bright side, mod seems to work..Attached Files:
-
-
k1lly0u updated NightLantern with a new update entry:
2.0.9