nagi_is_here

Create a professional Minecraft Paper plugin named nModBlocker for Paper 1.21.11 / 26.1.2 using Java 21+.

Plugin Purpose:

This plugin should detect and block unauthorized Minecraft clients and mods when players join the server.

The plugin must scan the player's installed mods/client information during the login process and compare it with a configurable blacklist.

---

Main Features:

  1. Mod & Client Detection System

Detect player's installed mods and hacked clients when they connect.

Check all detected mods/clients against config.yml blacklist.

Detection should happen before the player fully joins the server.

If blocked software is found, prevent the player from joining.

---

  1. Multiple Detection Handling

Important:

Do NOT kick players one by one for each detected mod.

Example:

Player has:

Wurst Client Meteor Client Baritone Raven B+

The plugin should detect all of them and send one kick message:

Unsupported Mods Detected:

  • Wurst Client
  • Meteor Client
  • Baritone
  • Raven B+

Please remove these modifications and rejoin the server.

The player should only need to remove all blocked modifications once.

---

  1. Config System

Create a fully customizable config.yml.

Example:

settings: enabled: true kick-player: true

messages: kick-message: - "&c&lINDIANC" - "" - "&fUnsupported Mods Detected:" - "&c%mods%" - "" - "&eRemove them and Rejoin the Server."

blocked-mods: - "Wurst Client" - "LiquidBounce" - "Vape Client"

Allow server owners to add/remove blocked mods easily.

---

Default Blocked Clients/Mods:

Add these by default:

Wurst Client LiquidBounce Vape Client Vape V4 Vape Lite Rise Client Sigma Client Sigma 5 Impact Client Future Client Meteor Client Aristois Inertia Client BleachHack Wolfram Client Flux Client Flux B13 Exhibition Client Ares Client Kami Blue Kami Client Phobos Client Pyro Client SalHack Baritone ThunderHack Raven B+ Raven B4 Raven XD Raven Client Dortware Azura Client Novo Client Tenacity Client Augustus Client Moon Client Abyss Client Astolfo Client Hanabi Client Jigsaw Client Kronos Client Spartan Client Vestige Client Drip Client Eternal Client CheatBreaker Ghost Client Null Client LiquidSense NightX Client

---

  1. Permission System

Add bypass permission:

nmodblocker.bypass

Players with this permission should not be checked.

---

  1. Commands

Create:

/nmodblocker reload

Permission:

nmodblocker.admin

Function:

Reload config.yml

Reload blocked mods list

---

  1. Logging System

Console should show:

Example:

[nModBlocker] Player NotNagi attempted to join. [nModBlocker] Detected blocked modifications:

  • Wurst Client
  • Baritone

[nModBlocker] Player kicked successfully.

---

  1. Discord/Webhook Support

Add optional webhook support.

Config:

webhook: enabled: false url: ""

Send detection logs:

Player:

NotNagi

Detected:

Wurst Client Meteor Client

Action:

Kicked

---

  1. Performance Requirements

Async detection where possible.

No lag during player join.

Compatible with:

Paper 1.21.11

Java 21+

Velocity proxy environments.

Use clean event handling.

Avoid false server crashes if detection fails.

---

  1. Plugin Structure

Create:

nModBlocker │ ├── Main.java ├── listeners/ │ └── PlayerLoginListener.java │ ├── commands/ │ └── ReloadCommand.java │ ├── manager/ │ └── ModDetectionManager.java │ ├── config/ │ └── ConfigManager.java │ └── webhook/ └── WebhookManager.java

---

  1. Extra Requirement

The detection system should collect all blocked modifications first, then decide the action.

Flow:

Player joins ↓ Scan client/mod information ↓ Compare with blacklist ↓ Collect all matches ↓ If matches > 0 ↓ Kick player with complete list ↓ Otherwise allow join

---

Build the plugin as a production-ready anti-cheat style mod blocker with clean code, comments, and Maven/Gradle build support.

Kodari AI
KodariJul 30 at 5:33 am 3
NModBlocker
A Paper plugin that detects blocked client brands and mod identifiers during player login, collects every matching entry, and prevents unauthorized clients from joining. It provides configurable blacklist and kick messages, bypass and administration permissions, reload commands, console audit logging, optional asynchronous Discord webhook notifications, and lightweight login-time detection designed to run safely behind Velocity proxies.
  1. Create the Gradle and Maven build configurations for Java 21 and Paper.

  2. Implement configuration, blacklist matching, login blocking, reload command, and webhook logging.

  3. Add plugin metadata and a fully populated default configuration.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
pom.xml
settings.gradle
Code
11 562
src/main/java/com/nmodblocker/Main.java
package com.nmodblocker;

import com.nmodblocker.commands.ReloadCommand;
import com.nmodblocker.config.ConfigManager;
import com.nmodblocker.listeners.PlayerLoginListener;
import com.nmodblocker.manager.ModDetectionManager;
import com.nmodblocker.webhook.WebhookManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class Main extends JavaPlugin {
    private ConfigManager configManager;
    private ModDetectionManager modDetectionManager;
    private WebhookManager webhookManager;

    @Override
    public void onEnable() {
        this.saveDefaultConfig();

        this.configManager = new ConfigManager(this);
        this.modDetectionManager = new ModDetectionManager(this, this.configManager);
        this.webhookManager = new WebhookManager(this, this.configManager);

        Bukkit.getPluginManager().registerEvents(
                new PlayerLoginListener(this, this.configManager, this.modDetectionManager, this.webhookManager),
                this
        );

        ReloadCommand reloadCommand = new ReloadCommand(this, this.configManager);
        if (this.getCommand("nmodblocker") != null) {
            this.getCommand("nmodblocker").setExecutor(reloadCommand);
        }

        this.getLogger().info("nModBlocker enabled.");
    }

    public void reloadPluginConfig() {
        this.reloadConfig();
        this.configManager.reload();
    }

    public ConfigManager getConfigManager() {
        return this.configManager;
    }

    public ModDetectionManager getModDetectionManager() {
        return this.modDetectionManager;
    }

    public WebhookManager getWebhookManager() {
        return this.webhookManager;
    }
}