# NeoAntiXray 4.0.0
## Overview
NeoAntiXray 4.0.0 is the largest update released so far. This version completely redesigns the staff workflow, TopLuck system, update notifications, GUI navigation, punishment system, and overall user experience.
---
# New Features
## New Main Menu
Command:
```text
/nax
```
Now opens a modern GUI hub instead of displaying simple messages.
Main menu includes:
* TopLuck
* Admin Tools
* Check Updates
* History
* Help
* Statistics
---
## TopLuck Redesign
### Player Heads
Players are now displayed using their Minecraft heads.
### Sorting System
Players are sorted by:
```text
Diamond / Stone %
```
Highest percentage first.
### Modes
TopLuck supports:
* Online Players
* Offline Players
* All Players
A single button cycles through:
```text
Online → Offline → All → Online
```
### Detailed Player Profile
Clicking a player opens:
* Diamond %
* Total ores mined
* Stone mined
* Ore breakdown
* Luck score
* Suspicion score
* Teleport button
---
# Admin Tools
A dedicated Admin Tools menu has been added.
Contains:
* AutoMod
* AutoKick
* AutoBan
* Pardon Player
* Punishment History
* Statistics Controls
---
## Pardon Player GUI
Clicking:
```text
Admin Tools → Pardon Player
```
opens an anvil GUI.
Process:
1. Type player name.
2. Take result paper.
3. NeoAntiXray executes:
```text
/nax pardon <player>
```
4. Automatically returns to Admin Tools.
---
# Auto Moderation System
## AutoMod
Automatically tracks suspicious mining behavior.
Uses:
* Diamond ratio
* Ancient Debris ratio
* Vein sizes
* Total mined blocks
* Mining consistency
---
## AutoKick
Automatically kicks highly suspicious players.
Configurable.
Command:
```text
/autokick
```
---
## AutoBan
Automatic progressive punishment system.
### First Detection
```text
1 Day Ban
```
### Second Detection
```text
7 Day Ban
```
### Third Detection
```text
30 Day Ban
```
### Fourth Detection
```text
Permanent Ban
```
---
## Inventory Reset
When AutoBan triggers:
* Inventory is cleared
* Ender Chest is cleared
---
# Anti-XRay Improvements
## One Alert Per Vein
Fixed spam issue:
```text
x10
x9
x8
x7
x6
...
```
Now only:
```text
X-Ray Steve found x10 Deepslate Diamond Ore
```
once per vein.
---
## Improved Suspicion Formula
Legitimate cave miners are much less likely to be punished.
New calculation includes:
* Diamond %
* Stone mined
* Ore diversity
* Ancient Debris ratio
* Large vein frequency
* Mining duration
---
# Update System
## Automatic Update Check
Admins receive a message when joining.
Possible states:
### Outdated
```text
A new version is available.
Click here to download.
```
### Latest
```text
You are running the latest version.
```
### Development Version
```text
You are running a development build.
```
---
## Clickable Download Link
Update messages are now clickable.
Opens:
```text
https://modrinth.com/plugin/neoantixray
```
---
## Update GUI
Command:
```text
/nax update gui
```
Opens:
* Current version
* Available versions
* Release history
Current version is displayed in gray.
---
# Help GUI
Command:
```text
/nax help gui
```
Displays:
* All commands
* Permissions
* Descriptions
* Navigation buttons
---
# History GUI
Command:
```text
/nax history
```
Features:
* Newest alerts first
* Pagination
* Teleport to alert location
* Player filtering
---
# Console Improvements
## Enable Message
Large NeoAntiXray pixel-art banner displayed on startup.
Includes:
* Version
* Author
* Server version
* Status
---
## Disable Message
Large NeoAntiXray shutdown banner.
Displays:
* Plugin shutdown status
* Session statistics
---
# Permissions
```text
neoantixray.admin
neoantixray.alerts
neoantixray.topluck
neoantixray.topluck.tp
neoantixray.stats
neoantixray.history
neoantixray.update
```
---
# Compatibility
```text
Paper 26.1.2
Java 21+
```
---
# Version
```text
NeoAntiXray 4.0.0
```
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }