v2.7.0 (previous snapshot released only on GitHub)
Added a method to set the 'base time speed' that SmoothSleep will operate with. This allows other plugins to modify time and be able to tell SmoothSleep what base speed to apply modifications to. Thanks to @NanoAi for this idea and testing the implementation.
v2.7.1
If configured to feed players overnight, SmoothSleep will now add saturation if the food level is maxed out to prevent hunger from depleting naturally. Thanks to @wolfling_ for pointing this out.
Modified some placeholders. Health bar and percents previously only considered max life to be 20, so changed it to accept other values. This may make the bar slightly less accurate, but it's a start.
Caveats:
The modified feed cycles will add 1.0 saturation level for each iteration that hunger is applied. This allows reaching max saturation of 20.0, which may be a little overpowered. It probably makes more sense to only allow it to add up to 1.0 saturation (or a configurable value). Of course, this will only affect you if you have the plugin configured to feed the players overnight.