只有 (zhǐyǒu) means "only if", and is used with 才 to emphasize that only one course of action will bring about the desired outcome.
Basic Structure
只有 + essential condition + 才 + desired outcome
Examples
Zhíyǒu nǔlì cái nénɡ zuò hǎo ɡōnɡzuò.
只有 努力 才 能 做 好 工作。
只有 努力 才 能 做 好 工作。
Only with hard work is it possible to do a good job.
Zhíyǒu jīnɡjì fāzhǎn cái huì yǒu ɡènɡ hǎo de mínɡtiān.
只有 经济 发展 才 会 有 更 好 的 明天。
只有 经济 发展 才 会 有 更 好 的 明天。
Only if the economy develops will it be possible to have an even better tomorrow.
Zhíyǒu duō chīfàn cái nénɡ chánɡɡāo.
只有 多 吃饭 才 能 长高。
只有 多 吃饭 才 能 长高。
Only if you eat more will you be able to grow tall.