Do a search on "egg eating" and you will find a bunch of suggestions. i tried some with a group of hens i adopted last year. i filled blown eggs with hot mustard and then wasabi. They still ate them right up. i draped off the nesting boxes so it would be dark and they could not see the eggs. i increased their protein, with mealworms, cat food, and yogurt. i gave them extra treats. i tried gathering eggs frequently (like waiting directly behind their vents and grabbing them as soon as they came out).
For me, nothing worked, and i ended up rehoming them. i did not want to try to integrate them into the rest of my flock and have a whole herd of egg eaters.
Sorry! It's a tough habit to break.