AntiXRAY
针对 Paper/Purpur 26.3 的幽灵矿石反 X-Ray 方案
版本 2.1.0 · Minecraft 26.3 · Java 25 · 服务端插件
AntiXRAY 采取了与对抗 X-Ray 作弊不同的方法:它不是隐藏真实的矿石,而是向客户端注入大量逼真的虚假矿脉和晶洞。虚假矿石仅发送给那些被不透明方块完全遮挡的基础方块(石头 / 深板岩 / 下界岩),因此合法玩家几乎看不到它们。当作弊者挖掘以暴露相邻的虚假矿脉时,诱饵会还原为普通石头。使用 X-Ray 的用户最终会浪费时间在那些化为乌有的矿脉上。
工作原理(以及它不做什么)
在决定 AntiXRAY 是否适合你的服务器之前,请阅读以下内容:
- 虚假矿石是客户端诱饵。它们仅放置在完全隐藏的方块中,因此 X-Ray 用户会看到充满“信号”的洞穴,但任何暴露在空气/洞穴中的矿石都保证是真实的(诱饵永远不会暴露)。
- 该插件是噪声 + trolling 混淆,而非真正的隐藏:真实矿石仍像往常一样发送给客户端。它不会移除或掩盖真实矿石数据。如果你的首要目标是让真实矿石对 X-Ray 不可见,那么这不是你要找的插件。
- 它的优势在于:使大规模 X-Ray 扫描变得嘈杂且令人沮丧,惩罚盲目挖掘诱饵的行为,并且不需要外部依赖。
功能特性
- 虚假矿脉:具有类原版的矿脉大小、每种矿石的权重和 Y 轴范围,涵盖主世界(钻石、铁、金、青金石、煤、铜、红石、 Emerald)和下界(远古残骸、下界合金废料?注:原文为 ancient debris, nether gold, quartz,通常译为远古残骸、下界金、石英)。
- 虚假紫水晶晶洞:具有可配置的壳层/中层/内层以及萌芽紫水晶。
- 放置模式:
VEINS(逼真集群)、DENSITY 或 PERCENT(散布)。
- 确定性种子:
WORLD(所有人相同)或 PER_PLAYER(每人不同)。
- 暴露感知还原:在破坏、放置、爆炸和活塞移动时,诱饵会还原为真实方块。
- 按世界控制:通过启用/禁用世界列表进行管理。
- 绕过权限:允许受信任的玩家查看真实世界。
- 异步计算:带有每刻发送预算以控制负载。
- 完全在内存中运行——无需数据库、文件 Web 服务器。
命令
| 命令 |
描述 |
权限节点 |
/antixray reload |
重新加载配置 |
antixray.admin |
/antixray debug |
切换调试输出 |
antixray.admin |
/antixray flush |
刷新缓存的欺骗数据 |
antixray.admin |
/antixray info |
显示状态/信息 |
antixray.admin |
权限节点
| 节点 |
描述 |
默认值 |
antixray.admin |
访问 /antixray 管理命令 |
op |
antixray.bypass |
查看真实方块(不发送虚假矿石) |
false |
配置
config.yml 的配置亮点:
general:
enabled: true
debug: false
radius:
mode: "CHUNKS" # CHUNKS 或 BLOCKS
chunks: 4 # 4 = 9x9 = 围绕玩家的 81 个区块
updates:
refresh-interval-ticks: 60
max-chunks-per-tick: 4
max-blockchanges-per-tick: 8000
async-compute: true
randomization:
seed-mode: "WORLD" # WORLD (共享) 或 PER_PLAYER
overworld:
enabled: true
base-blocks: [STONE, DEEPSLATE]
fake-ores:
DIAMOND_ORE:
stone-variant: DIAMOND_ORE
deepslate-variant: DEEPSLATE_DIAMOND_ORE
weight: 2
min-vein-size: 2
max-vein-size: 8
min-y: -64
max-y: 16
# ... iron, gold, lapis, coal, copper, redstone, emerald ...
placement:
mode: "VEINS" # VEINS | DENSITY | PERCENT
veins-per-chunk: 60
fake-geodes:
enabled: true
chance-per-chunk: 0.10
min-radius: 3
max-radius: 5
nether:
enabled: true
base-blocks: [NETHERRACK]
# ancient debris / nether gold / nether quartz, sparse veins
worlds:
enabled-worlds: [] # 空 = 所有世界
disabled-worlds: [world_the_end]
triggers:
on-block-place: true
on-explosion: true
on-piston: true
每个矿石条目控制其自身的矿脉大小和 Y 轴范围,以便诱饵模仿原版分布。更高的 veins-per-chunk 和 max-blockchanges-per-tick 意味着更逼真的噪声,但每刻的计算量也更大——请根据你的硬件进行调优。
安装
- 需要 Paper 或 Purpur 26.3 和 Java 25(2.0.0 运行于 26.2,1.x 版运行于 1.21.x)。
- 将 JAR 文件放入
plugins/ 目录,并启动服务器一次以生成 config.yml。
- 调整矿石权重、放置方式和世界列表,然后运行
/antixray reload。
依赖项
无必需依赖——AntiXRAY 仅基于 Paper API 运行。
可选:PlayerSettings(软依赖)——当存在时,插件消息遵循每位玩家选择的语言(捆绑英语和葡萄牙语;服务器默认语言通过 config.yml 中的 locale 设置)。
支持 / 源码
源代码:
AntiXRAY
Ghost-ore anti-xray for Paper/Purpur 26.3
Version 2.1.0 · Minecraft 26.3 · Java 25 · Server-side
AntiXRAY takes a different approach to fighting X-Ray cheats: instead of hiding
real ores, it floods the client with realistic fake ore veins and geodes.
Fake ores are sent only for base blocks (stone / deepslate / netherrack) that
are fully hidden behind opaque blocks, so legitimate players almost never see
them. When a cheater digs toward a fake vein and exposes an adjacent block, the
decoy reverts to plain stone. X-Ray users end up wasting time chasing veins that
turn to dust.
How it works (and what it does not do)
Please read this before deciding if AntiXRAY fits your server:
- Fake ores are client-side decoys. They are placed only in fully hidden
blocks, so an X-Ray user sees a cave full of "signals", but any ore they see
actually exposed to air/caves is guaranteed real (decoys are never
exposed).
- This plugin is noise + troll obfuscation, not true hiding: real ores are
still sent to the client normally. It does not remove or mask real ore data.
If your priority is to make real ores invisible to X-Ray, this is not that
kind of plugin.
- What it does well: it makes bulk X-Ray scanning noisy and frustrating, punishes
blind digging toward decoys, and needs no external dependencies.
Features
- Fake ore veins with vanilla-like vein sizes, per-ore weights and Y ranges,
for the Overworld (diamond, iron, gold, lapis, coal, copper, redstone,
emerald) and the Nether (ancient debris, nether gold, quartz).
- Fake amethyst geodes with configurable shell/middle/inner layers and
budding amethyst.
- Placement modes:
VEINS (realistic clusters), DENSITY or PERCENT
(scatter).
- Deterministic seeding:
WORLD (same for everyone) or PER_PLAYER.
- Exposure-aware reverts: decoys revert to real blocks on break, placement,
explosions and pistons.
- Per-world control via enabled/disabled world lists.
- Bypass permission so trusted players can see the real world.
- Async computation with a per-tick send budget to control load.
- Runs entirely in memory — no database, no files, no web server.
Commands
| Command |
Description |
Permission |
/antixray reload |
Reload the configuration |
antixray.admin |
/antixray debug |
Toggle debug output |
antixray.admin |
/antixray flush |
Flush cached spoof data |
antixray.admin |
/antixray info |
Show status/info |
antixray.admin |
Permissions
| Node |
Description |
Default |
antixray.admin |
Access to /antixray admin commands |
op |
antixray.bypass |
See real blocks (no fake ores sent) |
false |
Configuration
Highlights of config.yml:
general:
enabled: true
debug: false
radius:
mode: "CHUNKS" # CHUNKS or BLOCKS
chunks: 4 # 4 = 9x9 = 81 chunks around the player
updates:
refresh-interval-ticks: 60
max-chunks-per-tick: 4
max-blockchanges-per-tick: 8000
async-compute: true
randomization:
seed-mode: "WORLD" # WORLD (shared) or PER_PLAYER
overworld:
enabled: true
base-blocks: [STONE, DEEPSLATE]
fake-ores:
DIAMOND_ORE:
stone-variant: DIAMOND_ORE
deepslate-variant: DEEPSLATE_DIAMOND_ORE
weight: 2
min-vein-size: 2
max-vein-size: 8
min-y: -64
max-y: 16
# ... iron, gold, lapis, coal, copper, redstone, emerald ...
placement:
mode: "VEINS" # VEINS | DENSITY | PERCENT
veins-per-chunk: 60
fake-geodes:
enabled: true
chance-per-chunk: 0.10
min-radius: 3
max-radius: 5
nether:
enabled: true
base-blocks: [NETHERRACK]
# ancient debris / nether gold / nether quartz, sparse veins
worlds:
enabled-worlds: [] # empty = all worlds
disabled-worlds: [world_the_end]
triggers:
on-block-place: true
on-explosion: true
on-piston: true
Each ore entry controls its own vein size and Y range so decoys mimic vanilla
distribution. Higher veins-per-chunk and max-blockchanges-per-tick mean more
convincing noise but more work per tick — tune to your hardware.
Installation
- Requires Paper or Purpur 26.3 and Java 25 (2.0.0 runs on 26.2, 1.x on 1.21.x).
- Drop the JAR into
plugins/ and start the server once to generate
config.yml.
- Adjust ore weights, placement and world lists, then run
/antixray reload.
Dependencies
None required — AntiXRAY runs on the Paper API alone.
Optional: PlayerSettings (soft dependency) — when present, plugin messages follow each
player's chosen language (bundled English and Portuguese; server default via locale in
config.yml).
Support / Source
Source code:
评论 0
登录后参与评分
还没有评论,来抢沙发吧