Skip to content

MinePay-V1.0.1.1

Choose a tag to compare

@TrineticDev TrineticDev released this 22 May 04:23
551ba00

MinePay Update

Bug Fixes

  • Gift cards UI producing errors -> Fixed an error that occurred when loading gift card data in server builds. Gift cards now load correctly every time.
  • Gift card data corrupting after build -> Player gift card files (balance, notes, etc.) were losing their field names after the server would restart and build again. Added protection rules to keep that data intact.

Improvements

  • Purchase requirements are now fully translatable -> Every message shown when a player does or doesn't meet a shop item's requirements can now be customized in Locales.yml. This includes pass/fail indicators, error messages, and requirement type labels.
  • Gift Card Selection GUI is now fully translatable -> Item names, balance info, pagination buttons, the summary panel, and confirm/clear buttons all pull from Locales.yml.
  • Gift Card Creation GUI is now fully translatable -> Player head hints, the info item, amount/note buttons, the create button, and all chat feedback messages now pull from Locales.yml.

New Locale Keys

Add any of the following to your Locales.yml to customize the new strings.
All defaults are shown. If a key is missing, the default will be used automatically.

Gift Card Selection GUI

giftcard_item_title: '&a&lGift Card #{id}'
giftcard_item_balance: '&eBalance: &a{balance}'
giftcard_item_original: '&7Original: {balance}'
giftcard_item_created: '&7Created: &f{date}'
giftcard_item_from: '&7From: &f{player}'
giftcard_item_note: '&7Note: &f{note}'
giftcard_item_selected: '&a✓ SELECTED'
giftcard_item_click_deselect: '&7Click to deselect'
giftcard_item_click_select: '&7Click to select'
giftcard_prev_page: '&e« Previous Page'
giftcard_prev_page_hint: '&7Click to go to previous page'
giftcard_next_page: '&eNext Page »'
giftcard_next_page_hint: '&7Click to go to next page'
giftcard_info_total: '&eOrder Total: &f{amount}'
giftcard_info_applied: '&eGift Cards: &a-{amount}'
giftcard_info_remaining: '&6Remaining: &f{amount}'
giftcard_info_count: '&7Selected Cards: &f{count}'
giftcard_info_ids_header: '&7Selected IDs:'
giftcard_info_id_entry: '&a• #{id} &7({balance})'
giftcard_confirm_selection: '&a&lConfirm Selection'
giftcard_confirm_hint1: '&7Click to confirm selection'
giftcard_confirm_hint2: '&7and return to checkout'
giftcard_clear_selection: '&c&lClear Selection'
giftcard_clear_hint1: '&7Click to clear all selected'
giftcard_clear_hint2: '&7gift cards'

Gift Card Creation GUI

giftcard_create_info_title: '&b&lCreate Gift Card'
giftcard_create_select_hint1: '&7Click to select this player'
giftcard_create_select_hint2: '&7to receive a gift card'
giftcard_create_player_selected: '&a✓ SELECTED'
giftcard_create_info_hint1: '&7Select a player to give'
giftcard_create_info_hint2: '&7a gift card to.'
giftcard_create_info_online: '&7Online Players: &f{count}'
giftcard_create_enter_name_button: '&e&lEnter Player Name'
giftcard_create_enter_name_hint1: '&7Click to enter a player name'
giftcard_create_enter_name_hint2: '&7if they are not online'
giftcard_create_selected_title: '&a&lSelected: &e{player}'
giftcard_create_selected_amount: '&7Amount: &a{amount}'
giftcard_create_selected_note: '&7Note: &f{note}'
giftcard_create_selected_deselect: '&7Click to deselect'
giftcard_create_amount_selected: '&a✓ Selected'
giftcard_create_amount_select: '&7Click to select'
giftcard_create_custom_amount_title: '&6&lCustom Amount'
giftcard_create_custom_amount_current: '&7Current: &a{amount}'
giftcard_create_custom_amount_hint: '&7Click to enter custom amount'
giftcard_create_note_title: '&e&lAdd Note'
giftcard_create_note_none: '&7No note set'
giftcard_create_note_current: '&7Current: &f{note}'
giftcard_create_note_hint: '&7Click to add/edit note'
giftcard_create_button_title: '&a&lCreate Gift Card'
giftcard_create_button_player: '&7Player: &e{player}'
giftcard_create_button_amount: '&7Amount: &a{amount}'
giftcard_create_button_note: '&7Note: &f{note}'
giftcard_create_button_click: '&aClick to create gift card!'
giftcard_create_amount_set: '&aAmount set to: &e{amount}'
giftcard_create_amount_invalid: '&cAmount must be greater than 0'
giftcard_create_invalid_number: '&cInvalid number: {input}'
giftcard_create_note_set: '&aNote set: &7{note}'
giftcard_create_no_player: '&cPlease select a player first!'
giftcard_create_player_selected_msg: '&aSelected player: &e{player}'
giftcard_create_player_not_found: '&cPlayer ''{player}'' has never joined this server!'

Purchase Requirements

requirement_met: '&a✓ {placeholder}: {value}'
requirement_not_met: '&c✗ {message} &7({type}, Have: {value})'
requirement_placeholderapi_missing: '&c✗ {message} &7(PlaceholderAPI not installed)'
requirement_placeholder_not_found: '&c✗ {message} &7(Placeholder ''{placeholder}'' not found)'
requirement_invalid_number: '&c✗ {message} &7(Invalid number comparison)'
requirement_invalid_type: '&c✗ {message} &7(Invalid requirement: missing comparison type)'
requirement_type_equals: 'Need: {value}'
requirement_type_not_equals: 'Must not be: {value}'
requirement_type_contains: 'Must contain: {value}'
requirement_type_greater_than: 'Need > {value}'
requirement_type_less_than: 'Need < {value}'