Описание
# Pixel's AntiCheat
A basic anti-cheat solution for Minecraft servers running NeoForge. This mod helps server administrators detect and prevent the presence of cheats, hacks, and other unauthorized modifications.
---
## ✨ Features
- **Mod Whitelist/Blacklist**: Control which mods are allowed or blocked on your server
- **Blocks Most Popular Cheat Mods**: Blocks popular cheats by default and can be configured for new ones.
- **Suspicious Mod Detection**: Automatically detect potentially harmful mods
- **Anti-Tamper Verification**: Verify the integrity of the AntiCheat to prevent tampering
- **Resource Pack Scanning**: Detect suspicious resource packs (such as XRay) that might give unfair advantages
- **Configurable Actions**: Choose how to handle players with suspicious content
---
## ⚙️ Installation
### 🔔 Important Note
> This mod is required on both server and client sides.
> Players attempting to join a server with this mod installed will be disconnected if they don't have the exact same version of the mod installed on their client.
---
### 🖥️ Server Installation
1. Download the latest version of Pixel's AntiCheat from **[CurseForge/Modrinth/GitHub Releases]**
2. Place the JAR file in your server's `mods` folder
3. Start your server – a default configuration will be generated automatically
4. Optionally customize the configuration file located at `config/pixelsanticheat.json`
---
### 🖥️ Client Installation
1. Download the **exact same version** of Pixel's AntiCheat that is installed on the server
2. Place the JAR file in your client's `mods` folder
3. Start your game
---
## 📝 Configuration
The configuration file is located at `config/pixelsanticheat.json`. It uses a JSON format with comments to make configuration easier.
### 🔧 Configuration Options
- **WhiteList**: List of mod IDs that are always allowed
- **BlackList**: List of mod IDs that are always blocked
- **SuspiciousModIds**: List of strings that, if found in a mod ID, mark it as suspicious
- **AllowedModIds**: List of mod IDs that are exempt from suspicious checks
- **SuspiciousFilePatterns**: Regex patterns for suspicious JAR files
- **AllowedFilePatterns**: Regex patterns for JAR files exempt from suspicious checks
- **SuspiciousResourcePackPatterns**: Regex patterns for suspicious resource packs
- **AllowedResourcePackPatterns**: Regex patterns for resource packs exempt from suspicious checks
- **KickOnSuspiciousContent**: Whether to kick players with suspicious content
---
### 📦 Example Configuration
```json
{
// List of mod IDs that are always allowed
"WhiteList": [
"jei",
"waila",
"journeymap"
],
// List of mod IDs that are always blocked
"BlackList": [
"hackclient",
"cheatmod"
],
// Whether to kick players with suspicious content
"KickOnSuspiciousContent": true
}