Disables beds skipping the night. Still allows for players to set spawnpoints. Install on the server when using a multiplayer server, and install on the client for singleplayer.
Features:
Disable skipping the night with beds
Works with multiplayer servers and singleplayer worlds
Doesn't restrict any other vanilla bed functionality
Still allows sleeping in beds and setting spawn points