Antixray 图标

Minecraft 服务端插件

Antixray

A Simple Antyxray plugin for your server

版本范围
1.21–26.2
下载量
5.0 万

插件介绍


[⚠️] 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:

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

版本与下载

推荐下载

AntiXray-3.0.jar版本 3.0 · 9.2 KBSHA-1 f6403d8cb12a478b518412a33c7fe9b7814843e5下载 AntiXray-3.0.jar

3.0

正式版
加载器
bukkit · paper · spigot
MC 版本
26.1 · 26.1.1 · 26.1.2 · 26.2
AntiXray-3.0.jar9.2 KBSHA-1 f6403d8cb12a478b518412a33c7fe9b7814843e5获取文件 AntiXray-3.0.jar
展开更新日志
  • [ \ ] Improved Functionality
  • [ \ ] Universal Compatibility: The plugin has been updated to support all Minecraft 26.x versions (e.g., 26.0, 26.1, 26.2, etc.).

2.0

正式版
加载器
bukkit · paper · spigot
MC 版本
1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
AntiXray-2.0.jar13.3 KBSHA-1 426fc4948a7fbced1dd8ea9e2b13bc5c129e7d0e获取文件 AntiXray-2.0.jar
展开更新日志
  • Reworked and optimized the anti-xray system logic.
  • Improved detection of unnatural mining patterns and ore generation behavior.
  • Reduced false positives while increasing overall protection against x-ray usage.
  • Optimized performance to ensure smoother gameplay and minimal impact on server performance.

1.0

正式版
加载器
bukkit · paper · spigot
MC 版本
1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
anty-xray-1.0.0.jar18 KBSHA-1 7932808107b6bf0f17b35b95cbdc5513b0453397获取文件 anty-xray-1.0.0.jar