Question: Why did Jafar need the Sultan's diamond to find out who was the only one who could enter the cave?
Answer: The diamond is a source of power that Jafar uses on that mechanism in order to see the 'one who can enter the cave.'
Toolio