A lightweight plugin that sends alerts to the staff team when it suspects that someone is X-raying
A Minecraft X-ray Detection Plugin
XrayDetector is a comprehensive detection system for identifying potential X-ray usage on Minecraft servers. This plugin monitors ore mining patterns and alerts staff members when suspicious activity is detected.
Author: nevmind
Version: 1.0.0
All Rights Reserved
/xray toggle - Enable or disable the detection system/xray set ores <number> - Configure ore threshold for alerts/xray set time <seconds> - Set the time window for detection/xray tp <player> - Teleport to suspected player in spectator mode (invisible)/xray chances list - View top 10 players with highest X-ray suspicion points/xray reload - Reload configuration without restartingxray.admin - Access to all plugin commands (default: op)xray.alerts - Receive X-ray detection alerts (default: op)XrayDetector-1.0.0.jar from the releasesplugins folderplugins/XrayDetector/config.ymlThe plugin uses the Bukkit API 1.13+ for maximum compatibility across versions.
The plugin creates a config.yml file in plugins/XrayDetector/ with the following options:
# Enable or disable detection system
enabled: true
# Number of ores to trigger alert
ores_threshold: 10
# Time window in seconds
time_window: 60
Each severity level can be configured with minimum/maximum ore counts and point values:
Customize alert message colors using Minecraft color codes:
&b = Aqua (Light Blue)&f = White&e = Yellow&6 = Gold&c = Red&4 = Dark Redxray.alerts permissionThe plugin monitors all ore types including:
[XrayDetector] PlayerName mined 15 ores in 30.0 seconds [MEDIUM] (+15 points, Total: 45)
| Command | Permission | Description |
|---|---|---|
/xray toggle |
xray.admin |
Toggle detection on/off |
/xray set ores <num> |
xray.admin |
Set ore threshold |
/xray set time <sec> |
xray.admin |
Set time window |
/xray tp <player> |
xray.admin |
Teleport to player (spectator) |
/xray chances list |
xray.admin |
Show top suspects |
/xray reload |
xray.admin |
Reload configuration |
Aliases: /xr, /xraydetector
Q: Does this plugin prevent X-ray?
A: No, this plugin only detects potential X-ray usage. It cannot prevent players from using X-ray texture packs or mods.
Q: Will this catch all X-ray users?
A: The plugin detects suspicious mining patterns that may indicate X-ray usage. However, it's not 100% accurate and should be used as one tool among many for server moderation.
Q: Can players see the alerts?
A: Only players with the xray.alerts permission (typically staff) receive alerts.
Q: What happens when a player is detected?
A: The plugin only sends alerts and tracks points. Staff must manually review and take appropriate action.
Q: Does this work on older versions?
A: The plugin requires Minecraft 1.13 or newer due to API compatibility.
For bug reports, feature requests, or support:
XrayDetector by nevmind
All Rights Reserved
This software is proprietary and confidential. Unauthorized copying, distribution, or modification is strictly prohibited without explicit permission from the author.
Developer: nevmind
Plugin Version: 1.0.0
Last Updated: 2025
Thank you for using XrayDetector!