Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@
Let's fight X-Ray cheat with simple Math!

![XRayMonitor Logo](XRayMonitor.png?raw=true "XRayMonitor Logo")

This simple plugin monitors players' mining activity and detects potential X-Ray cheating through statistical analysis. When a player mines significantly more valuable ores (like diamonds, gold, emeralds) compared to common blocks (like stone, coal), the plugin flags them for potential cheating. The detection is based on configurable thresholds, allowing server admins to customize sensitivity according to their needs, and uses [LogBlock](https://www.spigotmc.org/resources/logblock.67333/) data to analyze mining patterns over time.

This plugin requires Java 21 or higher and is compatible with Minecraft server versions 1.20.x and above. Also, it supports both Paper and Spigot server implementations.


## Download
XRayMonitor available on GitHub: https://github.com/DmitryRendov/XRayMonitor/releases
XRayMonitor available on
- GitHub: https://github.com/DmitryRendov/XRayMonitor/releases
- SpigotMC: https://www.spigotmc.org/resources/xraymonitor.131488/

## Installation
1. Download the plugin.
Expand All @@ -24,12 +27,16 @@ XRayMonitor available on GitHub: https://github.com/DmitryRendov/XRayMonitor/rel
The configuration file `config.yml` is created in the plugin's folder after the first run.

## Commands
- `/xrm all` - Check the mining activity of all players on the server.
- `/xrm <player>` - Check the mining activity of a specific player.
- `/xrm all` - Check the mining activity of all online players on the server.
- `/xrm <player>` - Check the mining activity of a specific player, even offline.
- `/xrm reload` - Reload the plugin configuration.
- `/xrm Player world:survival` - Check a specific player's mining activity in a specific world.
- `/xrm all ore:diamond_ore rate:3` - Check all players' mining activity for diamond ore with a rate of 3.

![XRayMonitor Player check](XRayMonitor-player-check.png?raw=true "XRayMonitor Player check")

![XRayMonitor Admin notification](XRayMonitor-admin-notification.png?raw=true "XRayMonitor Admin notification")

## Adding New Materials in the code

### Easy Extension Process:
Expand Down
Binary file added XRayMonitor-admin-notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added XRayMonitor-player-check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.