为LeviLamina提供强大的反作弊支持
lip install github.com/LiteLDev/LeviAntiCheat
/lac ban <玩家> [原因] [时长(分钟)]
手动封禁玩家
/lac unban <玩家>
手动解封玩家
For X-Ray prevention, see here.
{
"version": 2,
"consoleLog": true, // 控制台日志
"worldSafety": {
"fakeSeed": { // 假种子
"enable": true,
"randomSeed": false,
"seed": 0
},
"offlineInventoryProtection": false, // 防止离线服务器玩家丢背包
"illegalBreakingCheck": true // 非法破坏检测
},
"cheatPrevention": {
"antiXray": { // 反矿透
"enable": true,
"DimensionConfigs": {
"overworld": {
"Enable": true,
"EngineMode": 2,
"UpdateRadius": 2.0,
"MaxBlockHeight": 64, // 最大高度
"HiddenBlocks": [
"minecraft:copper_ore",
"minecraft:deepslate_copper_ore",
"minecraft:raw_copper_block",
"minecraft:deepslate_coal_ore",
"minecraft:diamond_ore",
"minecraft:deepslate_diamond_ore",
"minecraft:gold_ore",
"minecraft:iron_ore",
"minecraft:deepslate_gold_ore",
"minecraft:deepslate_iron_ore",
"minecraft:raw_iron_block",
"minecraft:lapis_ore",
"minecraft:deepslate_lapis_ore",
"minecraft:redstone_ore",
"minecraft:deepslate_redstone_ore",
"minecraft:coal_ore"
],
"ReplacementBlocks": [
"minecraft:amethyst_block",
"minecraft:andesite",
"minecraft:gravel",
"minecraft:budding_amethyst",
"minecraft:calcite",
"minecraft:deepslate_emerald_ore",
"minecraft:oak_planks",
"minecraft:tuff",
"minecraft:deepslate",
"minecraft:coal_ore",
"minecraft:deepslate_coal_ore",
"minecraft:smooth_basalt",
"minecraft:diorite",
"minecraft:stone",
"minecraft:dirt",
"minecraft:emerald_ore",
"minecraft:granite"
]
},
"overworld(engine mode 1 example)": {
"Enable": true,
"EngineMode": 1,
"UpdateRadius": 1.0,
"MaxBlockHeight": 64,
"HiddenBlocks": [
"minecraft:coal_ore",
"minecraft:raw_copper_block",
"minecraft:deepslate_coal_ore",
"minecraft:copper_ore",
"minecraft:deepslate_copper_ore",
"minecraft:diamond_ore",
"minecraft:emerald_ore",
"minecraft:raw_iron_block",
"minecraft:deepslate_diamond_ore",
"minecraft:redstone_ore",
"minecraft:deepslate_emerald_ore",
"minecraft:gold_ore",
"minecraft:deepslate_gold_ore",
"minecraft:iron_ore",
"minecraft:deepslate_iron_ore",
"minecraft:lapis_ore",
"minecraft:deepslate_lapis_ore",
"minecraft:deepslate_redstone_ore"
],
"ReplacementBlocks": [
"minecraft:stone",
"minecraft:deepslate"
]
},
"nether": {
"Enable": true,
"EngineMode": 1,
"UpdateRadius": 1.0,
"MaxBlockHeight": 128,
"HiddenBlocks": [
"minecraft:ancient_debris",
"minecraft:nether_gold_ore",
"minecraft:quartz_ore"
],
"ReplacementBlocks": [
"minecraft:netherrack"
]
},
"nether(engine mode 2 or 3 example)": {
"Enable": true,
"EngineMode": 3,
"UpdateRadius": 2.0,
"MaxBlockHeight": 128,
"HiddenBlocks": [
"minecraft:glowstone",
"minecraft:ancient_debris",
"minecraft:quartz_ore",
"minecraft:bone_block",
"minecraft:magma_block",
"minecraft:nether_bricks",
"minecraft:nether_gold_ore",
"minecraft:polished_blackstone_bricks"
],
"ReplacementBlocks": [
"minecraft:basalt",
"minecraft:blackstone",
"minecraft:soul_soil",
"minecraft:gravel",
"minecraft:netherrack",
"minecraft:soul_sand"
]
},
"the end": {
"Enable": false,
"EngineMode": 1,
"UpdateRadius": 2.0,
"MaxBlockHeight": 0,
"HiddenBlocks": [],
"ReplacementBlocks": []
}
}
},
"antiToolbox": true, // 反Toolbox
"antiFakeName": true, // 反假名
"antiSpawnXpOrbs": true, // 反刷经验球
"antiXpHack": true // 反刷经验
},
"bugFixes": {
"uiItemDuplicateFix": true, // UI刷物修复
"sleepTeleportFix": true, // 床超传修复
"gatewayCopyFix": true // 折跃门刷掉落方块
},
"inventoryManagement": {
"antiAutoOffhand": true, // 阻止自动切换副手
"rectifyUiItemDrop": true, // 防止通过材质包做到死亡不掉落
"invalidItemDetection": true, // 非法物品检查
"anvilEnchantLimits": true, // 铁站附魔限制
"invalidStackDetection": true, // 反非法堆叠
"antiInvalidNbtItem": true, // 反非法NBT物品
"banItem": { // 禁用物品
"enable": true,
"blacklist": []
},
"enchantCheck": { // 附魔等级检查
"enable": false,
"maxEnchantLevel": {
"example_enchant": 5
}
}
},
"playerInteractions": {
"illegallyTradeRestrictions": true, // 非法交易限制
"antiSpam": { // 反刷屏
"enable": true,
"maxChatLength": 300,
"maxRate": 5,
"disableSelector": true
},
"itemNameLengthCheck": { // 物品最大名称长度
"enable": true,
"maxStringLength": 90
}
},
"movement": {
"illegalMovementCheck": { // 非法移动检测
"enable": true,
"maxMismatchDistance": 1.0, // 最大不匹配距离
"triggerReplayDistance": 2.0, // 触发回放的距离
"detectLevel": 2
},
"timerCheck": { // 变速齿轮检测
"enable": true,
"maxPacketSpeed": 24,
"detectLevel": 15
},
"noPacketCheck": { // 停止发包检测
"enable": true,
"maxNoPacketTime": 5
}
},
"combat": {
"autoClickCheck": { // 连点器检测
"enable": true,
"maxCps": 10, // 最大CPS
"detectLevel": 10
},
"reachDistanceCheck": { // 长臂猿检测
"enable": true,
"detectLevel": 5
}
},
"securityMeasures": {
"antiLoginFloodCheck": false // Login泛洪防护,如果您正在使用frp等代理服务,请勿启用
},
"punish": {
"enable": true, // 内置惩罚系统
"kickVL": 100, // 玩家VL达到此值后,将被踢出,-1为禁用
"banVL": -1, // 玩家VL达到此值后,将被封禁,-1为禁用
"banDuration": 0 // 封禁时长,以分钟为单位,0为永久
}
}
- 修复UI物品复制问题
- 修复床超传问题
- 折跃门刷掉落方块的问题
- 防止矿物透视
- 防止使用Toolbox
- 防止连点器
- 防止长臂猿
- 防止假名
- 防止原地生成经验球
- 防止刷经验
- 检查铁砧附魔
- 防止自动选择工具
- 防止无效物品
- 防止无效nbt物品
- 封禁非法物品
- 检查附魔等级
- 防止无效堆叠
- 防止某些资源包作弊
- 防止在移动时与容器互动
- 防止非法移动,如飞行、加速、穿墙
- 防止停止发包
- 防止Timer(通过调整客户端速度的另一种加速作弊,也称变速齿轮)
- 防止非法交易
- 防止物品名称标签过长
- 防止刷屏(包括选择器刷屏、命令刷屏等)
- 防止Login泛洪攻击
- 伪造种子
- 防止非法破坏
- 修复离线模式玩家背包丢失问题
通过创建Issue提问。
由于该项目是闭源的,您无法直接对代码进行贡献。
版权所有 © LiteLDev
未经LiteLDev事先书面同意,用户不得实施下列行为:
-
反编译(de-compile)、反汇编(disassemble)和任何方式修改LeviAnticheat的全部或部分内容,或对LeviAntiCheat任何功能或程序进行反向工程(reverse engineering)。
-
出租、销售LeviAntiCheat。