Using it

Anti-dupe and safety

Vouchers are meant to be worth real money, so they are protected.

  • Every voucher has a unique ID that can be redeemed only once. Redeemed IDs are saved in redeemed.yml.
  • The item is taken from the inventory before Tebex is called, only one redeem per voucher runs at a time, and the item is returned if Tebex fails.
  • A copied voucher is detected, the copy is removed, and staff with hypercredits.notify.dupe get an alert in chat. The attempt also goes to Discord if enabled.
  • Vouchers cannot be dropped, placed as blocks, put in item frames or stored in chests, hoppers, barrels or shulkers (unless drop-trade is on).
  • Vouchers stay with the player when they die.
  • Pickups of someone else's dropped voucher are blocked.