Описание

# Anti-Dupe 3.7
Anti-Dupe combines real-time transaction verification, persistent item accounting, signed unique-item identities, cross-inventory scanning, automatic quarantine, and safe administrator recovery.
## 🔍 Know Who, What, When & Where
Anti-Dupe greatly expands what happens **after a dupe is detected**.
Every new incident can record:
- **Who** was involved
- **What** items were duplicated
- **When** the incident occurred
- **Where** it happened, including world and precise coordinates
- Backend server information
- Nearby players within **32 blocks**
- UUIDs, distance, and optional game mode
- Previous incident relationships and repeat nearby appearances
This gives administrators much more than a simple **"dupe detected"** warning.


## 🧩 Chunk Audit
When an incident occurs, Anti-Dupe can automatically investigate the surrounding area.
A fixed **3×3 chunk area** is audited — the offender's chunk plus all eight neighbouring chunks.
The audit records:
- Redstone
- Mechanisms
- Storage blocks
- Exact coordinates
- Block totals

This can help administrators identify machines, storage systems, or environmental conditions associated with a duplication exploit.
## 💻 Command Audit
Anti-Dupe preserves the offender's last **10 player-issued commands** when an incident begins.
Commands are displayed:
- Newest first
- With timestamps
- With allowed/cancelled state
- With sensitive authentication information automatically redacted

Passwords, PINs, OTPs, tokens, and authentication arguments are automatically redacted from incident command history.
## 📦 Easy Incident Recovery
Open the recovery system with:
```text
/antidupe recovery
````
The recovery GUI provides a simple workflow:
```text
Players
↓
Incidents
↓
Incident Items
↓
Restore One / Restore All
```
Administrators can inspect confiscated items, browse individual incidents, restore specific items, or restore an entire incident.
## ⚡ Performance Optimized
Anti-Dupe spreads expensive operations across multiple ticks instead of performing everything at once.
Performance and lag-reduction measures include:
* **One chunk per tick** incident auditing
* Staggered scheduled scans
* Configurable scan batching
* Delayed chunk verification
* Two-stage detection and confirmation
* Bounded **3×3** forensic scans
* Command history limited to 10 entries
* Asynchronous Discord notifications
* High-speed movement and Elytra stabilization
The goal is strong detection and detailed forensic evidence **without unnecessarily impacting server TPS**.
## 🌍 Per-World Enforcement
Every world can independently use `disabled`, `audit`, `quarantine`, or inherit the global mode.
World policies now cover:
- Live inventory transactions
- Delayed confirmation checks
- Player inventories and Ender Chests
- Loaded storage containers
- Signed item identities
- Cross-inventory UUID scanning
This makes temporary-kit PvP arenas and minigame worlds easy to isolate while maintaining full protection in survival worlds.
## 🛡️ Core Protection
* Real-time inventory transaction verification
* Persistent global quantity ledger
* HMAC-SHA256 signed unique-item identities
* Cross-inventory duplicate detection
* Two-stage confirmation
* Player, Ender Chest, container, and entity scanning
* Crafting and workstation protection
* Bundle and nested-item accounting
* Trusted shop and reward plugin support
* Inventory snapshots and rollback
* Safe quarantine and recovery
* Velocity and BungeeCord network support
* SQLite, MySQL, MariaDB, and PostgreSQL support
* Discord alerts and private staff notifications
* Operator and Creative Mode protection
* **28 language variants**
> **Detect the dupe. Preserve the evidence. Investigate how it happened. Recover safely.**

```
```