Understanding the Rate of XRay Plugin for Minecraft Servers
Maintaining a fair and enjoyable multiplayer environment is one of the biggest challenges for Minecraft server administrators. While the game encourages creativity and exploration, some players resort to using XRay mods or resource packs that let them see through blocks to locate valuable ores instantly. The Rate of XRay plugin offers a clever, data-driven solution to detect and deter such cheating without invasive real-time monitoring.
This server-side tool doesn’t actually prevent XRay directly. Instead, it silently tracks every block a player breaks and calculates an ore-to-stone ratio, converting it into a simple probability value between 0 and 3200. A score of 3200 means a player is mining nothing but diamonds — a statistically impossible feat under normal gameplay. By analyzing these ratios, admins can spot suspicious patterns and take action before the server economy or survival balance gets ruined.
How the Detection Algorithm Works
The plugin logs every broken block, distinguishing between stone, ores, and other materials. It then computes a dynamic “XRay probability” for each player. This number isn’t a real statistical probability but a scaled representation of how heavily the player’s mining leans toward high-value ores. The system is fast, requires no per-block logging overhead, and supports multiple worlds out of the box. It even ignores creative mode mining if configured, so builders testing things won’t trigger false alarms.
One of the smartest design choices is that it doesn’t need a database — all data stays in memory and is periodically saved to disk. The autosave interval can be adjusted, and you can clear individual player data or wipe everything with simple commands. For admins who manage large networks, the multi-world support and the ability to disable logging for specific worlds are essential.
Key Features at a Glance
- Real-time ore-to-stone ratio tracking without laggy per-block logging
- Multi-world support with per-world disable options
- Automatic chat notifications when a player exceeds the warning threshold
- Search and ranking commands to find high-probability players quickly
- No external database required — lightweight and self-contained
- Configurable thresholds for warning level, minimum blocks broken, and cooldown
- Optional MCStats integration to help improve the algorithm with aggregated data
Configuration That Fits Your Server
Every server has different tolerance levels. The plugin’s config file gives you fine-grained control. For example, minWarnLevel sets the probability score at which warnings start (default 75), while noWarnBeforeBlocks (default 1000) prevents false positives from new players who haven’t mined enough yet. The warnDelaySeconds (3600) ensures a player won’t be spammed with alerts every minute. You can also choose whether to track placements (for ores obtained with Silk Touch), include banned or inactive players in search results, and toggle console save notifications.
Server-side tools like Rate of XRay are essential for keeping your community honest, but players often look for client-side mods to enhance their own experience. Many of those quality-of-life mods can be easily installed via the foxygame.net launcher — a convenient, flexible, and modern Minecraft launcher where you can download mods right from the menu, streamlining the whole process without manual file juggling.
Powerful Commands for Quick Investigation
Once installed, the plugin adds a suite of /rx commands accessible to admins with the right permissions. Here are the most useful ones:
/rx check [user]— Displays detailed ratio info for a specific player. Shortcut:/rx [user]/rx search [%]— Lists all players whose XRay probability is at or above the given percentage./rx top [amount]— Shows the top offenders, defaulting to 10 players./rx avg— Outputs the average probability across all tracked players./rx stats— Gives a global breakdown of all tracked blocks, not just per-player./rx clearplayer [user]and/rx clearall— Wipe data for a single user or everyone./rx reloadconfig— Reload settings without restarting the server./rx save— Force an immediate save of all data to disk.
Permission Nodes for Granular Control
You can assign permissions to staff members so they see only what they need. The node rateofxray.nolog completely exempts a player from tracking — ideal for trusted builders or admins. rateofxray.notifications lets staff receive automatic alerts about suspicious players, while rateofxray.selfnotifications can even warn a player if their own ratio spikes (useful for self-policing). The master node rateofxray.admin grants all commands and notification rights.
MCStats and Future Improvements
The plugin uses MCStats.org to collect anonymized data about broken block percentages, average warning levels, and total tracked players. This information helps the developer refine detection algorithms. The plugin’s roadmap includes tracking block placements (for Silk Touch ores), logging blocks between the surface and the first diamond, and focusing on vein detection instead of individual ores — all aimed at reducing false positives even further.
Why Rate of XRay Belongs in Your Anti-Cheat Toolkit
XRay cheaters can destroy a server’s economy and discourage honest players. Rate of XRay doesn’t rely on client-side detection that can be bypassed; it uses pure statistical analysis of mining behavior. The lightweight design, absence of a database requirement, and flexible configuration make it suitable for servers of any size. Combined with common-sense moderation, it provides a transparent and effective way to keep your Minecraft world fair for everyone.