I have a minecraft Varo server and I don't want to be able to work with gold ops. I can use the testfor comman to check whether someone has a gold apple in their inventory. However, the game can't differentiate between OP gold apple and normal gold apple. If anyone knows how to use a testfor command to search only for op gold apples and not normal gold apples then I would also be helped. Of course, the best thing would still be to ban the item directly
As if you want to remove the op golden apple entirely, you can simply use this command
/ clear @a enchanted_golden_apple
Enchanted_golden_apple does not exist in 1.8.9. That is exactly my problem