This project has moved to Planet Minecraft.
This data pack skips the night if the number of people currently in bed, in the Overworld, is above a configurable threshold. This is mostly useful for servers. It also works during thunder storms to clear the weather, and has consideration for when people arrive in or leave the Overworld via portals or teleportation.
By default, 50% of the people online must be in bed for the night to be skipped. If you'd like to change that, you can find the configuration file at "data\sweet_dreams\functions\config.mcfunction" within the zip file of the data pack.
More information about data packs and how to use them can be found on the official Minecraft Wiki.