Hi, thank you for this Plugin.
I have a Problem that the BBQ, Furnace and Fireplace turning on aswell at dawn, eventhought I have them set to false:
[ConsumeType.Fireplace] = new ConfigData.LightSettings
{
ConsumeFuel = true,
Enabled = false,
Permission = true,
Owner = true
I'm not a pro at this but isn't there a line missing at 452 ((Owner)? It's also default set on false on Permission):
[ConsumeType.Furnace] = new ConfigData.LightSettings
{
ConsumeFuel = true,
Enabled = false,
Permission = false
As I said I'm not a pro at this might I miss something!
I didnt Change anything than "true/false" on some items.
Cheers

NightLantern
Automatically turns ON and OFF lanterns after sunset and sunrise
Total Downloads: 20,602 - First Release: Jun 27, 2015 - Last Update: Jun 11, 2018
- 5/5, 52 likes
-
-
-
-
Hey all so I see an issue and maybe I'm not doing something correctly.
I set the permissions for each of the items under a primary group. One user has his base and I have mine. We are NOT authorized at one another tool cupboard "separate bases".
I set /lantern tunalight global - it outputs OFF. ( guessing this means global tunalight off )
I want my lights to turn on and off based on the config and the other player doesn't so he runs the command "/lantern tunaligh" this outputs to him that they are OFF.
I run the command 2 times so that it outputs ON.
(At this point mine should follow the config and his should not follow the config because they are set to OFF.)
He then runs around his base tuns on all of his tunalights manually since his are set to OFF on the automation.
I set the server time to 5 min before the config "on" time and my base lights come on ( perfect ).... I then change the server time to 5 min before config "off" time. My base and his bases tunalights tun off....
Any help would be great!Attached Files:
-
-
Not sure whats happening but my lanterns will NOT toggle on or off auto and I cant turn them on.
Attached Files:
-
-
"Time autolights are disabled": 9.0,
"Time autolights are enabled": 18.5,
should be
"Time autolights are disabled": 7.5,
"Time autolights are enabled": 18.5,
[DOUBLEPOST=1515266207][/DOUBLEPOST]
Both can use this configAttached Files:
-
-
I am trying to keep the lights on all the time since inside buildings is dark
-
Notepad++ v7.5.4 - Current Version
https://sourceforge.net/projects/npp-compare/ -
The lights turned on/off at the time I change the config to.
Issue was it turn on and off the other players lights even tho I set Global off and only toggled mine to be enabled.
I have since switched to ZoneManager for auto lights.... -
How do I make it so that the furnaces do use fuel and dont auto turn off and on? All I have done was insert the plug in. Please be thourough as I have no idea what I am doing.
-
@k1lly0u bug report:
as example Fireplace config
Code:"Fireplace": { "This type is enabled": true, "This type consumes fuel": false, "This type can be toggled by the owner": true, "This type requires permission to be toggled by the owner": false },
if u use consumes fuel to true, it works normal if u self turn on fireplace it burns the 1x wood
i testet it just for Fireplace and BBQ, -
What does it mean code text? I'm supposed to try and edit the cs file?
-
Code:"BBQ": { "This type is enabled": true, "This type consumes fuel": true, "This type can be toggled by the owner": true, "This type requires permission to be toggled by the owner": true }
Code:Could not initialize plugin 'NightLantern v2.0.92' (ArgumentException: An element with the same key already exists in the dictionary.) at System.Collections.Generic.Dictionary`2[Oxide.Plugins.NightLantern+ConsumeType,Oxide.Plugins.NightLantern+ConfigData+LightSettings].Add (ConsumeType key, Oxide.Plugins.LightSettings value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.NightLantern.UpdateConfigValues () [0x00000] in <filename unknown>:0 at Oxide.Plugins.NightLantern.LoadConfig () [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
Attached Files:
-
-
-
I am running a PVE server,I think the previous plugin program is the best. -
Can you set up a config parameter that disables the time control and enables the lanterns on always @k1lly0u ??
-
What about skull firepits and fireplaces? I do not see anything in the config to true or false those units.
-
Code:"Firepit": { "This type is enabled": true, "This type consumes fuel": true, "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": true, "This type can be toggled by the owner": true, "This type requires permission to be toggled by the owner": true },
-
Where is the config that shows that? Mine only lists
"ConsumeFuel": true,
"LightTypes": {
"Campfires": true,
"CeilingLight": true,
"Furnace": false,
"JackOLantern": true,
"Lanterns": true,
"LargeFurnace": false,
"TunaLight": true
},
"SunriseHour": 8.5,
"SunsetHour": 19.5