HomeJavaModsNoOPGap
NoOPGap

🍏 OpGapBlocker

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.


⚙️ Features


📁 Installation

  1. Download the plugin .jar file
  2. Place it in your server’s plugins/ folder
  3. Start or reload your server
  4. A default configuration file will be generated automatically

⚙️ Configuration (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


💬 Example Message

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.


🧰 Compatibility

🧩 Developer Information

Main class: de.scholle.opGapBlocker.OpGapBlocker

Main event: PlayerItemConsumeEvent

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more