
需要服务器?
点击下方的横幅,并使用代码 FLEOX 在 Alyrix Cloud 的前两个计费周期享受 30% 的折扣:

FPAntiFreeCam 阻止玩家利用 FreeCam、X-Ray 和 Block ESP 模组来发现基地、洞穴和矿石。
它作用于服务器发送的数据包,因此你的世界中没有任何内容被更改。客户端只是永远无法获取它不该看到的方块:
- 在地表,所有深层地下的内容都会被隐藏。使用 FreeCam 飞行的玩家向下看时,只会发现空洞,或者在开启 Smart Fill 的情况下看到看起来像正常地形的普通岩石。
- 在地下,玩家会看到周围的洞穴是正常的,但较远的洞穴仍然会被填充,直到他们实际到达那里。
- 矿石 在玩家拥有清晰的视线之前,都会以石头、深板岩或下界岩的形式发送。X-Ray 资源包只能看到岩石。
要求
特性
- 反 FreeCam: 当玩家在地表时,隐藏设定 Y 轴高度以下的所有内容。
- 智能填充 (Smart Fill): 用从周围地形复制的岩石填充隐藏区域,而不是空气,从而让人很难察觉有任何隐藏内容。
- 地形保护: 如果你被困在一个没有向上出口的洞穴中并加入或传送,你上方的地表也会被伪造(每个区块一个方块,形状与周围土地相似),这样 FreeCam 在上面什么都看不到。当你向上攀爬时,它会逐步恢复真实状态。需要启用 Smart Fill,仅限主世界。
- 基地查找器保护: 阻止猜测基地和隧道位置的客户模块(如 Chunk Finder、Sus Chunk)利用隐藏区域中的方块更新、光照、区块调色板或 giveaway 方块(旋转的深板岩、圆石、方解石等)。
- 反 X-Ray: 矿石在你真正能看到它们之前保持隐藏状态,包括从 F5 视角查看时。可以按世界设置矿石列表和高度范围。
- 实体隐藏: 隐藏区域内的生物和物品展示框也会被隐藏(
chunk 模式,默认)。raycast 模式还会像 ESP 拦截器一样隐藏墙壁后面的所有实体,并且可以包含玩家。标签页列表不受影响。
- 隐藏不止方块: 隐藏区域内的箱子、告示牌、刷怪笼、生物、物品展示框、粒子效果和声音都会被隐藏,这样 F3 饼图和 ESP 模组就无法找到基地。
- FreeCam 模组检测: 在加入时检查客户端是否安装了 FreeCam 模组,并执行你选择的命令(踢出、封禁、通知工作人员)。
- 基岩版支持: 兼容 Geyser 和 Floodgate。
- Folia 支持: 每次检查都在拥有该区域的区域线程上运行。
- 网络负载低: 区块刷新分散在多个刻中进行,矿石揭示以小方块更新的形式发送,从不发送整个区块。
- 更新检查器: 当有新版本发布时,会在游戏内和控制台中通知管理员。
命令
| 命令 |
描述 |
/fpac reload |
重载配置文件 |
/fpac stats |
显示实时插件统计数据 |
/fpac debug |
切换调试日志记录 |
/fpac world <add|remove> <world> |
添加或删除受保护的维度/世界 |
/fpac bypass <player> |
为某玩家切换绕过权限,直到他们离开 |
/fpac help |
显示命令帮助 |
/fpreload |
/fpac reload 的简写 |
/fpdebug |
/fpac debug 的简写 |
所有命令都需要 fpantifreecam.admin 权限。
别名: /fpafc, /antifreecam, /fpacreload, /fpacdebug
权限
| 权限 |
描述 |
默认值 |
fpantifreecam.admin |
所有命令(不包含绕过权限) |
OP |
fpantifreecam.reload |
重载配置文件 |
OP |
fpantifreecam.debug |
切换调试模式 |
OP |
fpantifreecam.world |
管理受保护的世界 |
OP |
fpantifreecam.alerts |
在聊天中接收 FreeCam 检测警报 |
OP |
fpantifreecam.bypass |
跳过 FreeCam 保护、反 X-Ray 和实体隐藏 |
无人 |
fpantifreecam.bypass.freecam |
仅跳过 FreeCam 保护 |
无人 |
fpantifreecam.bypass.xray |
仅跳过反 X-Ray |
无人 |
fpantifreecam.bypass.entities |
仅跳过视线实体隐藏 |
无人 |
OP 受到与其他人相同的保护。将绕过权限授予需要查看所有内容的员工或建筑者。
当设置了 bypass.freecam、bypass.xray 和 bypass.entities 时,它们会覆盖 bypass,因此如果设置 bypass: true 且 bypass.xray: false,则该玩家的 Anti-Xray 仍会保持开启状态。
配置文件
点击展开 config.yml
# ─────────────────────────────────────────────────────────────────────
# FPAntiFreeCam 配置
# Spigot、Paper 和 Folia (1.19 - 26.3)。使用 /fpac reload 应用更改。
# ─────────────────────────────────────────────────────────────────────
# 请勿手动修改此项。
config-version: 6.0
# ── 常规 ────────────────────────────────────────────────────────────
settings:
# 在服务器启动时检查更新,并在玩家加入时通知管理员。
update-checker: true
# 文件路径为 plugins/FPAntiFreeCam/lang/<language>.yml
language: "en"
# 控制台调试输出。在线服务器请保持为 false。
debug-mode: false
# 单个玩家区块刷新的最小间隔秒数。
refresh-cooldown-seconds: 3
# ── 世界 ─────────────────────────────────────────────────────────────
# 启用地下隐藏的世界列表。下界和末地可能会出现故障。
# (Anti-Xray 和实体隐藏有各自的世界设置,见下文。)
worlds:
list:
- "world"
# - "survival"
# ── 保护 ─────────────────────────────────────────────────────────────
# 规则:void-y < deep-deactivation-y < protection-y
# 玩家脚部位于 protection-y 或以上时:保护开启。
# 位于 deep-deactivation-y 和 protection-y 之间时:仅当玩家抬头或拥有通往地面的开放路径时生效。
# 低于 deep-deactivation-y 时:关闭。
protection:
# 保护开启的 Y 坐标(玩家脚部位置)。建议设置为你的地表高度(海平面为 63)。
# 开启后,该玩家视野中 void-y 及以下的所有内容都会被隐藏。这也是默认的 ceiling-y。
# 如果是自定义地图且不确定地表高度?宁可设低一点也不要设高,并开启 replacement.smart-fill.follow-terrain,
# 这样较高地形中的洞穴也会被隐藏。
protection-y: 64.0
# 保护关闭前低于 protection-y 的方块层数(防止闪烁)。
hysteresis-y: 2.0
# 此 Y 坐标及以下的方块将被隐藏。建议比你最高基地方块高出约 5 格。
void-y: 15
# 每个世界的 void-y。未列出的世界使用全局 void-y。
# per-world-void-y:
# resource_world: 20
# 低于此 Y 坐标时,保护始终关闭。
deep-deactivation-y: 20.0
# 在隐藏区域也隐藏箱子、告示牌、刷怪笼、生物、物品、粒子效果和声音(F3 饼图、ESP 透视等)。
# 建议保持开启。
pie-chart-protection: true
# 显示玩家周围多少真实的洞穴(需要 Smart Fill)。
smart-fill:
# 在此范围内玩家可以行走或看到的洞穴视为真实。
reveal-radius: 28
# 在此距离内的所有内容始终视为真实,即使穿过岩石。
near-radius: 6
# 视野前方多少个区块会被刷新。
look-distance: 48
# 离开一个区域后,该区域保持“真实”状态的秒数。0 = 立即失效。
# 高数值会让玩家更容易侦察基地并随后使用自由视角返回查看。
recently-revealed-ttl-seconds: 20
# 沿直线显示玩家能透过洞穴看到的最远距离。墙壁仍然阻挡视线。
reveal-line-of-sight: true
# 将此距离限制为玩家的最大渲染距离。
reveal-follow-render-distance: true
# 最大视距距离上限(方块单位,范围 32-256)。
reveal-max-distance-cap: 128
# 每个玩家每秒检查的方块数量。数值越低,服务器开销越小。
reveal-sight-budget: 60000
# 当玩家在封闭的洞穴中无法向上移动时加入或传送,
# 上方的每个地表区块会被发送为一块带有草、沙等方块的石头,
# 形状模仿周围的陆地,从而让自由视角玩家看不到任何真实内容。
# 仅在加入和传送时检查。需要 Smart Fill。仅限主世界。
terrain-protection:
enabled: true
# 你上方及周围 3x3 区块内,地面以下这么多深度的方块会变为真实。
reveal-3x3-depth: 16
# 你上方及所有区域,地面以下这么多深度的方块会变为真实。
reveal-all-depth: 6
# ── 隐藏方块的外观 ──────────────────────────────────────────────────
replacement:
# 当 Smart Fill 关闭时,替代隐藏方块显示的内容。
block-type: "air"
# 用从附近地形复制的岩石和矿石填充隐藏区域,而不是空气。
smart-fill:
enabled: true
# 在地下时也隐藏远处的洞穴,不仅限于地表附近。
always-on: true
# Bedrock(Geyser)玩家会在区块重载时看到 Smart Fill 的刷新效果,因此
# Bedrock 玩家获得的是纯隐藏效果。需要 Geyser 或 Floodgate。
disable-for-bedrock: true
# 此 Y 坐标及以下的洞穴会被隐藏。数值通常与 protection-y 相同,除非你单独设置了它。
# 但功能不同:protection-y 检测玩家高度,ceiling-y 定义隐藏洞穴的最高高度。
# ceiling-y: 64
# 用于复制方块的上下各 16 个方块的层数(范围 0-4)。
sample-radius-sections: 1
# 填充调色板中最多包含的方块类型数量(范围 2-16)。
max-palette-size: 6
# 当附近没有地形可供复制时使用。
fallback-block: "stone"
# 地表附近的小型封闭房间(PVP 竞技场、水晶坑洞等)保持原样不处理。
# 如果那里有一个小型隐藏房间,也不会被处理。
surface-structures:
# 屋顶位于此 Y 坐标或以上。
min-y: 30
# 最多这么高的方块堆叠(范围 1-32)。
max-pocket-height: 10
# 也隐藏位于 ceiling-y 以上的山丘和山脉内部的洞穴和基地。
# 只有自然方块被视为掩护,因此建筑结构和树木不会被影响。仅限主世界。
# 在山脉附近会消耗更多 CPU 资源。
follow-terrain:
enabled: false
# 在隐藏某个位置之前,其上方需要的自然方块数量(范围 3-32)。
min-cover: 6
# ── Anti-Xray ────────────────────────────────────────────────────────
# 隐藏方块会被发送为它们周围的岩石,直到玩家实际看到它们为止。
# 不与 worlds.list 绑定。
# 绕过权限:fpantifreecam.bypass.xray(或 fpantifreecam.bypass)。
# 如果 Paper 的 anti-xray 已开启,插件会自动关闭自身(并将 enabled 设为 false)。
anti-xray:
enabled: true
# 当 Paper 的 anti-xray 导致本插件关闭时,在玩家加入时通知管理员。
# 如果你打算保留 Paper 的 anti-xray,请设为 false。
paper-anti-xray-warning: true
# 此距离内的方块始终显示。
always-reveal-radius: 3
最大射线距离(同时受视距限制)。
max-ray-distance: 64
每次检查中每个玩家的射线步数。数值越低,服务器耗时越少。
ray-budget: 20000
同时也从 F5 视角的位置进行检查。
f5-aware: true
当玩家距离被发现的方块超过此距离时,该方块会被再次隐藏。
forget-distance: 96
“default”适用于主世界,“nether”和“the_end”分别适用于对应类型的每个维度。
缺失的键值将继承自“default”。若要单独设置某个维度,请通过名称添加(例如 world_nether:)。
worlds:
default:
enabled: true
min-y: -64
# 320 可覆盖山脉中的矿石。
max-y: 320
hidden-blocks: [coal_ore, deepslate_coal_ore, copper_ore, deepslate_copper_ore,
iron_ore, deepslate_iron_ore, gold_ore, deepslate_gold_ore, redstone_ore,
deepslate_redstone_ore, lapis_ore, deepslate_lapis_ore, diamond_ore,
deepslate_diamond_ore, emerald_ore, deepslate_emerald_ore, raw_iron_block, raw_copper_block]
nether:
min-y: 0
max-y: 128
hidden-blocks: [nether_gold_ore, nether_quartz_ore, ancient_debris, gilded_blackstone]
the_end:
enabled: false
min-y: 0
max-y: 256
hidden-blocks: [shulker_box, white_shulker_box, orange_shulker_box, magenta_shulker_box,
light_blue_shulker_box, yellow_shulker_box, lime_shulker_box, pink_shulker_box,
gray_shulker_box, light_gray_shulker_box, cyan_shulker_box, purple_shulker_box,
blue_shulker_box, brown_shulker_box, green_shulker_box, red_shulker_box, black_shulker_box]
── 实体 ─────────────────────────────────────────────────────────
entities:
在隐藏区域中隐藏生物、物品展示框、矿车等。
hide-entities: true
实体的隐藏方式:
chunk - 仅在 Smart Fill 隐藏的区域内生效(即你看不到的洞穴)。对 CPU 友好。
raycast - 即使在墙后也会隐藏,通过视线检测。可阻止 ESP,但消耗更多 CPU。
hide-mode: chunk
hide-mode: raycast 的相关设置。
line-of-sight:
# 也隐藏墙后的玩家(阻止玩家 ESP)。标签页列表保持不变。
# 默认关闭:在多人服务器 (SMP) 上,玩家期望能看到彼此。
# 当定位栏游戏规则开启时,玩家永远不会被隐藏,
# 因为定位栏本身就会显示他们的位置。
include-players: false
# 在此半径内的实体始终显示。
always-show-radius: 8
# 实体离开视野后保持显示的毫秒数。
hide-delay-ms: 1500
# 每次检查中每个玩家的射线步数。数值越低,服务器耗时越少。
ray-budget: 15000
# 同时也从 F5 视角的位置进行检查。
f5-aware: true
# 关闭此功能的维度。
disabled-worlds: []
# 永远不会被隐藏的实体类型。
never-hide:
- ender_dragon
- wither
- lightning_bolt
- arrow
- spectral_arrow
- trident
- fireball
- small_fireball
- dragon_fireball
- wither_skull
- firework_rocket
- fishing_bobber
- ender_pearl
- snowball
- egg
- potion
- experience_bottle
- llama_spit
- shulker_bullet
- wind_charge
── 通知 ─────────────────────────────────────────────────────────────
notifications:
action-bar:
# 玩家在受到保护时的操作栏消息。
enabled: false
message-active: "&c☠ FreeCam Protected"
── 反作弊 ───────────────────────────────────────────────────────────
anti-cheat:
freeze-detection:
# 当受保护的玩家在此秒数内未移动时,控制台发出警告
# (这可能意味着使用了位置欺骗类的自由视角模组)。
enabled: false
seconds: 30
── 性能 ──────────────────────────────────────────────────────────────
performance:
Paper/Spigot:每刻刷新的最大区块数 (1-500)。
max-chunks-per-tick: 40
Folia:每刻向单个玩家重新发送的最大区块数 (1-64)。
max-chunks-per-player-per-tick: 8
靠近保护 Y 轴时,一次性刷新大范围区域,防止真实方块闪烁。
instant-protection:
enabled: true
force-immediate-refresh: true
# 区块半径。
instant-load-radius: 14
# 从保护 Y 轴上方多少格开始预加载。
pre-load-distance: 10
仅在保护状态改变时刷新此半径内的区块。
更远的区块在重新加载前可能会显示真实的方块。
limited-area:
enabled: false
chunk-radius: 4
── 自由视角模组检测 ─────────────────────────────────────────────────
玩家加入时,会短暂打开并关闭一个隐藏的标志编辑器,以检测 FreeCam 模组。仅在加入时执行一次。
freecam-detection:
enabled: true
等待响应的刻数,加上玩家的延迟 (20 = 1 秒)。至少为 60。
probe-timeout-ticks: 60
在控制台中输出每次检查的调试信息。
debug: false
检测到模组后按顺序执行的命令。留空则不执行任何命令。
占位符:%player%, %uuid%, %key%
detected-commands:
- "kick %player% &cFreecam detected"
# - "ban %player% Freecam detected"
通知管理员 (fpantifreecam.alerts) 和控制台。
alerts-enabled: true
alert-message: "&8[&cFPAntiFreecam&8] &e%player% &7因检测到 &cFreecam &7(&8%key%&7) 而被标记"
</details>
## 统计数据
<div align="center">
[](https://bstats.org/plugin/bukkit/FPAntiFreecam/33706)
</div>
## 支持
发现 Bug 或有疑问?请在 Discord 上提问或在 GitHub 上提交 Issue。
[](https://discord.gg/5XEqzkSwza)
[](https://github.com/Fleoxzyy/FPAntiFreeCam)
*确保玩家无法看到他们不该看的东西。*

Need a server?
Click the banner below and use code FLEOX for 30% off your first 2 billing cycles with Alyrix Cloud:

FPAntiFreeCam stops players from finding bases, caves and ores with FreeCam, X-Ray and Block ESP mods.
It works on the packets the server sends, so nothing in your world is changed. The client simply never gets the blocks it isn't supposed to see:
- On the surface, everything deep underground is hidden. A FreeCam user who flies down finds empty void, or with Smart Fill, plain rock that looks like normal terrain.
- Underground, players see the caves around them as normal, but caves further away stay filled in until they actually get there.
- Ores are sent as stone, deepslate or netherrack until the player has a clear line of sight to them. An X-Ray pack shows nothing but rock.
Requirements
Features
- Anti-FreeCam: hides everything below a set Y level while players are on the surface.
- Smart Fill: fills hidden areas with rock copied from the surrounding terrain instead of air, so it's hard to tell anything is hidden at all.
- Terrain Protection: if you join or teleport while sealed in a cave with no way up, the surface above you is faked too (one block per chunk, shaped like the land around it), so freecam shows nothing real up there. It turns real again in steps as you climb up. Needs Smart Fill, Overworld only.
- Base Finder Protection: stops client modules that guess where bases and tunnels are (Chunk Finder, Sus Chunk) from using block updates, light, chunk palettes or giveaway blocks (rotated deepslate, cobblestone, calcite and so on) in hidden areas.
- Anti-Xray: ores stay hidden until you can actually see them, including from the F5 camera. Ore lists and height ranges can be set per world.
- Entity hiding: mobs and item frames inside hidden areas are hidden too (
chunk mode, default). raycast mode also hides entities behind walls everywhere, like an ESP blocker, and can include players. The tab list is untouched.
- Hides more than blocks: chests, signs, spawners, mobs, item frames, particles and sounds in hidden areas are hidden too, so the F3 pie chart and ESP mods can't find a base.
- Freecam mod detection: checks on join whether the client has the Freecam mod installed, and runs the commands you choose (kick, ban, alert staff).
- Bedrock support: works with Geyser and Floodgate.
- Folia support: every check runs on the region thread that owns the area.
- Light on the network: chunk refreshes are spread over ticks, and ore reveals are sent as small block updates, never whole chunks.
- Update checker: tells admins in game and in the console when a new version is out.
Commands
| Command |
Description |
/fpac reload |
Reload the config |
/fpac stats |
Show live plugin stats |
/fpac debug |
Toggle debug logging |
/fpac world <add|remove> <world> |
Add or remove a protected world |
/fpac bypass <player> |
Toggle bypass for a player until they leave |
/fpac help |
Show command help |
/fpreload |
Short for /fpac reload |
/fpdebug |
Short for /fpac debug |
All commands need fpantifreecam.admin.
Aliases: /fpafc, /antifreecam, /fpacreload, /fpacdebug
Permissions
| Permission |
Description |
Default |
fpantifreecam.admin |
All commands (no bypass included) |
OP |
fpantifreecam.reload |
Reload the config |
OP |
fpantifreecam.debug |
Toggle debug mode |
OP |
fpantifreecam.world |
Manage protected worlds |
OP |
fpantifreecam.alerts |
Get Freecam detection alerts in chat |
OP |
fpantifreecam.bypass |
Skip FreeCam protection, Anti-Xray and entity hiding |
No one |
fpantifreecam.bypass.freecam |
Skip FreeCam protection only |
No one |
fpantifreecam.bypass.xray |
Skip Anti-Xray only |
No one |
fpantifreecam.bypass.entities |
Skip line-of-sight entity hiding only |
No one |
OPs are protected like everyone else. Give a bypass permission to staff or builders who need to see everything.
bypass.freecam, bypass.xray and bypass.entities override bypass when set, so bypass: true with bypass.xray: false keeps Anti-Xray on for that player.
Config
Click to expand config.yml
# ─────────────────────────────────────────────────────────────────────
# FPAntiFreeCam configuration
# Spigot, Paper and Folia (1.19 - 26.3). Apply changes with /fpac reload.
# ─────────────────────────────────────────────────────────────────────
# Do not change this manually.
config-version: 6.0
# ── General ──────────────────────────────────────────────────────────
settings:
# Check for updates on startup and tell admins on join.
update-checker: true
# File from plugins/FPAntiFreeCam/lang/<language>.yml
language: "en"
# Debug output in console. Keep false on a live server.
debug-mode: false
# Min seconds between chunk refreshes for one player.
refresh-cooldown-seconds: 3
# ── Worlds ───────────────────────────────────────────────────────────
# Worlds where underground hiding is on. The Nether and End can glitch.
# (Anti-Xray and entity hiding have their own world settings below.)
worlds:
list:
- "world"
# - "survival"
# ── Protection ───────────────────────────────────────────────────────
# Rule: void-y < deep-deactivation-y < protection-y
# Feet at or above protection-y: protection is on.
# Between deep-deactivation-y and protection-y: on only while the player
# looks up or has an open path to the surface.
# Below deep-deactivation-y: off.
protection:
# The Y where protection turns on (player's feet). Set it to about your
# surface height (sea level is 63). While on, everything at or below
# void-y is hidden from that player. Also the default ceiling-y.
# Custom map and not sure of the surface height? Set this a bit too low
# rather than too high, and turn on replacement.smart-fill.follow-terrain
# so caves in higher terrain get hidden too.
protection-y: 64.0
# Blocks below protection-y before it turns off again (stops flicker).
hysteresis-y: 2.0
# Blocks at or below this Y are hidden. ~5 above your highest base.
void-y: 15
# void-y per world. Unlisted worlds use void-y.
# per-world-void-y:
# resource_world: 20
# Below this Y, protection is always off.
deep-deactivation-y: 20.0
# Also hide chests, signs, spawners, mobs, items, particles and sounds
# in hidden areas (F3 pie chart, ESP). Keep this on.
pie-chart-protection: true
# How much real cave is shown around a player (needs Smart Fill).
smart-fill:
# Caves the player can walk or see into within this range are real.
reveal-radius: 28
# Everything this close is always real, even through rock.
near-radius: 6
# Chunks this far ahead of the view get refreshed.
look-distance: 48
# Seconds an area stays real after leaving it. 0 = instant.
# High values make it easier to scout a base and come back with freecam.
recently-revealed-ttl-seconds: 20
# Show caves as far as the player can see across them. Walls still block.
reveal-line-of-sight: true
# Cap that distance at the player's render distance.
reveal-follow-render-distance: true
# Max line-of-sight distance in blocks (32-256).
reveal-max-distance-cap: 128
# Blocks checked per player per second. Lower = less server time.
reveal-sight-budget: 60000
# Join or teleport while sealed in a cave with no way up and each surface chunk
# is sent as one block of stone with grass, sand etc. on top, shaped
# like the land around it, so freecam shows nothing real up there.
# Only checked on join and teleport. Needs Smart Fill. Overworld only.
terrain-protection:
enabled: true
# This many blocks under the ground above you and the 3x3 chunks
# around you turn real.
reveal-3x3-depth: 16
# This many blocks under the ground above you and everything turns real.
reveal-all-depth: 6
# ── What hidden blocks look like ─────────────────────────────────────
replacement:
# Shown instead of hidden blocks when Smart Fill is off.
block-type: "air"
# Fill hidden areas with rock and ores copied from nearby terrain
# instead of air.
smart-fill:
enabled: true
# Also hide distant caves while underground, not only near the surface.
always-on: true
# Bedrock (Geyser) shows Smart Fill refreshes as chunk reloads, so
# Bedrock players get plain hiding. Needs Geyser or Floodgate.
disable-for-bedrock: true
# Caves up to this Y get hidden. Same number as protection-y unless
# you set it, but a different job: protection-y checks the player's
# height, ceiling-y is how high the hidden caves go.
# ceiling-y: 64
# 16-block layers above and below to copy blocks from (0-4).
sample-radius-sections: 1
# Max block types in the fill (2-16).
max-palette-size: 6
# Used when there's no nearby terrain to copy.
fallback-block: "stone"
# Small closed rooms near the surface (PvP arenas, crystal holes) are
# left as they are. A small hidden room there would be too.
surface-structures:
# Roof at or above this Y.
min-y: 30
# At most this many blocks tall (1-32).
max-pocket-height: 10
# Also hide caves and bases inside hills and mountains above
# ceiling-y. Only natural blocks count as cover, so builds and trees
# aren't touched. Overworld only. Costs a bit more CPU near mountains.
follow-terrain:
enabled: false
# Natural blocks needed above a spot before it's hidden (3-32).
min-cover: 6
# ── Anti-Xray ────────────────────────────────────────────────────────
# Hidden blocks are sent as the rock around them until the player can
# actually see them. Not tied to worlds.list.
# Bypass: fpantifreecam.bypass.xray (or fpantifreecam.bypass).
# Turns itself off (and sets enabled: false) if Paper's anti-xray is on.
anti-xray:
enabled: true
# Tell admins on join when Paper's anti-xray turned this off.
# Set to false if you're keeping Paper's.
paper-anti-xray-warning: true
# Blocks this close are always shown.
always-reveal-radius: 3
# Max reveal distance (also capped by view distance).
max-ray-distance: 64
# Ray steps per player per check. Lower = less server time.
ray-budget: 20000
# Also check from the F5 camera positions.
f5-aware: true
# A revealed block is hidden again once the player is this far away.
forget-distance: 96
# "default" is for Overworlds, "nether" and "the_end" for every world of
# that type. Missing keys come from "default". To set one world on its
# own, add it by name (e.g. world_nether:).
worlds:
default:
enabled: true
min-y: -64
# 320 covers mountain ores.
max-y: 320
hidden-blocks: [coal_ore, deepslate_coal_ore, copper_ore, deepslate_copper_ore,
iron_ore, deepslate_iron_ore, gold_ore, deepslate_gold_ore, redstone_ore,
deepslate_redstone_ore, lapis_ore, deepslate_lapis_ore, diamond_ore,
deepslate_diamond_ore, emerald_ore, deepslate_emerald_ore, raw_iron_block, raw_copper_block]
nether:
min-y: 0
max-y: 128
hidden-blocks: [nether_gold_ore, nether_quartz_ore, ancient_debris, gilded_blackstone]
the_end:
enabled: false
min-y: 0
max-y: 256
hidden-blocks: [shulker_box, white_shulker_box, orange_shulker_box, magenta_shulker_box,
light_blue_shulker_box, yellow_shulker_box, lime_shulker_box, pink_shulker_box,
gray_shulker_box, light_gray_shulker_box, cyan_shulker_box, purple_shulker_box,
blue_shulker_box, brown_shulker_box, green_shulker_box, red_shulker_box, black_shulker_box]
# ── Entities ─────────────────────────────────────────────────────────
entities:
# Hide mobs, item frames, minecarts etc. in hidden areas.
hide-entities: true
# How entities are hidden:
# chunk - only in areas Smart Fill hides (caves you can't see). Light on CPU.
# raycast - also behind walls, checked by line of sight. Stops ESP, costs more CPU.
hide-mode: chunk
# Settings for hide-mode: raycast.
line-of-sight:
# Also hide players behind walls (stops player ESP). Tab list unchanged.
# Off by default: on an SMP, players expect to see each other.
# While the locator bar gamerule is on, players are never hidden,
# since the bar shows where they are anyway.
include-players: false
# Entities this close are always shown.
always-show-radius: 8
# Milliseconds an entity stays shown after going out of sight.
hide-delay-ms: 1500
# Ray steps per player per check. Lower = less server time.
ray-budget: 15000
# Also check from the F5 camera positions.
f5-aware: true
# Worlds where this is off.
disabled-worlds: []
# Entity types that are never hidden.
never-hide:
- ender_dragon
- wither
- lightning_bolt
- arrow
- spectral_arrow
- trident
- fireball
- small_fireball
- dragon_fireball
- wither_skull
- firework_rocket
- fishing_bobber
- ender_pearl
- snowball
- egg
- potion
- experience_bottle
- llama_spit
- shulker_bullet
- wind_charge
# ── Notifications ────────────────────────────────────────────────────
notifications:
action-bar:
# Action bar message while a player is protected.
enabled: false
message-active: "&c☠ FreeCam Protected"
# ── Anti-cheat ───────────────────────────────────────────────────────
anti-cheat:
freeze-detection:
# Console warning when a protected player hasn't moved for this many
# seconds (can mean a position-spoofing freecam).
enabled: false
seconds: 30
# ── Performance ──────────────────────────────────────────────────────
performance:
# Paper/Spigot: max chunks refreshed per tick (1-500).
max-chunks-per-tick: 40
# Folia: max chunks re-sent to one player per tick (1-64).
max-chunks-per-player-per-tick: 8
# Near protection-y, refresh a big radius at once so real blocks never flash.
instant-protection:
enabled: true
force-immediate-refresh: true
# Chunk radius.
instant-load-radius: 14
# Starts this many blocks above protection-y.
pre-load-distance: 10
# Only refresh chunks within this radius when protection changes.
# Chunks further out can show real blocks until they reload.
limited-area:
enabled: false
chunk-radius: 4
# ── Freecam mod detection ────────────────────────────────────────────
# On join, a hidden sign editor opens and closes for a moment to check for the Freecam mod. Once per join.
freecam-detection:
enabled: true
# Ticks to wait for the answer, plus the player's ping (20 = 1 second). At least 60.
probe-timeout-ticks: 60
# Debug info about each check in console.
debug: false
# Console commands run on detection, in order. Leave empty to run none.
# Placeholders: %player%, %uuid%, %key%
detected-commands:
- "kick %player% &cFreecam detected"
# - "ban %player% Freecam detected"
# Alert staff (fpantifreecam.alerts) and the console.
alerts-enabled: true
alert-message: "&8[&cFPAntiFreecam&8] &e%player% &7was flagged for &cFreecam &7(&8%key%&7)"
Statistics
Support
Found a bug or have a question? Ask on Discord or open an issue on GitHub.
Secure what players shouldn't see.
评论 0
登录后参与评分
还没有评论,来抢沙发吧