You stumbled upon one of my first projects
This project is abandoned, outdated, poorly made and has huge room for improvement.
Feel free to clone it and improve it for practice, you could also use it as is. (It should still work)
BedUtils
A simple light-weight plugin that modifies beds for a better multiplayer experience.
BedUtils contains some useful modules to make the multiplayer experience a little bit better. Setting a percentage for an amount of players needed to get to the next day is easy with this utility.
Useful
For developers, probably the most useful part of this open-source project is the way to calculate if the player is too far from a bed to go to sleep, you can check that out here. Thanks to InetAddress for helping me out.
Downloading
Downloads are easy, check out the releases section or head to Spigot.
Permissions
You can fork this without permission, don't redestribute. PRs are well recivied and suggestions through the issues tab too.