ModDetector 图标

ModDetector

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 ModDetector-1.0.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/iron-moddetector
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2

平台: bukkit folia paper spigot

标签: game-mechanics technology

资源介绍

ModDetector

Packet-level cheat mod detection for Minecraft servers. Identifies disallowed client modifications using a translation key exploit — without any client-side agent.

PacketEvents
Paper/Spigot
Java


How it works

The plugin exploits Minecraft's sign editing flow to probe the client's translation table. If a mod is installed, it replaces translation keys with its own strings — betraying its presence.

Detection flow (at connection time):

  1. A BlockUpdatePacket is sent to place a virtual sign near the player
  2. An OpenSignEditorPacket is sent, opening the sign editor on the client
  3. A SignUpdatePacket is sent containing the mod's translation key as the sign text
  4. The client echoes the sign content back — if the value differs from the default fallback, the mod is present

The entire handshake is invisible to the player and occurs silently at connection time. No GUI is shown, no chat messages are sent during detection.


Detected mods

The following mods are blocked out of the box. You can extend the list in config.yml.

Mod Translation Key
Meteor Client key.meteor-client.open-gui
Item Scroller itemscroller.gui.button.config_gui.generic
Freecam key.freecam.toggle
Accurate Block Placement text.autoconfig.accurateblockplacement.title

Configuration

All settings live in plugins/ModDetector/config.yml.

# Fallback value used to detect mod presence
default: "fallb"

# Message shown to the player on detection
# Supports MiniMessage, modern & legacy ampersand codes
kick-message:
  - "&cYou are using a cheat mod that is not allowed on [Your Server] (%mod%!), if you join"
  - "with this again you will be banned!"

# Mod translation keys to detect
disallowed-mods:
  "Meteor": "key.meteor-client.open-gui"
  "Item Scroller": "itemscroller.gui.button.config_gui.generic"
  "Freecam": "key.freecam.toggle"
  "Accurate Block Placement": "text.autoconfig.accurateblockplacement.title"

# Enable packet & result logging for debugging
debug: false

Color code support

The kick-message field supports all three Minecraft color systems:

  • MiniMessage<red>, <#ff4455>
  • Modern ampersand&c, &#ff4455
  • Legacy ampersand&c, &x&f&f&4&4&5&5

Adding custom mods

Any mod that registers Minecraft translation keys can be detected. Find the key in the mod's language files (usually in assets/<modid>/lang/en_us.json) and add it to disallowed-mods:

disallowed-mods:
  "Your Mod Name": "your.mod.translation.key"

Note: The default field must be set to a string that is never a valid translation output — the default "fallb" is safe for vanilla clients. Do not change it unless you understand the detection logic.


Requirements

Requirement Version
Paper / Spigot 1.19+
PacketEvents Latest
Java 17+

Installation

  1. Download and place ModDetector.jar into your plugins/ folder
  2. Download PacketEvents and place it in plugins/ as well
  3. Start the server — config.yml will be generated automatically
  4. Edit config.yml to configure your kick message and disallowed mods
  5. Reload with /reload or restart the server

Inspired by PvPClub's detection approach.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
enzomtp's WynnPack V2

价格:0 墨喵币
下载量:0

查看详情
Immersive Visual Overhaul

价格:0 墨喵币
下载量:0

查看详情
Meteors

价格:0 墨喵币
下载量:0

查看详情
Vanillita

价格:0 墨喵币
下载量:0

查看详情