Move join and quit message functionality into plugins