Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Player Database
  • Skin Browser
  • Cape Gallery
  • Community Hub
  • Seed Vault

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
EventAntiXray
ModLGPL-3.0-only

EventAntiXray

a lightweight Minecraft Fabric mod designed for server administrators to detect potential X-ray cheating

3.0K
Downloads
6
Followers
4 months ago
Updated
📦
6
Versions
managementtechnologyutilityfabric
Download Latestv1.0.5View on Modrinth

📖About EventAntiXray

EventAntiXray

EventAntiXray is a lightweight, purely observational Fabric mod for server administrators who want to detect potential X-ray cheating without impacting server performance or gameplay. It intelligently tracks player mining activity for valuable blocks and discreetly alerts staff when it detects suspicious patterns, complete with Discord integration.

Dependencies

  • Fabric API
  • Fabric Language Kotlin
  • E-Utils (EverlastingUtils)

Features

  • Observational Detection: Monitors block breaks without interfering with gameplay. It never cancels actions, sends packets, or affects block visibility, ensuring zero impact on players.
  • Time-Window Analysis: Detects suspicious activity by tracking how many valuable blocks a player mines within a configurable time period (e.g., 10 diamonds in 30 minutes).
  • Progressive Alerts: Sends an initial alert and then tracks continued suspicious activity, sending follow-up alerts with a special prefix if the behavior persists.
  • Discord Webhook Integration: Sends detailed, customizable embed messages to a Discord channel when an alert is triggered, including the player's inventory at the time of detection. Alerts for continued activity will smartly update the original Discord message.
  • Player-Placed Block Tracking: Features an optional MySQL database integration to track blocks placed by players, effectively eliminating false positives from players mining their own placed ores.
  • Highly Configurable: Customize everything from thresholds and time windows on a per-block basis to the in-game alert messages and sounds.
  • Performance First: Built to be extremely lightweight. It has zero impact on server TPS and uses efficient data structures to minimize memory usage, with non-blocking operations for webhooks.

Commands

The primary command is /antixray, with the alias /eax.

Command Permission Description
/antixray reload antixray.reload Reloads the config.json file from disk, applying any changes immediately.

Configuration

EventAntiXray uses a single, well-documented configuration file located at config/eventantixray/config.json. This file is broken down into clear sections for easy management.

tracked_blocks - The Core of Detection

This is a list where you define every block you want to monitor. Each entry has several key options:

Setting Description
block_id The Minecraft ID for the block (e.g., "minecraft:diamond_ore").
alert_threshold The number of blocks a player must break within the time_window_minutes to trigger the first alert.
time_window_minutes The duration (in minutes) that the mod will look back in a player's mining history to count blocks.
subsequent_alert_threshold After the first alert, this is the number of additional blocks the player must break to trigger a follow-up "Continued" alert.
reset_after_minutes The number of minutes of inactivity (mining this specific block) after which the tracking for a player will automatically reset. Set to 0 to never reset.
alert_message The customizable, MiniMessage-formatted message sent to staff. Supports placeholders like {player}, {count}, {block}, and coordinates.

alerts - Customizing Staff Notifications

This section controls how staff are notified in-game.

  • sound: Configure the sound_id, volume, and pitch of the sound played to staff on an alert. You can even set multipliers to make the sound louder or higher-pitched for each subsequent alert.
  • continued_alert_prefix: A MiniMessage-formatted prefix added to alerts for ongoing suspicious activity (e.g., "<red>[Continued]</red> ").

webhook - Discord Integration

Connect the mod to your Discord server for remote monitoring.

  • enabled: A simple true/false toggle to turn on webhook notifications.
  • url: The full URL of your Discord webhook. Alerts will be sent here as detailed embed messages.

database - Preventing False Positives

This section is for configuring the optional MySQL database to track player-placed blocks.

  • enabled: If true, the mod will connect to your MySQL database to log and check against blocks placed by players. When a player breaks a block, the mod will first check the database. If the block was player-placed, it will be ignored for X-ray detection, preventing false alerts.
  • Connection Details: The config provides fields for your database address, databasename, username, and password, along with other standard connection options.

👥 Team & Contributors

Hysocs
HysocsOwner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
fabric
Minecraft Versions
1.21.1

🔗 Links

Modrinth Page