Skip to content

适用于 Minecraft 1.21.1, 1.21 的 Antixray 插件

一个为你的服务器准备的简单 Antyxray 插件

起价 kamshi · Modrinth
次下载
11 次下载
次浏览
124 次浏览
已更新
已更新 04.09.2026

关于 Antixray 插件

[⚠️] NOTE! If you have any issues with the plugin, please report them on our Discord!

🔒 AntiXray Plugin: AntiXray is a lightweight anti-cheat plugin for Minecraft 1.21+ (Paper/Purpur) that prevents X-Ray cheating using ProtocolLib packet manipulation without modifying the actual world data.

👉 Compatible with Java 21+ and Paper/Purpur 1.21.4+

Features:

🎮 Player Experience:

  • Legit players see everything normally – ores visible from caves are rendered correctly with zero delay.
  • Ores reveal instantly when mining – nearby ores are exposed automatically as you dig.
  • X-Ray cheaters see fake blocks instead of valuable ores like diamonds, gold, and emeralds.
  • Lag-free invisible packet protection.

⚙️ Admin Commands (/antixray – alias: /ax – requires antixray.admin permission):

  • /antixray reload – Hot-reload config.yml and rebuild the NMS block registry without restarting the server.
  • /antixray status – Display live cache metrics (size, hit/miss rate, and JVM/ProtocolLib status).
  • /antixray debug – Show current debug logs status.
  • /antixray help – Show command help menu.

🛡️ Protection Engine:

  • Configurable Hidden Blocks: Choose which ores to protect (defaults: Diamond, Emerald, Gold, Iron, Coal, Lapis, Redstone, Copper, Ancient Debris, Nether Ores, etc.).
  • Engine Mode - LAYER: Replaces ores that are completely covered on all 6 sides by solid blocks with stones/deepslate.
  • Engine Mode - OBFUSCATE: Replaces hidden ores AND injects random fake ores into stone/deepslate to completely mislead X-Ray users.
  • Reveal Mechanism: Ores become visible within a configurable reveal-radius (default: 2 blocks) when a block is broken nearby.
  • World Whitelist & Blacklist: Explicitly enable or disable protection on specific worlds.

🔐 Security:

  • Packet-level Obfuscation: Intercepts outgoing MAP_CHUNK packets using ProtocolLib and rewrites the bit-packed PalettedContainer byte array.
  • Bypass Permission: Players with the antixray.bypass permission will see the real, unmodified chunk data (great for trusted admins).
  • Robust Protection: Blocks all client-side X-Ray mods, texture packs, cheat clients, and custom shaders.

📦 Requirements:

  • Server: Paper or Purpur 1.21.4+ (required for NMS Mojang mappings).
  • Java: 21 or Java 25.
  • Dependency: ProtocolLib 5.3.0+ (required).

⚡ Performance & Optimization:

  • Thread-safe LRU Cache: Obfuscated chunk packet data is cached globally per chunk (ChunkDataCache) – chunks are processed once and served instantly to all players, minimizing CPU usage.
  • Read-Write Locking: Thread-safe execution for multi-threaded packet handling.
  • Smart Boundary Checks: Invalidates cache for adjacent chunks when a block is broken on chunk borders.
  • Minimal Memory Footprint: Efficient cache invalidation on block break/place and TTL cleanups.

🚀 Installation:

  • Download and install ProtocolLib from SpigotMC or GitHub.
  • Place ProtocolLib.jar in your plugins/ folder.
  • Place antixray.jar in your plugins/ folder.
  • Restart your server to generate the default configuration.
  • Customize plugins/AntiXray/config.yml and run /antixray reload.

如何安装 Antixray

  1. A server on Paper, Spigot or Bukkit

    The plugin runs on the server core for Minecraft 1.21–26.2; players do not need to install anything.

  2. File goes into the plugins folder

    Download the file AntiXray-3.0.jar (9 KB) and put it into the server’s plugins folder.

  3. Restart the server

    On startup the plugin creates its own settings folder in plugins.

  4. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

版本

含依赖项

Minecraft加载器文件操作
26.2Bukkit, Paper, Spigot26.29.2 KB 2
26.1Bukkit, Paper, Spigot26.19.2 KB
1.21.11Bukkit, Paper, Spigot1.21.1113.3 KB
1.21Bukkit, Paper, Spigot1.2113.3 KB 3

常见问题

Which Minecraft versions does Antixray work on?

There are files for 1.21–26.2, 16 versions in total. The newest is 26.2.

Do players need to install Antixray?

No, the plugin goes only on the server Paper, Spigot or Bukkit, into the plugins folder: players do not need to download anything.

How do I download Antixray?

With Millida Launcher: it installs Antixray into a modpack by itself, for the right game version and loader. The launcher is free.

评价

成为第一个评价 Antixray 的人

评论 0

登录后即可评论登录

相似插件

全部插件

了解更多

作者: kamshi许可证: LicenseRef-All-Rights-Reserved

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。