plugin requested by Bukkit Forums user; sorry it's so messy, it was very late