I think you are ignorant of history. Which country are you from?
Raja of Kashmir did not set any conditions.
After Kashmir joined India, Pakistan invaded Kashmir.
A ceasefire was reached with two conditions (UN resolutions):
(1) Pakistan must vacate the occupied territory i.e. Pakistan Occupied Kashmir (POK)
(2) After Pakistan vacates POK, a plebiscite must be conducted so that the people decide whether they want to join India or Pakistan
Pakistan did not honour its commitment. It did not vacate POK. Moreover, it replaced the natives of POK with Muslims from other regions of Pakistan. It hardly conducted one or two elections in all the 60 years in POK.
India did not agree for plebiscite because Pakistan did not vacate the POK.