简介
IdBan 是一款 Minecraft 的服务端管理模组,通过识别翻译键来检测并阻止特定的客户端模组。
它允许服务器管理员强制执行模组限制,而无需安装客户端或进行侵入式扫描——检测是利用游戏内置的 UI 翻译行为完成的。
功能:
-
使用翻译键探测检测客户端模组
-
自动踢出运行了禁用模组的玩家
-
完全可配置的检测与封禁系统
-
支持模组 ID 封禁、关键词检测和翻译键探测
-
适用于任何具有自定义翻译的模组
-
仅服务端(无需安装客户端)
工作原理
Minecraft 允许使用以下方式定义 UI 文本(聊天、告示牌、Boss 栏、物品名称等):翻译键 按键绑定占位符。客户端在将数据发送回服务器之前,会将这些占位符替换为本地化或配置的值。
检测方法:服务器向玩家发送一个包含翻译键的界面元素(例如告示牌或铁砧重命名字段)。
示例:sodium.option_impact.low
如果玩家安装了相应的模组:
sodium.option_impact.low → Low
如果未安装该模组:
sodium.option_impact.low → sodium.option_impact.low
通过检查占位符是否被替换,服务器可以确定客户端是否存在该模组。
这是因为:
- 模组会注册自己的翻译键
- 客户端会自动解析它们
- 服务器接收已解析的值
Introduction
IdBan is a server-side moderation mod for Minecraft that detects and blocks specific client-side mods by identifying their translation keys.
It allows server owners to enforce mod restrictions without requiring client installation or intrusive scanning — detection is performed using built-in game UI translation behavior.
Features:-
-
Detects client-side mods using translation key probing
-
Automatically kicks players running disallowed mods
-
Fully configurable detection and ban system
-
Supports mod ID bans, keyword detection, and translation probes
-
Works with any mod that has custom translations
-
Server-side only (no client install required)
How It Works
Minecraft allows UI text (chat, signs, bossbars, item names, etc.) to be defined using: Translation keys Keybind placeholders The client replaces these placeholders with localized or configured values before sending data back to the server. Detection Method The server sends the player an interface element (such as a sign or anvil rename field) containing a translation key.
Example: sodium.option_impact.low
If the player has the corresponding mod installed:
sodium.option_impact.low → Low
If the mod is not installed:
sodium.option_impact.low → sodium.option_impact.low
By checking whether the placeholder was replaced, the server can determine whether the mod exists on the client.
This works because:
- Mods register their own translation keys
- The client automatically resolves them
- The server receives the resolved value
评论 0
登录后参与评分
还没有评论,来抢沙发吧