NightLantern

Automatically turns ON and OFF lanterns after sunset and sunrise

Total Downloads: 20,626 - First Release: Jun 27, 2015 - Last Update: Jun 11, 2018

5/5, 52 likes
  1. Its not my plugin you would be best to talk to the coder if you want that added or request someone to make you a custom plugin
     
  2. k1lly0u updated NightLantern with a new update entry:

    2.0.0

     
  3. This is great, is it possible to add an option so that individuals could be granted permission to use?
    The default would be set so that everyone can use it, otherwise it can be set to 'false' so it's restricted.
    And then, admin would grant the permission to individuals or groups.

    Appreciate the super work!
     
  4. great stuff K1lly0u!
     
  5. because it is not for nothing? all the time stays on everything.
     
  6. Code:
    (22:26:48) | [Oxide] 21:26 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'NightLantern v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
    (22:26:48) | [Oxide] 21:26 [Debug]   at Oxide.Plugins.NightLantern.CheckType (.BaseOven oven) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NightLantern.OnEntitySpawned (.BaseEntity entity) [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 (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  7. The plugin does not work anymore
     
  8. I would pm you a copy of my old one but you disabled that and as someone removed all the copies I posted on here hard to give it to you
     
  9. no is good
     
  10. ok if you dont want the working one ok then
     
  11. k1lly0u updated NightLantern with a new update entry:

    2.0.1


    [DOUBLEPOST=1473404346][/DOUBLEPOST]
    The idea is a good one, however the plugin atm is quite simple and has low impact on server performance and think it should stay that way. I could write another plugin to handle individual auto lights, maybe make it so the user must have wood in the light for it to automatically turn on?
    Added a null check in the method, however if it doesn't work still you may need to make sure you are using the updated config, and not the one from the previous version
    First saying "does not work" helps nobody. If you don't give some information of your issue then how can you expect help from anyone?
    Second, it does indeed work... There are 2 possible cases for it not to work. 1) You didn't delete your old config and it is failing to load, or throwing a error when it tries to do something. 2) If you load it during night time you must wait until the next day for it to reset itself
     
  12. There is also 3rd possible case that goes with the 1st case - reading overview :))))) Sadly cause he just says doesnt work I suggest he knows only how to type, not read cause if he could read: 1, delete config 2, posted full error or some log and explenation..... I just wonder what are people learning these days in school if they cannot read.... Also what server (calling it loudly and out to all SHIT server) these people run since they cannot read overviews.... Just my oponion
     
  13. This is just my opinion I liked the way it was /lant on /lant off especially when you are placing a lantern and normally you would have to wait for the new light cycle or just type /lant on to turn all on... Now its /lantern that turns them off then /lantern to turn them on which is annoying because to turn on lights at night you have to turn all off then /lantern all back on since there is no more /lant on /lant off... I have installed the last update because I personally like the old lant on lant off better.. Just my 2 cents..
     
  14. Maybe we could ask @k1lly0u to shorten these commands and provide back the setting, just like k1lly0u said, this plugin is impacting server performance so...well my 2 cents say that we should be still glad thats its back and sdeveloped by him, personally I love K1ll's work so I am glad he took over ;)
     
  15. really? I've noticed no impact the only thing I noticed is the drop in FPS when around a lot of ceiling lights other then that no issues on my server..
     
  16. Well for me (few versions back) It FrameDroped from 256 to 30 for like 5-10 sec ;) Now It does not drop or nothing, only clients (players) complain as you said about FPS drops but that only comes when so much lights arround, also their PC's are stoneage for me as it sounds ;) This new version is really cool
     
  17. The old version would check the time 20 times a second, and would then loop through all server entities to find lights everytime it wants to switch them on or off. If you have 200k+ entities that could cause a significant lag spike. This version stores all lights in a cache, and checks time 3 times a minute.
    I suppose I can switch the toggle back to have a on and off function, seems a bit trivial though, I mean the actual purpose of the chat command was to disable functionality, not toggle the lights at will :p
     
  18. thanks for the update k1lly0u :)
     
  19. I appreciate the work also on this plugin. It is heading in the right direction in the care of k1lly0u. That is what I have been trying to figure out also about getting it on permission. Good to see I'm not the only one with the concern NiueanTurtle. I think another feature would be neat if you had the option for it to use fuel/wood still.
     
  20. Campfires works without woods
    [​IMG]
    please fix