Перейти к содержимому
Mineforgian

Anti-Dupe

A security tool for Minecraft servers, designed to prevent item duplication exploits.

Загрузки
22K
Подписчики
38
Обновлён
3 февраля 2026 г.
Лицензия
All-Rights-Reserved

Опубликован 2 октября 2023 г.

Anti-Dupe

Compatibility: Bukkit / Spigot / Paper / Purpur (1.21.11)
Author: [email protected]
Discord: https://discord.com/invite/SfEHT6TEdm
Ko-fi: https://ko-fi.com/cranix

Key Features

Advanced Item Duplication Prevention (For un-stackable items)

  • Uses a hybrid system of deterministic hashes and per-item unique IDs to safely detect duplicated items without false positives.

Lineage-Aware Serialization (For stackable items)

  • Players can now combine similar stackable items even when items carry different lineage / NBT data.
  • Lineage serial ranges are merged correctly
  • No data is lost
  • Inventory consolidation behaves like vanilla Minecraft

Inventory & Cross-Inventory Scanning

  • Detects duplicate items within a player’s inventory and across all online players. Keeps legitimate copies and removes only excess items.

Custom Item Rules (Name-Based)

  • Track custom items by display name, not NBT or material, preventing renamed items from bypassing detection.

Per-Item Hash Modes

  • NAME – stackable items share a deterministic hash (ideal for currencies like Money Sachets)
  • UNIQUE – non-stackable or special items get a unique ID per item

Custom Stack Sizes (Per Item)

  • Define allowed stack sizes for both vanilla and custom items via commands or config.

Always-Scanned Custom Items

  • Custom items are always checked, even when onlyscan mode or material exclusions are enabled.

Multi-Language Support

  • Added in game language support for the following.
de_DE
en_US
es_ES
fr_CA
fr_FR
it_IT
ja_JP
pl_PL
pt_BR
ru_RU
tr_TR
uk_UA
zh_CN

Safe Removal & Recovery System

  • Excess duplicate items are backed up to recovery.yml instead of being deleted.

Multi-Language Discord Webhook Alerts (Embed Messages)

  • Sends rich embed notifications in multiple languages to a Discord channel when a duplication is detected. Discord Reporting)

Admin Whitelist

  • Exempt trusted players from all anti-dupe checks.

OnlyScan Mode

  • Scan only high-value items for performance, while still protecting all custom items.

Automatic Ban Option

  • Optionally bans players caught duplicating, with full logging.

Hot Reload Support

  • Reload custom item rules, stack sizes, hash modes, language files, and Discord config without restarting the server.

Detailed Logging

  • Duplication attempts logged in dupe_log.yml, bans recorded in bans.yml.

Support

For bugs, suggestions, or questions, join us on Discord:
https://discord.com/invite/SfEHT6TEdm

Ченджлог

3.0Релиз1.21.9, 1.21.10, 1.21.11 · 3 февраля 2026 г.
  • Fixed broken drop mechanics in inventory.
  • Compatibility issues fixed, now works with 1.21.x.
  • Removed ban managment, all information logged to dupe_log.yml or reported to discord.
2.9Релиз1.21.11 · 25 января 2026 г.
  • Fixed Anti-Dupe not logging to dupe_log.yml.
  • Fixed Anti-Dupe not loading all language files.
    LangFiles

If you have any suggestions or corrections regarding translations in your native language file, please let me know.

Discord: https://discord.com/invite/SfEHT6TEdm

2.8Релиз1.21.11 · 20 января 2026 г.

Lineage-Aware Stack Consolidation

Players can now combine similar stackable items (e.g. 10 + 1 → 11) even when items carry different lineage / NBT data.

When stacks are merged:

  • Lineage serial ranges are merged correctly
  • No data is lost
  • Inventory consolidation behaves like vanilla Minecraft

🔒 Dupe Detection Hardening (No Weakened Security)

  • Cross-player and cross-inventory duplication still triggers hard removal
  • Only same-player, same-inventory merge actions receive reconciliation
  • Lineage overlap across players remains instantly detectable

⚙️ Thread Safety & Stability Improvements

  • All inventory reads and mutations now run on the main server thread
  • Eliminated async race conditions that caused:
  • mid-merge scans
  • phantom duplicates
  • stack rollback behavior

📈 Result

  • ✅ Vanilla-like inventory behavior restored
  • ✅ No loss of anti-dupe integrity
  • ✅ Stable stacking, splitting, and recombining
  • ✅ No false positives during normal gameplay

If you do run into any problems please report them to me in our Discord chat.

Discord: https://discord.com/invite/SfEHT6TEdm

2.7Релиз1.21.11 · 18 января 2026 г.

Anti-Dupe will also be going back to the Only Scan method of assigning and detecting dupes, The Only Scan list includes 182 unstackable items for version 1.21.11.

🆕 New Additions

🔐 MD5 Assignment Control

Server-wide MD5 pause
/antidupe pause
Temporarily disables all MD5/NBT assignment across the entire server.

Player-specific MD5 pause
/antidupe pause <player>
Disables MD5/NBT assignment for a single player without affecting others.

Pause list viewer
/antidupe pause list
Displays all currently paused players and whether server-wide pause is active.

Auto-resume support
/antidupe pause [player] <minutes>
Automatically resumes MD5 assignment after the specified duration.

Persistent pause state
Paused players and server-wide pause now persist across server restarts.


🧹 MD5 Cleanup Utilities

Targeted MD5 removal
/antidupe removemd5s <player>
Removes all AntiDupe MD5/UID NBT data from a player’s inventory and ender chest.

Global MD5 purge (loaded data)
/antidupe removemd5s
Removes MD5/UID data from all loaded players, containers, and entities.


📊 Status & Visibility

Pause state indicator
/antidupe status now shows:

  • Server-wide MD5 pause state
  • Number of paused players

🛡️ Stability & Safety

  • MD5 assignment now routes through a single guarded entry point, preventing accidental writes.
  • Pause logic is thread-safe and scheduler-safe.
  • Global MD5 removal avoids unloading chunks or offline player data to prevent corruption.
2.6Релиз1.21.11 · 9 января 2026 г.
  • Stacking logic fixed.
  • Anti-Dupe will now protect everything by default.
  • Onlyscan is now turned off by default.
2.5Релиз1.21.9, 1.21.10, 1.21.11 · 7 января 2026 г.
  • Added multi-language support for the Discord reporting.
  • Updated dependancies.
  • Added new 1.21.11 items.
2.4Релиз1.21.9, 1.21.10, 1.21.11 · 6 января 2026 г.
  • Added Multi-language support.
  • Added Discord support.
  • Added a Safe Removal & Recovery System.
  • Fixed some logic.
2.3Релиз1.21.9, 1.21.10, 1.21.11 · 1 ноября 2025 г.

Removed the gathering of statistics.

Fixed configuration issue. ( Thanks Jack! )

Комментарии

Загружаем…