Kaaliyan and Jaishankar are like dictators in neighboring villages separately, but in contrast to Kaaliyan, Jaishankar is selfish and bad. Engagement of Jaishankar's sister with Kaaliyan triggers rivalry between the two villages.
Two men get a jar, open it and meet a genie inside it. The genie grants them all they want and they are happy until the genie draws the attention of a smuggling gang while also breaking up one of protagonist's love life.
Enslaved convicts for treason plan escape but get caught by pirates and work for them before gaining their support and fighting back their country's authoritarian rule.