This version fixes the sleeping issue present in prior versions. The time will now correctly set itself to day when players sleep, based on GameRule.PLAYERS_SLEEPING_PERCENTAGE.
This version resolves an issue I overlooked setting GameRule.DO_DAYLIGHT_CYCLE by using WorldLoadEvent, which does not fire since the plugin loads after the world. Version 1.0.5 resolves this issue.
This version adds support for 1.18 (latest 1.18.2) and should resolve some of the issues as noted in the discussion thread, mainly relating to strange moon phasing and day counters. The configuration has been updated with a list of worlds to enable the plugin.