From 1c02f01b8563fc4dd6156a0ff17003c238118329 Mon Sep 17 00:00:00 2001 From: Dmitry Rendov Date: Mon, 5 Jan 2026 13:08:20 +0100 Subject: [PATCH 1/2] Update to 1.21, add ko-fi link to README --- README.md | 31 +++++++++++++++++++++++++++++-- pom.xml | 24 +++++++++++------------- 2 files changed, 40 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index d474c1f..1d8d42d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,34 @@ # XRayMonitor - [![CI](https://github.com/DmitryRendov/XRayMonitor/actions/workflows/xraymonitor-ci.yml/badge.svg)](https://github.com/DmitryRendov/XRayMonitor/actions/workflows/xraymonitor-ci.yml) -[![Java](https://img.shields.io/badge/Java-17%2B-orange.svg)](https://java.com) +[![Java](https://img.shields.io/badge/Java-21%2B-orange.svg)](https://java.com) [![License](https://img.shields.io/github/license/DmitryRendov/XRayMonitor)](LICENSE) Let's fight X-Ray cheat with simple Math! + +This simple plugin monitors players' mining activity and detects possible X-Ray cheeting based on 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. + +## Download +XRayMonitor available on GitHub: https://github.com/DmitryRendov/XRayMonitor/releases + +## Installation +1. Download the plugin. +2. Place the plugin in your server's plugins directory. +3. Restart your server. +4. Use the /xrm check command to check a particular player for xray cheeting. + +## Configuration +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 ` - Check the mining activity of a specific player. +- `/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. + +## Support +If you encounter a bug, please open an issue with detailed information. I maintain this in my spare time, so fixes may take a while, but I'll address them when possible. + +## Donate +If you appreciate my work, feel free to: +- Buy Me a Coffee at [ko-fi.com](https://ko-fi.com/dmitryrendov) diff --git a/pom.xml b/pom.xml index 8c1f3bb..fd6918f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ me.drendov.xRayMonitor XRayMonitor - 1.0.0 + 1.1.0 jar XRayMonitor Let's fight X-Ray cheat with simple Math! @@ -17,10 +17,11 @@ + org.spigotmc spigot-api - 1.21.8-R0.1-SNAPSHOT + 1.21.9-R0.1-SNAPSHOT provided @@ -40,24 +41,29 @@ org.junit.jupiter junit-jupiter - 5.10.0 + 5.11.0 test org.mockito mockito-core - 5.5.0 + 5.14.1 test org.mockito mockito-junit-jupiter - 5.5.0 + 5.14.1 test + + + papermc + https://repo.papermc.io/repository/maven-public/ + spigot-repo @@ -71,14 +77,6 @@ CodeMC https://repo.codemc.org/repository/maven-public - - bukkit-repo - http://repo.md-5.net/content/repositories/snapshots/ - - - spigot-repo-new - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - logblock-repo https://www.iani.de/nexus/content/repositories/snapshots/ From 3b833dd1d4b6a7980ccbd4e260ba9b4ebd7507ad Mon Sep 17 00:00:00 2001 From: Dmitry Rendov Date: Mon, 5 Jan 2026 13:10:54 +0100 Subject: [PATCH 2/2] Updated READMER --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d8d42d..8b3d292 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,10 @@ Let's fight X-Ray cheat with simple Math! -This simple plugin monitors players' mining activity and detects possible X-Ray cheeting based on 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. +This simple plugin monitors players' mining activity and detects possible X-Ray cheeting based on 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. Thedetection is based on configurable thresholds, allowing server admins to customize sensitivity according to their needs. Used [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