Antixray

Quick rating

Antixray

No reviews yet

A Simple Antyxray plugin for your server

No Theme
No Genre
Storage & Organization
Server Utility
Mod Loaders
Paper
Spigot
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
All Rights Reserved
Latest Version
3.0
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description


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

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~54,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works