HomeJavaModsEventAntiXray
EventAntiXray
EventAntiXray — screenshot 1

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


Features


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.

webhook - Discord Integration

Connect the mod to your Discord server for remote monitoring.

database - Preventing False Positives

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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more