Bukkit/Bukkit — pull request #732 by JadenKorr (2012-12-12 20:49:16+00:00)
Title: Add Wake and Sleep API. Fixes BUKKIT-3155

After a few request on #bukkitdev IRC channel have been made I've added a wake and sleep API.
Allow the plugin developer to wake up a player and put them into bed(with or without overriding the distance check).

Ticket: https://bukkit.atlassian.net/browse/BUKKIT-3155
Bukkit PR: -
Test plugin: https://github.com/JadenKorr/SleepWakeTestPlugin