Beacon duplicatingFixed

While on my server today I noticed there were 2 beacons in the lighthouse. I noclipped to see what was happening. There was 1 static light not rotating but illuminated while another was illuminated and rotating. Both clipping into each other. To resolve I reloading the plugin and it was sorted. But my server auto restarts daily so wondering what happened.

Suggestion. Any change of incorporating this plugin with either Time of day or lightson so the beacon illuminates at dusk and switches off at dawn?

I will look into the beacons not getting destroyed. As for the time of day, I can add a config option.
thanks sir ..

Merged post

ok recreated fault again it appears when the server restarts it creates a new beacon while the original remains. to fix i need to reload plugin.

2 x beacon
I found a quick fix is to load and unload the plugin using TimedExecute.

"InGameTime-Timer": {
"18:00": "oxide.load LighthouseBeacon",
"09:00": "oxide.unload LighthouseBeacon"

Ive found if the server restarts the original beacon isnt removed.
Locked automatically