Skip to content

Commit

Permalink
chore: update tooth.json CHANGELOG.md README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Apr 17, 2024
1 parent cb25442 commit b69d8fa
Show file tree
Hide file tree
Showing 6 changed files with 182 additions and 18 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,15 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.1] - 2024-04-17

### Added

- Add disableSelector config
- Add GatewayCopyFix

### Changed

- Remove ContainerMoveCheck
- Rewrite IllegalMovementCheck
Binary file modified LeviAntiCheat/LeviAntiCheat.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion LeviAntiCheat/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"type": "native",
"description": "Lightweight anti-cheating for LeviLamina",
"author": "LiteLDev",
"version": "0.1.0"
"version": "0.1.1"
}
92 changes: 84 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For X-Ray prevention, see [here](anti_x_ray.md).

```jsonc
{
"version": 1,
"version": 2,
"consoleLog": true,
"worldSafety": {
"fakeSeed": {
Expand Down Expand Up @@ -62,15 +62,60 @@ For X-Ray prevention, see [here](anti_x_ray.md).
"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": 3,
"UpdateRadius": 2.0,
"EngineMode": 1,
"UpdateRadius": 1.0,
"MaxBlockHeight": 128,
"HiddenBlocks": [
"minecraft:ancient_debris",
Expand All @@ -81,6 +126,30 @@ For X-Ray prevention, see [here](anti_x_ray.md).
"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,
Expand All @@ -98,7 +167,8 @@ For X-Ray prevention, see [here](anti_x_ray.md).
},
"bugFixes": {
"uiItemDuplicateFix": true,
"sleepTeleportFix": true
"sleepTeleportFix": true,
"gatewayCopyFix": true
},
"inventoryManagement": {
"antiAutoOffhand": true,
Expand All @@ -122,17 +192,22 @@ For X-Ray prevention, see [here](anti_x_ray.md).
"illegallyTradeRestrictions": true,
"antiSpam": {
"enable": true,
"maxChatLength": 60,
"maxRate": 1
"maxChatLength": 300,
"maxRate": 5,
"disableSelector": true
},
"itemNameLengthCheck": {
"enable": true,
"maxStringLength": 90
}
},
"movement": {
"containerMoveCheck": true,
"illegalMovementCheck": true,
"illegalMovementCheck": {
"enable": true,
"maxMismatchDistance": 1.0,
"triggerReplayDistance": 2.0,
"detectLevel": 2
},
"timerCheck": {
"enable": true,
"maxPacketSpeed": 24,
Expand Down Expand Up @@ -172,6 +247,7 @@ For X-Ray prevention, see [here](anti_x_ray.md).

- Fix UI item duplication
- Fix sleep teleport
- Fix gateway copy

### Client Cheating

Expand Down
92 changes: 84 additions & 8 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For X-Ray prevention, see [here](anti_x_ray.md).

```jsonc
{
"version": 1,
"version": 2,
"consoleLog": true, // 控制台日志
"worldSafety": {
"fakeSeed": { // 假种子
Expand Down Expand Up @@ -62,15 +62,60 @@ For X-Ray prevention, see [here](anti_x_ray.md).
"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": 3,
"UpdateRadius": 2.0,
"EngineMode": 1,
"UpdateRadius": 1.0,
"MaxBlockHeight": 128,
"HiddenBlocks": [
"minecraft:ancient_debris",
Expand All @@ -81,6 +126,30 @@ For X-Ray prevention, see [here](anti_x_ray.md).
"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,
Expand All @@ -98,7 +167,8 @@ For X-Ray prevention, see [here](anti_x_ray.md).
},
"bugFixes": {
"uiItemDuplicateFix": true, // UI刷物修复
"sleepTeleportFix": true // 床超传修复
"sleepTeleportFix": true, // 床超传修复
"gatewayCopyFix": true // 折跃门刷掉落方块
},
"inventoryManagement": {
"antiAutoOffhand": true, // 阻止自动切换副手
Expand All @@ -122,17 +192,22 @@ For X-Ray prevention, see [here](anti_x_ray.md).
"illegallyTradeRestrictions": true, // 非法交易限制
"antiSpam": { // 反刷屏
"enable": true,
"maxChatLength": 60,
"maxRate": 1
"maxChatLength": 300,
"maxRate": 5,
"disableSelector": true
},
"itemNameLengthCheck": { // 物品最大名称长度
"enable": true,
"maxStringLength": 90
}
},
"movement": {
"containerMoveCheck": true, // 开背包移动检测
"illegalMovementCheck": true, // 非法移动检测
"illegalMovementCheck": { // 非法移动检测
"enable": true,
"maxMismatchDistance": 1.0, // 最大不匹配距离
"triggerReplayDistance": 2.0, // 触发回放的距离
"detectLevel": 2
},
"timerCheck": { // 变速齿轮检测
"enable": true,
"maxPacketSpeed": 24,
Expand Down Expand Up @@ -172,6 +247,7 @@ For X-Ray prevention, see [here](anti_x_ray.md).

- 修复UI物品复制问题
- 修复床超传问题
- 折跃门刷掉落方块的问题

### 客户端作弊

Expand Down
2 changes: 1 addition & 1 deletion tooth.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 2,
"tooth": "github.com/LiteLDev/LeviAntiCheat",
"version": "0.1.0",
"version": "0.1.1",
"info": {
"name": "LeviAntiCheat",
"description": "Powerful anti-cheating for LeviLamina",
Expand Down

0 comments on commit b69d8fa

Please sign in to comment.