▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
AntiXRay

AntiXRay

New gen Anti XRay that hide Ores

Оцените первым
3.7K
8

AntiXRay — High-Performance Raytrace Anti-XRay

!Supported: 1.16.x – 26.1.x !Folia !Paper !Purpur !Spigot

Prevents X-Ray clients from seeing ores and hidden blocks using a Digital Differential Analyser (DDA) raytracing algorithm. Only blocks a player can legitimately see are sent — everything else is replaced with innocent stone in the chunk packet before it leaves the server.


🔭 How It Works

Player Eye ──── DDA ray (7 origins, N steps) ────► [Diamond Ore]
                              ↑
                   Blocked by solid block?
                   YES → send fake stone
                   NO  → reveal real block

For every protected block in view distance, 7 rays are cast from around the player's eye position. If any single ray arrives unobstructed, the block is revealed. Otherwise the client receives a harmless replacement block. The inner loop is intentionally simple so the JVM's JIT compiler can auto-vectorise it with SIMD instructions.


⚙️ Engine Modes

ModeSecurityCPU costDescription
RAYTRACE⭐⭐⭐MediumFull DDA raytracing for every protected block
PROXIMITY⭐⭐LowHide blocks with no adjacent air/transparent neighbour
HYBRID⭐⭐⭐Low–MediumProximity first, raytrace only on blocks that pass — recommended

✨ Features

  • DDA Raytracing — 7 ray origins per block, configurable step count (default: 12)
  • Work-stealing thread pool — ForkJoinPool auto-sized to CPU cores, chunk sections processed in parallel
  • Lock-free TTL cacheConcurrentHashMap-backed cache with configurable TTL, avoids recom✨g the same ray twice
  • TPS guard — automatically skips heavy processing when server TPS drops below a configurable threshold
  • Per-world configuration — independent engine mode, ore list, and replacement block per world
  • Folia native supportRegionScheduler + AsyncScheduler via reflection, respects per-region tick budgets
  • X-Ray detection — 60-second sliding window per player with per-category thresholds (diamond, ancient debris, emerald, generic)
  • Detection alerts — staff chat notifications, log file, custom punishment commands with %player% / %world% / %x%/%y%/%z% placeholders
  • Full 1.16–1.21 ore list — deepslate ores, Ancient Debris, Trial Spawner, Vault, Spawner, Chests
  • Bypass permissionantixray.bypass for trusted staff and creative players

🖥️ Platform Compatibility

PlatformStatusNotes
Bukkit / CraftBukkit✅ FullStandard BukkitScheduler, block-update fallback
Spigot✅ FullAll Spigot optimisations respected
Paper✅ FullAsync chunk API, packet-level interception
Purpur✅ FullAll Paper features + Purpur config detected
Folia✅ Fullfolia-supported: true, RegionScheduler via reflection

🚨 X-Ray Detection

Detection thresholds (all configurable in config.yml):

CategoryDefault threshold
Diamond ore6 per minute
Ancient Debris3 per minute
Emerald ore8 per minute
Generic ores15 per minute

Alert actions: in-chat staff notification · log file (plugins/AntiXRay/logs/detections.log) · custom commands


📋 Commands

Aliases: /antixray, /axr, /xray

CommandDescription
/axr reloadReload config.yml without a server restart
/axr statusShow engine mode, thread count, ray counters, cache size
/axr debugShow current debug mode status
/axr bypasslistList all online players with bypass permission

🔑 Permissions

NodeDefaultDescription
antixray.adminopAccess to all /axr commands
antixray.bypassfalseSkip obfuscation — for trusted staff / creative mode
antixray.notifyopReceive in-chat X-Ray detection alerts

⚡ Performance Presets

Server sizeray_stepscache_ttl_ticksasync_processing
Small (< 50 players)162true
Medium (50–200)124true
Large (200+)88true
Budget VPS410false

📦 Installation

  1. Drop AntiXRay-2.0.0.jar into your plugins/ folder
  2. Start / restart the server — plugins/AntiXRay/config.yml is generated automatically
  3. Tune settings for your server size
  4. Run /axr reload

Requirements: Java 17+ · Minecraft 1.16.x – 1.21.x · Any Bukkit-compatible server

Build from source:

mvn clean package
# Output: target/AntiXRay-2.0.0.jar

📜 License

MIT License — free to use, modify, and redistribute.

Minecraft1.7.x-1.21.x
Server SoftwarePaper, Purpur, Folia, Bukkit, Spigot
Java21+
ProtocolLibPlease use the Newst Version

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.1.x1.21.x1.20.x1.19.x1.18.x1.17.x1.16.x1.15.x1.14.x1.13.x1.12.x1.11.x1.10.x1.9.x1.8.x1.7.x

Поддерживаемые окружения

Сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:3 месяца назад
Обновлён:3 недели назад
Главная