介绍
This is a simple server-side mod that will detect meteor client on the client by utilizing this issue. It works very similarly to DonutSMP’s detection.
DISCLAIMER: I am ashamed, but not afraid to admit that this code is 100% made by AI (Claude, Opus 4.6). I did not write this code. Feel free to do whatever you want with this code; it’s not mine.
Once meteorclient patches this issue, or if a better alternative to this mod becomes available, I will make this project unlisted.
How to use
By default, this mod will ban any player who joins the server with meteorclient installed. A check will force-exit any container-gui that the player may be interacting with, so that is something to keep in mind.
Config Options
- action — What happens if meteorclient is detected. KICK disconnects them, BAN runs /ban, ALERT notifies ops.
- checkOnJoin — Run a check when players join. This can be true or false.
- joinCheckDelayMin / joinCheckDelayMax — Random delay range in seconds before the check fires after join.
- periodicCheck — Check players periodically while online. true or false.
- periodicCheckIntervalSeconds — How often periodic checks run in seconds.
- checkTimeoutSeconds — How long to wait for a response before giving up.
- kickMessage — Message shown to kicked players. %player% replaced with their name.
- banMessage — Reason used in /ban command. %player% replaced with their name.
- staffAlertMessage — Alert sent to online players on detection. %player% replaced.
- staffOpLevel — Does literally nothing.
- detectionKeys — Translation key to test. You cannot test more than 1 right now.
A recommended config is below. This will immediately ban a player with meteorclient when they attempt to join. It also won’t mess with exiting container gui’s because the check is immediate. Since players are checked upon joining, there is no need to periodically check players again.
{
"action": "BAN",
"checkOnJoin": false,
"joinCheckDelayMin": 1,
"joinCheckDelayMax": 1,
"periodicCheck": false,
"periodicCheckIntervalSeconds":3600,
"checkTimeoutSeconds": 7200,
"kickMessage": "Disconnected: You have been kicked for the following reason: Cheating. Do not cheat again, or you will be permanently banned.",
"banMessage": "Disconnected: You have been banned for the following reason: Cheating.",
"staffAlertMessage": "%player% was flagged for using a modified client.",
"staffOpLevel": 2,
"detectionKeys": [
"key.meteor-client.open-gui"
]
常见问题
MeteorDetect 支持哪些 Minecraft 版本?
MeteorDetect 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
MeteorDetect 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分