Redeeming and trading
Redeeming#
The voucher is an item (paper by default). Right-click it to redeem. By default a confirmation menu opens first. When the player confirms, the plugin takes the item, asks Tebex to create the code, then shows it in chat and stores it in /giftcards. If Tebex fails, the voucher is given back.
The Tebex code is created only at redeem time, so each voucher always becomes exactly one code.
- Expired vouchers cannot be redeemed. With
remove-expired-vouchers: truethey are removed from the inventory when someone tries. - A voucher can only be redeemed by its owner.
- Confirmation can be skipped for small vouchers with
redeem-confirmation.skip-threshold.
On redeem effects#
Each template can show a title, play a sound, launch a firework and run console commands when the voucher is redeemed. See Voucher templates.
Trading#
With trade-vouchers: true (default), a player holds the voucher and does Shift + right-click to send it to another player, even an offline one. The target claims it from /giftcards claim. Turn trading off and vouchers can only be used by the original owner.
With drop-trade: true vouchers can also be dropped and picked up by other players, and stored in chests. This is less secure and not recommended.