Polymart is now Voxel Shop! We're upgrading many features of the site, and during this open beta you will experience occasional bugs. Learn more  
ModBlocker icon

ModBlocker 1.0

Restrict which mods are allowed on your server.

ModBlocker
Restrict which mods are allowed on your server.



📌 Overview
ModBlocker is a lightweight yet powerful Paper plugin that gives server administrators full control over which client-side mods players are allowed to use. Whether you're running a competitive PvP server, an RPG experience, or a vanilla-faithful community, ModBlocker ensures a fair and consistent environment for all players.





⚙️ Features


  1. Mod Detection — Detects client modifications via channel-based handshake inspection (e.g. wurst:init → identifies the wurst client)
  2. Blacklist & Whitelist Modes — Choose between blocking specific mods outright or only allowing an approved list via use-whitelist-mode
  3. Per-Permission Bypass — Grant trusted players or staff the ability to bypass restrictions using the modblocker.bypass permission node
  4. Custom Kick Messages — Define fully customizable kick messages using MiniMessage format with {player} and {mods} placeholders
  5. Configurable Check Delay — Adjustable tick delay before channel inspection on join, since mod channels aren't registered instantly
  6. Debug Mode — Enable debug logging to see all registered player channels in the console
  7. Reload Support — Reload configuration at runtime without restarting the server via /modblocker reload

 





🔧 Commands


/modblocker listDisplays all currently blocked or whitelisted mods depending on the active modemodblocker.admin
/modblocker check Checks what mods a connected player has registeredmodblocker.admin
/modblocker add Adds a mod to the active blacklist or whitelist at runtimemodblocker.admin
/modblocker remove Removes a mod from the active blacklist or whitelist at runtimemodblocker.admin
/modblocker reloadReloads the plugin configuration from diskmodblocker.admin

 





🔑 Permissions


modblocker.adminGrants access to all ModBlocker commands (list, check, add, remove, reload)OP
modblocker.bypassBypasses all mod restrictions — useful for trusted players or stafffalse

 





📄 Configuration




# ============================================================
# ModBlocker — Configuration
# Block players from joining with certain client mods
# ============================================================
settings:
# Delay (in ticks) before checking a player's channels after join.
# 40 ticks (2 seconds) is recommended — channels aren't registered instantly.
check-delay-ticks: 40
# Whitelist mode: if true, only mods in 'whitelisted-mods' are allowed.
# If false, only mods in 'blocked-mods' are blocked (blacklist mode).
use-whitelist-mode: false
# Enable debug logging to see all registered channels in console
debug: false

# Blacklist mode — common hack client IDs:
blocked-mods:
- wurst
- meteor-client
- inertia
- aristois
- kami
- lambda
- xray
- killaura

# Whitelist mode — only these mods are allowed (minecraft/paper/bukkit always allowed)
whitelisted-mods:
- fabric
- optifine
- sodium
- lithium
- iris

# Messages — MiniMessage format | Placeholders: {player}, {mods}
messages:
kick-message: |
ModBlocker

Unauthorized mods detected:
{mods}

Please remove them before joining.
no-permission: "You don't have permission to use this command."




🖥️ Requirements


  1. Server Software: Paper (1.19+)
  2. Java: Java 17 or higher
  3. Dependencies: None — completely standalone

 




 


Found a bug or have a feature request? You can contact me on my Discord !
Owned
Ready to download
This resource is already attached to your account. You can download the latest file any time.

security

admin

modblocker

mod