AI-Powered Minecraft PaperMC Server Protection System
135+ Security Modules · 100% Meteor Client Coverage · Agent Architecture · DeepSeek AI
Quick Start · Architecture · Modules · Meteor Coverage · Deployment · FAQ · 中文
--- ## Overview Aluer ServerGuard is a **next-generation intelligent security system** for Minecraft PaperMC servers. It employs a revolutionary **Agent Architecture** — a lightweight Paper plugin collects real-time data from inside the server process, while an external Spring Boot analysis engine runs independently. The two communicate via **real-time bidirectional WebSocket**. ### Why Aluer ServerGuard? | Problem | Aluer Solution | |---------|---------------| | Cheat clients rampant (Meteor Client etc.) | 100% coverage of all 55 Meteor Client hack modules with millisecond-level detection | | Traditional anti-cheats rely on rigid rules | AI + ML dual-layer: DeepSeek LLM semantic analysis + Isolation Forest/Shannon Entropy/FFT statistical detection | | DDoS attacks crash servers | 7-layer coordinated DDoS defense (SYN/UDP/ICMP/HTTP/Slowloris/MC protocol/amplification) | | Server crashes when admin is offline | Kernel autonomy engine + SelfHealing orchestrator: auto-detect → analyze → execute → recover | | Multiple security tools complex to manage | Single JAR deployment, Web console for all 135+ modules, in-game /aluer commands | | Plugin mode invasive, impacts TPS | Agent architecture: plugin uses only ~50MB RAM, analysis engine runs separately | ### Core Capabilities | Capability | Description | |---|---| | **Full Anti-Cheat** | 100% Meteor Client coverage — Combat/Movement/World/Player/Misc 55 modules | | **AI Decision Engine** | DeepSeek LLM auto-analysis → defense strategy → auto-execution (ban/kick/whitelist/clearlag) | | **ML Behavioral Analysis** | Isolation Forest anomaly detection + Time series prediction + Shannon Entropy profiling + FFT spectrum analysis | | **DDoS Multi-Layer Defense** | SYN/UDP/ICMP/HTTP/Slowloris/MC Status/Login/Rcon/Query coordinated defense | | **Server Self-Healing** | TPS < 12 or CPU > 92% or Memory > 95% auto-triggers recovery (backup → clear entities → throttle → whitelist → soft restart) | | **Dual-Mode** | Agent Plugin mode (recommended, <1ms latency, 50K+/s) + External RCON mode (zero invasion) | --- ## Quick Start ```bash # Download latest release wget https://github.com/ZpjDev/Aluer/releases/latest/download/serverguard.jar # Start (External mode, ready out of the box) java -jar serverguard.jar # Web Console: http://localhost:8080 ``` ### Agent Plugin Mode (Production) ```bash # 1. Start ServerGuard engine java -jar serverguard.jar # 2. Copy JAR to Paper plugins/ cp serverguard.jar /opt/minecraft/plugins/AluerServerGuard.jar # 3. Agent config mkdir -p /opt/minecraft/plugins/AluerServerGuard echo 'server-url: ws://localhost:8080/agent' > /opt/minecraft/plugins/AluerServerGuard/config.yml # 4. Start Paper — Agent auto-connects cd /opt/minecraft && java -Xms4G -Xmx4G -jar paper-1.21.11.jar nogui ``` ### Build from Source ```bash git clone https://github.com/ZpjDev/Aluer.git && cd Aluer ./apache-maven-3.9.6/bin/mvn compile # Compile 225 source files ./apache-maven-3.9.6/bin/mvn test # Run 323 tests ./apache-maven-3.9.6/bin/mvn package -DskipTests # Build JAR (~63MB) ``` --- ## Architecture ``` ┌─────────────────────────┐ WebSocket ┌──────────────────────────┐ │ PaperMC Server │ <=========================> │ ServerGuard Engine │ │ │ ws://host:8080/agent │ Spring Boot :8080 │ │ ┌────────────────────┐ │ │ │ │ │ AluerPlugin (Agent) │ │ Agent → Server │ ┌────────────────────┐ │ │ │ │ │ EVENT/METRICS/ALERT │ │ 135+ Security │ │ │ │ 9 Event Listeners │ │ HEARTBEAT/HANDSHAKE │ │ Modules │ │ │ │ + WebSocket Client │ │ │ ├────────────────────┤ │ │ │ + Command Executor │ │ Server → Agent │ │ ML/AI Engine │ │ │ └────────────────────┘ │ COMMAND/CONFIG/SHUTDOWN │ │ + DeepSeek Client │ │ │ │ │ │ + Kernel Autonomy │ │ │ Immediate interception │ │ │ + Web Console │ │ │ event.setCancelled() │ │ └────────────────────┘ │ └─────────────────────────┘ └──────────────────────────┘ ``` **Message Types (Agent → Server):** `EVENT` · `METRICS` · `ALERT` · `HEARTBEAT` · `HANDSHAKE` · `COMMAND_RESULT` **Commands (Server → Agent):** `BAN_IP` · `BAN_PLAYER` · `KICK` · `CLEAR_LAG` · `SET_SPAWN_RATE` · `ENABLE_WHITELIST` · `BROADCAST` · `SAVE_ALL` · `EXECUTE` --- ## Security Modules ### Anti-Cheat — 100% Meteor Client Coverage **Combat (16 modules):** `AntiKillAura` · `AntiReach` · `AntiAutoClicker` · `AntiCriticals` · `AntiAutoCrystal` · `AntiAutoTotem` · `AntiSurround` · `AntiAutoTrap` · `AntiAutoArmor` · `AntiChestSwap` · `AntiAutoLog` · `AntiHitboxes` · `AntiBowAimBot` · `AntiVelocity` · `AntiAnchor` **Movement (19 modules):** `AntiFly` · `AntiSpeed` · `AntiJesus` · `AntiNoFall` · `AntiTimer` · `AntiPhase` · `AntiBlink` · `AntiScaffold` · `AntiSpider` · `AntiStep` · `AntiNoSlow` · `AntiPacketFly` · `AntiAirJump` · `AntiLongJump` · `AntiAntiHunger` · `AntiFastFall` · `AntiVClip` · `AntiElytraFly` **World (13 modules):** `AntiNuker` · `AntiAutoMine` · `AntiSpeedMine` · `AntiFastBreak` · `AntiFastUse` · `AntiNoInteract` · `AntiVeinMiner` · `AntiAutoTool` · `AntiAutoFish` · `AntiChestSteal` · `AntiXray` · `AntiBaritone` · `AntiGrief` **Misc (9 modules):** `AntiDupe` · `AntiFakePlayer` · `AntiPistonAura` · `AntiStashFinder` · `AntiInventoryManipulation` · `AntiNameSpoof` · `AntiSkinSpoof` · `AntiAltAccount` · `AntiOfflineModeSpoof` **Network Protocol (7):** `ProtocolStateValidator` · `TokenBucketRateLimiter` · `BotFingerprintDetector` · `NBTExploitPrevention` · `ConnectionHandshakeValidator` · `DDoSProtection` · `DDoSDefenseCoordinator` **Server Protection (11):** `AntiSignExploit` · `AntiBookBan` · `AntiResourcePackExploit` · `AntiTabCompleteCrash` · `CrashExploitProtection` · `CrashExploitSignatureDB` · `LagMachineDetection` · `PacketFloodProtection` · `ChunkLoadRateLimiter` · `EntityCountEnforcer` · `RedstoneUpdateLimiter` **Chat Security (5):** `ChatFloodProtection` · `AntiAdvertisement` · `AntiPhishingLink` · `AntiCommandAbuse` · `PlayerPrivacy` **ML/AI Engine (6):** `BehavioralProfilingEngine` · `ThreatScoreAggregator` · `MovementPatternAnalyzer` · `CombatPatternRecognizer` · `AnomalyDetector` · `TimeSeriesPredictor` **Defense-in-Depth (30+):** WAF · IDS · IPS · SIEM · Honeypot · EDR · ZeroTrust · JWT · SSL/TLS · GeoBlock · VPN · DNS Tunnel · ARP Spoof · ReverseShell · Process Injection · File Integrity · Backdoor Plugin · Compliance · Forensics · Threat Hunting · Incident Response · Security Baseline · Container Security --- ## Meteor Client Coverage Matrix | Category | Meteor Hacks | Aluer Counter-Modules | Coverage | |----------|-------------|----------------------|----------| | Combat | 15 | 16 | **100%** | | Movement | 18 | 19 | **100%** | | World | 12 | 13 | **100%** | | Player | 5 | 10 | **100%** | | Misc | 5 | 9 | **100%** | | **Total** | **55** | **66** | **100%** | [Meteor Client](https://github.com/MeteorDevelopment/meteor-client) is the largest Minecraft cheat client. Every single hack module has a corresponding detection service in Aluer ServerGuard. --- ## Deployment ### Mode Comparison | Feature | Agent Plugin | External | |---------|-------------|----------| | Communication | WebSocket bidirectional real-time | RCON + log parsing | | Latency | < 1ms (local) | 50-200ms (RCON) | | Event Throughput | 50,000+ events/s | Log-dependent | | Data Precision | Bukkit Event level (per tick) | Log text level (seconds delay) | | MC Invasiveness | Paper plugin (~50MB) | Zero (RCON port only) | | Instant Interception | Yes (event.setCancelled) | No (post-alert only) | | Module Coverage | Full 135+ modules | ~40 external monitor modules | | Recommended | **Production** | Evaluation / Testing | --- ## In-Game Commands | Command | Permission | Description | |---------|-----------|-------------| | `/aluer status` | `aluer.status` | Protection status, TPS, online players, packet rate | | `/aluer scan
Aluer ServerGuard V5.0
Protecting Every Minecraft Server