NightLantern

Automatically turns ON and OFF lanterns after sunset and sunrise

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

5/5, 52 likes
  1. Used that version on page 7, it works now, please update the main download. I feel this is a very easy mistake to make.
     
  2. I'm sorry, could someone tell me in what directory the config file for this would be located? I can't seem to find it. Thank you.
     
  3. My Server>Oxide>Configuration
     
  4. Getting an error
    Error while compiling NightLantern.cs(129,26): error CS106
    1: Type `BaseOven' does not contain a definition for `LookupShortPrefabName' and
    no extension method `LookupShortPrefabName' of type `BaseOven' could be found.
    Are you missing an assembly reference?
     
  5. Durr. Im guessing I have to create it and input config info. I was thinking it was generated by the plugin itself and i wasn't seeing it there. Explains everything. Thanks.
     
  6. the config folder and all other folders will be made once you install oxide and when you upload a plugin to your oxide/plugins folder it will auto make the config file inside the oxide/config folder
     
  7. Huh, strange, it has been doing that for all other plugins I've made and I've installed, but for whatever reason, this one did not create a config file automatically, even after restarting server. I checked the logs, it loads fine, but no config.
     
  8. If you have updated the rust files you need to reinstall oxide again so stop server and install it you can also type version in rcon to see if its installed first if you want
     
  9. [Oxide] 21:37 [Error] NightLantern plugin failed to compile!
    [Oxide] 21:37 [Error] NightLantern.cs(107,26): error CS1061: Type `BaseOven' does not contain a definition for `LookupShortPrefabName' and no extension method `LookupShortPrefabName' of type `BaseOven' could be found. Are you missing an assembly reference?

    Is what i got, from the plugin trying to load
     
  10. The one on the download page has not been updated there are many fixed versions posted use this one

    Make sure you delete config from any other version you installed before uploading this
     
  11. I keep getting this error when I try to load / reload this plugin. :/ Any ideas? Or am I doing something wrong?

    (00:31:00) | [RCON][68.231.231.3:65291] oxide.load NightLantern

    (00:31:00) | [Oxide] 21:30 [Error] NightLantern plugin failed to compile!

    (00:31:00) | [Oxide] 21:30 [Error] NightLantern.cs(129,26): error CS1061: Type `BaseOven' does not contain a definition for `LookupShortPrefabName' and no extension method `LookupShortPrefabName' of type `BaseOven' could be found. Are you missing an assembly reference?
     
  12. Try using the version that Resistance posted a few posts before yours here: NightLantern | Page 9 | Oxide
     
  13. Thanks! Didn't even see that post last night. Works great. Is there a way to only allow them to run if they have fuel in them? (LowGradeFuel / Wood)
     
  14. The plugin no longer works for my server. This is the error I get on Rusty. Can you help?

    [Oxide] 16:37 [Error] NightLantern.cs(129,26): error CS1061: Type `BaseOven' does not contain a definition for `LookupShortPrefabName' and no extension method `LookupShortPrefabName' of type `BaseOven' could be found. Are you missing an assembly reference?

    Oops, just saw the answer, Thanks!
     
    Last edited by a moderator: Aug 6, 2016
  15. Same here.
     

  16. This works for my server thanks!
     
  17. Working perfectly again... thank you.
    Any chance of getting this officially updated...i.e. a new version? Plugin Updater overwrites every time it's used due to the version number...
     
  18. (22:25:58) | [Oxide] 22:25 [Info] [NightLantern v1.2.1] All lanterns turned ON

    (22:38:23) | [Oxide] 22:38 [Info] [NightLantern v1.2.1] All lanterns turned OFF

    NightLantern | Page 9 | Oxide

    Good job
     
  19. grant user XXXX CanControlLanterns permission doesnt exist