China is imposing a curfew for minors to curb online gaming addictions, in an attempt to “protect the physical and mental health of minors.”

Anyone under 18 is now banned from playing games online between the hours of 10pm and 8am, and are restricted to 90 minutes a day, or up to three hours on weekends and public holidays, according to a notice released by China’s Press and Publication Administration on Tuesday.

The government is also introducing a cap on how much people can spend on games – children under eight can’t pay to play, while those aged 8 to 16 are allowed to fork over up to 200 yuan (£22) per month, an amount that doubles to 400 yuan (£45) for those aged 16 to 18.

Authorities require players to register with their real names and state identification numbers.

It’s a way for the government to enforce the rules, though Beijing says managing gaming requires cooperation from with online gaming platforms, parents, and schools.