单人反作弊:Commandlock
关于后续更新
自版本 26.2 起将不再进行任何更新,因为 Mojang 已通过“对局域网开放”功能利用命令打上了 补丁,因此本模组已不再具备实用价值。尽管如此,作为我制作的第一款模组,我对它的最终效果感到相当满意,也很高兴它能获得超过 200 次下载!
概述
一款适用于单人极限生存和生存世界的自我执行反作弊模组。通过检测和消除命令使用、创造模式以及模组篡改行为,永久锁定你的世界以防止作弊。
问题所在
在单人游戏中,无法验证极限生存或生存世界是否被合法游玩。“对局域网开放”允许启用作弊,即使你移除了这个模组,方块依然存在——这就形成了一个无法检测的漏洞。
解决方案
Commandlock 在世界出生点生成一个隐藏的自愈结构,其中包含 6 个循环命令方块和一个独特的验证方块。如果移除该模组:
- 验证方块会消失
- 命令方块会立即检测到这一情况
- 你将死亡,游戏结束
即使通过 Axiom 等模组启用了作弊,击杀命令仍会执行,你的世界随之结束。
工作原理
- 完全移除“对局域网开放”按钮
- 在客户端拦截所有命令尝试
- 自动击杀处于创造模式的玩家
- 具有不断再生的自愈屏障结构
- 强制加载其所在区块以持续监控你的世界
⚠️ 重要提示
切勿在未安装此模组的情况下打开由其创建的世界。 验证方块将不存在,你会立即死亡。
适用于 Minecraft 1.21.11 和 26.2
Singleplayer Anticheat: Commandlock
Regarding further updates
No further updates after 26.2 will be made, as Mojang has patched using commands via "OPEN TO LAN", hence this mod is no longer of any use. Nevertheless, being one of my first mods, I'm quite glad the way it turned out and that I got over 200 downloads!
Overview
A self-enforcing anticheat mod for singleplayer hardcore and survival worlds. Permanently locks your world against cheating by detecting and eliminating command usage, creative mode, and mod tampering.
The Problem
In singleplayer, there's no way to verify if a hardcore or survival world was played legitimately. Open to LAN allows enabling cheats, and even if you remove this mod, the blocks remain — creating an undetectable loophole.
The Solution
Commandlock generates a hidden self-healing structure at world spawn containing 6 repeating command blocks and a unique verification block. If the mod is removed:
- The verification block disappears
- Command blocks instantly detect this
- You are killed, ending the run
Even if cheats are enabled through mods like Axiom, the kill command executes and your world ends.
How It Works
- Removes the "Open to LAN" button entirely
- Intercepts all command attempts on the client side
- Auto-kills players in creative mode
- Self-healing barrier structure that regenerates constantly
- Force-loads its chunk to always monitor your world
⚠️ Important
Do not open worlds created with this mod without it installed. The verification block won't exist and you will be killed instantly.
Works on Minecraft 1.21.11 and 26.2
评论 0
登录后参与评分
还没有评论,来抢沙发吧