Server integrity · Our own plugin

IgniteAntiDupe

IgniteAntiDupe stamps every item with an invisible, signed fingerprint and removes illegitimate copies. Unstackable gear gets a hard guarantee; stackables are checked by their totals so a normal stack split is never mistaken for a dupe.

HMACsigned fingerprints
2,415lines of Java
3modes for stackables

The problem

A dupe on a live server ruins the economy within hours, and the usual fixes either miss copies or delete items players earned. Tagging every item also breaks stacking, so a naive tag is not an option for blocks and resources.

What we built

  1. 01A fingerprint on every non-stackable item: unique id, creation time and a signature
  2. 02Scans that find collisions and keep the oldest copy
  3. 03Totals checks for stackables, with log, alert or trim actions
  4. 04Staff alerts, stats and an item inspector

Technical decisions

The calls that shaped the build, and why we made them.

  • Signed with a server secret

    The signature is an HMAC-SHA256 over the id and creation time with a per-server key. A copied tag still verifies, because a copy is a copy, but an edited or hand-made tag never does.

  • The survivor first

    Before any copy is deleted, the surviving item is stamped again, and the cleanup aborts if the survivor has moved, so the last legitimate copy can never be the one removed.

  • Stackables stay stackable

    A unique tag would stop items stacking, so stackables carry none. Their totals are compared before a click and one tick later instead.

  • Folia-safe scans

    Every read happens on the thread that owns the data, so a scan never reaches into another region.

Stack and size

Counted from the repository

Java
2,415 lines in 24 files
Platform
Paper and Folia
Storage
On the items, in persistent data
  • Java 21
  • Paper 1.21
  • Folia
  • IgniteAPI
  • HMAC-SHA256

Need something like this?

Tell us what the server needs. You get a fixed price and a delivery date back, usually the same day.