zAntiFreeCam
适用于 Paper 和 Folia 的服务端反自由视角保护插件。
zAntiFreeCam 通过过滤发送给地表玩家的分块数据(而非修改实际世界),来防止地下区域通过自由视角(Freecam)式相机移动或地下侦察而暴露。
受保护的地下数据可以被替换为可配置的实心掩码,从而防止洞穴、矿物、空洞以及其他地下信息泄露给地表玩家。
无需安装任何客户端模组。
功能特性
- 服务端地下区域保护
- 无需客户端模组
- 主世界保护
- 可配置的保护 Y 轴高度
- 实心方块掩码
- 防止通过 AIR(空气)和 CAVE_AIR(洞穴空气)暴露洞穴布局
- 可配置掩码方块
- 可选的地下实体隐藏
- 可选的方块实体剥离
- 返回地表时自动重新应用掩码
- 世界排除列表
- 绕过权限
- 调试与诊断选项
- 性能控制
- 支持 Paper 和 Folia
工作原理
默认情况下,Y=16 以下的方块对地表玩家进行保护。
默认保护设置如下:
- 隐藏低于 Y: 16
- 揭示低于 Y: 15
- 掩码模式: SOLID(实心)
- 掩码方块: STONE(石头)
- 方块掩码: 已启用
- 方块实体剥离: 已启用
受保护的位置由配置的掩码方块代替真实的地下数据显示。
这涵盖了以下地下数据:
- 矿物
- AIR(空气)和 CAVE_AIR(洞穴空气)
- 水和熔岩
- 箱子及其他方块实体
- 地下地形
实际世界不会被修改。保护仅影响发送给玩家客户端的数据。
合法移动到地下的玩家可以根据其服务端位置接收到真实的地图数据。
示例配置
以下设置代表推荐的默认配置:
- 保护 Y: 16
- 揭示 Y: 15
- 掩码模式: SOLID(实心)
- 掩码方块: STONE(石头)
- 掩码方块: 已启用
- 重写: 已启用
- 剥离方块实体: 已启用
- 揭示半径: 4
- 地表重新掩码: 已启用
世界保护
保护主要针对主世界设计。
- 主世界 (Overworld): 受保护
- 下界 (Nether): 不应用掩码
- 末地 (The End): 不应用掩码
还可以配置额外的世界排除项。
实体保护
可以选择向地表玩家隐藏地下实体。
- 地下实体隐藏: 已启用
- 始终可见的实体: 可配置
- 隐藏的实体类型: 可配置
性能
zAntiFreeCam 包含用于分块更新和状态检查的可配置限制。
- 每刻最大更新数: 32
- 分块刷新延迟: 150 ms
- 脏分块限制: 256
- 状态检查间隔: 10 ticks
权限
zantifreecam.bypass
允许玩家绕过地下可视性保护。
命令
/zantifreecam
/zantifreecam reload
/zantifreecam bypass
/zantifreecam bypass <player>
/zantifreecam status
兼容性
- Paper
- Folia
- Minecraft 26.x
- Java 25
zAntiFreeCam by KingBrezz
zAntiFreeCam
Server-side anti-freecam protection for Paper and Folia.
zAntiFreeCam protects underground areas from being exposed through Freecam-style camera movement and underground scouting. It filters outgoing chunk data sent to surface players instead of modifying the actual world.
Protected underground data can be replaced with a configurable solid mask, preventing caves, ores, air pockets, and other underground information from being exposed to surface players.
No client-side mod is required.
Features
- Server-side underground protection
- No client mod required
- Overworld protection
- Configurable protection Y level
- Solid block masking
- Prevents cave layouts from being exposed through AIR and CAVE_AIR
- Configurable mask block
- Optional underground entity hiding
- Optional block entity stripping
- Automatic remasking when returning to the surface
- World exclusions
- Bypass permission
- Debug and diagnostic options
- Performance controls
- Paper and Folia support
How It Works
By default, blocks below Y=16 are protected for players on the surface.
The default protection settings are:
- Hide below Y: 16
- Reveal below Y: 15
- Mask mode: SOLID
- Mask block: STONE
- Block masking: Enabled
- Block entity stripping: Enabled
Protected positions are represented by the configured mask block instead of the real underground data.
This covers underground data such as:
- Ores
- AIR and CAVE_AIR
- Water and lava
- Chests and other block entities
- Underground terrain
The actual world is never modified. The protection only affects data sent to the player's client.
Players who legitimately move underground can receive the real terrain based on their server-side position.
Example Configuration
The following settings represent the recommended default configuration:
- Protection Y: 16
- Reveal Y: 15
- Mask mode: SOLID
- Mask block: STONE
- Mask blocks: Enabled
- Rewrite: Enabled
- Strip block entities: Enabled
- Reveal radius: 4
- Remask on surface: Enabled
World Protection
Protection is designed for the Overworld.
- Overworld: Protected
- Nether: Not masked
- The End: Not masked
Additional world exclusions can also be configured.
Entity Protection
Underground entities can optionally be hidden from surface players.
- Underground entity hiding: Enabled
- Always visible entities: Configurable
- Hidden entity types: Configurable
Performance
zAntiFreeCam includes configurable limits for chunk updates and state checks.
- Maximum updates per tick: 32
- Chunk refresh delay: 150 ms
- Dirty chunk limit: 256
- State check interval: 10 ticks
Permission
zantifreecam.bypass
Allows a player to bypass underground visibility protection.
Commands
- "/zantifreecam"
- "/zantifreecam reload"
- "/zantifreecam bypass"
- "/zantifreecam bypass <player>"
- "/zantifreecam status"
Compatibility
- Paper
- Folia
- Minecraft 26.x
- Java 25
zAntiFreeCam by KingBrezz
评论 0
登录后参与评分
还没有评论,来抢沙发吧