Blocks the use of OP Gaps (Enchanted Golden Apples) in Minecraft.
A lightweight Minecraft Spigot/Paper plugin that disables the use of enchanted golden apples (OP-Gapples).
Ideal for survival or PvP servers where you want to keep combat more balanced.
config.yml.jar file plugins/ folder config.yml)# If true, enchanted golden apples (OP-Gapples) are blocked
noopgap: true
noopgap: true → Players cannot eat enchanted golden apples
noopgap: false → OP-Gapples work normally
When a player tries to eat an enchanted golden apple:
§cOP-Gapples sind deaktiviert!
(Translation: “OP-Gapples are disabled!”)
You can easily modify this message in the code to match your server language.
✅ Works on Spigot, Paper, and Purpur servers
🧱 Tested on Minecraft 1.18+
⚙️ Requires Java 17+
Main class:
de.scholle.opGapBlocker.OpGapBlocker
Main event:
PlayerItemConsumeEvent