Better Anti-Dupe

Posted by darkstarworks in Free Plugin Releases · · 5 replies · 26 views

darkstarworks ·

Stops item Duplication and tells you who tried. Plugin page: https://mc-foundry.com/p/better-anti-dupe Current version: v4.5.2

Replies

darkstarworks ·

Updated to v4.5.3. [4.5.3] - 2026-10-12 Added /adp ledger accept [amount]. Records items a player got legitimately (a reward or a shop) so they stop being flagged, and clears the alert. A hook for other plugins. BetterAntiDupe.recordGrant(player, material, amount, source) declares items handed out outside normal play; Better End Cities uses it for elytras bought from frames. Changed Smaller download. The plugin carried its own copy of the database driver and the networking library, but every Paper and Spigot server already includes both, and the server's copy is always the one used. They are no longer included, so the file is about 7 MB smaller. Nothing changes in how the plugin works.

darkstarworks ·

Updated to v4.7.0. [4.7.0] - 2026-10-13 Added An API for other plugins. Shops, crates, kits and reward plugins can now tell Better Anti-Dupe when they hand out or take away items, strip the owner mark from template copies, read a player's record, and listen to alerts, protections and automatic removal through normal Bukkit events. It works on Spigot, Paper and Folia from 1.21 up. See "Use it from your plugin" in the docs. The old recordGrant hook still works. Stops hidden menu dupes. Most dupes found in other plugins' menus (backpacks, ender chest plugins, shulker preview plugins, storage menus) start with a cheat client hiding the menu on the player's screen without telling the server it closed. A normal game always closes a menu before the player can mine, build, hit, drop an item, switch hotbar slot or type a command, so doing any of those with a menu still open is now stopped, the menu is closed, and staff get an alert. Normal players are not affected. Works on Paper, Folia and Spigot. New setting prevent-hidden-menu-dupers, on by default. Stops the end portal chest dupe. When the last eye of ender goes into a portal frame with a chest or shulker box where the portal appears, and a land claim, region or "the End is locked" plugin blocks it, the container came back while a copy of it dropped on the ground. On Paper a chest's items dropped too while the chest stayed full, and a shulker box dropped with everything still inside it, so the whole box was doubled. On Spigot the container came back empty next to the copy. The plugin now puts it all back: the container keeps its items and nothing extra is left on the ground. This is an open Paper bug on 26.3. New setting prevent-reverted-placement-dupers, on by default. Players are checked a few seconds after they join. This catches players who come back holding items the server should not have handed back, for example after a crash or a lag machine stopped their data from saving while the items they put away stayed in a chest. New setting ledger.reconciliation.on_join, on by default. The console lists Paper's duping settings at startup. If any duping glitch is switched back on in config/paper-global.yml (TNT, rail and carpet machines, sand through end portals, tripwire hooks), the console says so and which of them the plugin still blocks. Fixed The owner mark is now hidden on Spigot 1.21. Spigot before 26.1 uses different internal names, so the part that hides the mark from players' games switched itself off at startup there. It now works on Paper, Folia and Spigot alike, checked by watching what players' games actually receive. A Spigot error on lecterns is guarded. Spigot can report an empty hand differently from Paper, which could make putting a book on a lectern throw an error there. Memory use on servers that run for weeks. The plugin kept every player's balances in memory after they left. They are now released five minutes after the player logs off. Security Alerts can no longer ping everyone in Discord. Alert messages are sent with mentions switched off, so nothing in them can ping @everyone, @here or a role. The confirm command uses the player's real name. on_confirm_command now fills in the name the server has on record instead of the text typed after /adp ledger confirm. Changed Built against Paper 26.3 stable. Paper now marks 26.3 as stable, and the 26.3 download is built against it. Nothing else changes. No items are taken away right after a crash. For 30 minutes after a start that follows a crash, "Has X but ledger shows Y" alerts now also say the crash may be the cause, and the plugin does not remove items for any alert that carries that note, even with auto_delete_dupes on. A crash can hand a player back their own items, and those should not be deleted.

darkstarworks ·

Updated to v4.7.1. [4.7.1] - 2026-10-17 Added Owner marks are signed. Every mark is signed with a secret only your server knows, kept in plugins/BetterAntiDupe/mark-signing.key. A mark made by hand, in creative mode, with an item editor or a /give command, does not match, so it is ignored and can no longer be used to frame another player. Staff get an alert when someone holds an item with a faked mark. Servers sharing a Redis database share the secret by themselves; servers sharing items another way need the same file. New settings ownership.signed_marks and ownership.unsigned_marks. Marks from before the upgrade are signed as players carry them. On a server that used the plugin before, older marks stay trusted and get signed during the normal checks. Once /adp marks shows hardly any being signed, set ownership.unsigned_marks: IGNORE. A brand-new server never trusts unsigned marks. /adp marks shows the key in use, whether older marks are trusted, and how many were signed or found faked since the last start. /adp fixstacks [player] fixes items that look the same but will not stack, by giving that player's mark to their unmarked items and updating their older marks. Items marked to someone else are left alone. API level 2. ownership().state(stack) tells signed, older, faked and other-server marks apart, and alerts have a new kind, FORGED_MARK. Fixed Shift-click crafting gave items that would not stack. Only the first item of a shift-click craft got the crafter's mark, so crafting a stack of diamonds into blocks gave one marked block and the rest unmarked, and the two would not stack. Every crafted item is now marked.

darkstarworks ·

Updated to v4.8.0. [4.8.0] - 2026-11-17 Added A docs page for auction houses, shops and other plugins. It lists the plugins that are followed directly, and the one line DonutOrders and EconomyShopGUI each need changed before they accept marked items. See "Auction houses, shops and other plugins" in the docs. Fixed Items from auction houses, shops, orders, crates, graves and kits would sometimes not stack. Those plugins often hand items over with the previous holder's mark, or none, so a diamond bought from the auction house would not stack with diamonds the player mined. Items another plugin gives a player now get that player's mark as they arrive and are added to their record. It works with any plugin that uses a menu or a command, and also listens to zAuctionHouse, PhoenixCrates, AxGraves and EconomyShopGUI directly. Items with a faked mark are left alone. New setting ownership.mark_plugin_deliveries, on by default. Items handed to a plugin stayed on the seller's record. A player who listed diamonds on the auction house or delivered them to an order still counted as holding them, so that many could be duped without an alert. They now come off the seller's record when someone else receives them, and items sold to EconomyShopGUI come off as soon as they are sold. Items a plugin hands back to the same player are left as they are.

darkstarworks ·

Updated to v4.9.5. [4.9.5] - 2026-11-21 Added One download for every Minecraft version. The same jar now runs on 1.21.x and 26.x, on Paper, Folia and Spigot. When the server starts, the console says which Minecraft version the plugin set itself up for. Servers on an older -mc26 or -mc263 jar are offered this one as their next update. /adp setup, a guided tour of the main settings. It starts with your language choice, then walks through taking duped items back, alerts, creative mode, and closing menus on shutdown, one question at a time, and saves each answer to config.yml straight away. The tour is translated into all six bundled languages. Admins who join get a short reminder about it, at most once a week and three times in all; turn that off with setup.reminder.enabled. New permission antidupe.admin.setup, included in antidupe.admin. Fixed Folia region and entity safety. Added entity-retirement handling so inventory snapshots never hang if a player disconnects mid-check, and moved block, lectern, container-close, reverted-placement, and /adp setup config updates onto their proper region, entity, or global threads. Hidden owner marks inside containers. Client-side tag concealment now also strips owner marks inside shulker boxes, bundles, and sulfur cube buckets, caches record packet metadata, and avoids mutating shared broadcast packets in place. Extra world-item and 26.2+ accounting. Fixed tracking for sulfur cube bucketing, emptying, swallowing, and dispenser shearing, powered shelf hotbar swaps, bundles and sulfur cube buckets moved through pots, item frames, placements, and hoppers, full decorated pots, and armor stand swaps. Changed To further reduce the overall size of the download, ProGuard is being used to compress the code, not obfuscate. There's a SOURCE-AVAILABLE.txt file included in this jar and the GitHub repo stays public forever. A separate Premium build is planned from v5.0.0 onward, at which point this plugin will get less frequent updates (at most once a month), but support stays just as lightning fast, free of charge. Alpha Preparations for 26.4 are done up to and including Snapshot 10. Don't expect it to run (well).

Join the discussion

Reply on MC-Foundry. A free account lets you reply, get notified of answers and bookmark threads.