When the player sleeps in a bed, they get healed and fed. Just place down a bed and your done. The plugin does the rest.
Add support for permissions Add XP level support
http:dev.bukkit.org/bukkit-mods/sleepheal/files/