A message is still sent on servers where there is only one player (mostly for testing purposes). It says that there are no other players online after the player enters a bed.
Version 1.0.1
Added the plugin.yml that I forgot and changed a bit of code.
Version 1.0
Created the plugin. It alerts everyone when someone enters a bed and says who isn't in a bed.