This update will fix alot of things regarding the bossbar. This update took a little longer then expected due to the amount of refactor that has been done in order to have all code being more consistent.
Change log:
fixed issue where bossbar remains visible after using /sleep command
fixed issue where bossbar shows placeholder instead of expected value
fixed issue that bossbar is showing wrong percentage
refactor of code for more consistent approach and better updates