Placeholders
Needs PlaceholderAPI. The expansion identifier is hypercredits, so use %hypercredits_giftcards_amount%. Placeholders return a value only for online players. They count the codes stored in the player's /giftcards list.
| Placeholder | Value |
|---|---|
%hypercredits_giftcards_amount% | Number of gift card codes the player has. |
%hypercredits_giftcards_balance_total% | Total value of those gift cards, as a plain number. |
%hypercredits_giftcards_balance_formatted% | Total value with a $ sign and two decimals. |
%hypercredits_giftcards_active% | Gift cards that have not expired. |
%hypercredits_giftcards_expired% | Gift cards that have expired. |
%hypercredits_coupons_amount% | Number of coupon codes the player has. |
%hypercredits_coupons_active% | Coupons that have not expired. |
%hypercredits_coupons_expired% | Coupons that have expired. |
%hypercredits_coupons_discount_total% | Sum of the coupon amounts, as a plain number. |
%hypercredits_coupons_discount_formatted% | Sum of the coupon amounts followed by %. |
%hypercredits_total_amount% | Gift cards plus coupons. |
%hypercredits_total_active% | Active gift cards plus active coupons. |
%hypercredits_total_expired% | Expired gift cards plus expired coupons. |
%hypercredits_history_total% | Number of redeems in the player's history. |
%hypercredits_history_giftcards_redeemed% | Gift cards redeemed. |
%hypercredits_history_coupons_redeemed% | Coupons redeemed. |
%hypercredits_history_last_redeem% | Date of the last redeem (MM/dd/yyyy), or Never. |
%hypercredits_player_has_giftcards% | Yes or No. |
%hypercredits_player_has_coupons% | Yes or No. |
%hypercredits_player_has_active% | Yes if the player has any non-expired gift card or coupon. |