MinePay-V1.0.1.0
🎁 New Features
Gift Card System Integration
- Gift cards now apply discounts at checkout - Selected gift cards properly reduce the PayPal order amount
- Gift cards are automatically consumed when payment completes successfully
- Supports both single item purchases and cart orders
- If gift cards fully cover the order cost, items are delivered instantly without requiring PayPal payment
/giftcards Command
- New standalone command for players to view their gift cards
- Displays all active gift cards with balance, original amount, and creation info
- Paginated GUI with material indicators based on balance tier:
- $50+: Emerald
- $20+: Diamond
- $10+: Gold Ingot
- $5+: Iron Ingot
- Under $5: Brick
- Aliases:
/gc,/mygiftcards
Admin Gift Card Commands
/minepay give <player> <category> <item> [amount]
- Give shop items directly to players without payment
- Full tab completion for players, categories, and items
- Requires
minepay.givepermission
/minepay giftcard
- Opens admin GUI for creating gift cards
- Select recipient from online players or enter offline player name
- Customizable amount with preset buttons (1/8/16/32/64 stack indicators)
- Optional note field for personalization
- Recipients see notification from "Staff"
- Requires
minepay.admin or minepay.giftcardpermission
Dashboard Gift Card Display
- Transaction details now show gift card discount amount when applicable
- Green "Gift Card Applied" banner in transaction drawer
- Amount column shows discount chip with tooltip in transactions table
Bug Fixes
-
Fixed an issue where back buttons and close buttons on the GUI's would sometimes visually allow you to grab them, but not be placeable and non-existent as a sort of "Ghost" block/item.
-
Fixed pagination buttons appearing when not needed - Previous/Next page buttons in gift card GUIs now only display when there are actually multiple pages of content.
-
Fixed QR code preference not being preserved during async order creation - The QR code toggle setting is now maintained throughout the entire checkout flow.
-
Fixed variable selection price additions persisting after failed purchases - Variable price modifiers are now properly cleared when a purchase fails due to unmet requirements.
New Locales
# Gift Cards
giftcard_selection_title: '&d&lSelect Gift Cards'
giftcard_summary_name: '&b&lGift Card Summary'
giftcard_button_name: '&d&lGift Cards'
giftcard_button_lore1: '&7Apply gift cards to'
giftcard_button_lore2: '&7reduce your total'
giftcard_button_available: '&aYou have {count} gift card(s) available!'
giftcard_button_none: '&7No gift cards available'
giftcard_selected: '&aGift card #{id} selected! ({amount})'
giftcard_deselected: '&7Gift card #{id} deselected'
giftcard_selection_cleared: '&7All gift cards deselected'
giftcard_applied: '&aGift cards applied! ({amount} discount)'# Give Command
give_success: '&aSuccessfully gave &e{amount}x {item} &ato &e{player}&a!'
give_received: '&aYou received &e{amount}x {item} &afrom an admin!'
# Gift Card Creation
giftcard_creation_title: '&d&lCreate Gift Card'
giftcard_enter_player_prompt: 'Enter Player Name'
giftcard_enter_player_placeholder: 'Type the player name'
giftcard_enter_amount_prompt: 'Enter Gift Card Amount'
giftcard_enter_amount_placeholder: 'Type the amount (e.g. 25.00)'
giftcard_enter_note_prompt: 'Enter Gift Card Note'
giftcard_enter_note_placeholder: 'Type a note (optional)'
giftcard_created_success: '&aGift card #&e{id}&a created for &e{player}&a with &e{amount}&a!'
giftcard_received_notification: '&aYou received a &e{amount}&a gift card from &e{from}&a!'