Hello! I recently have found a forge mod that works similarly to XRay. Instead it is a mini-map that shows you the material and its color, I.E diamond is blue. Either Google "Ellian's Material Detector" or go to [v1.4.6] Ellian's MaterialDetector v1.39 - Minecraft Forum
It does work on SMP!