Skip to content

MinePay-V1.0.0.9

Choose a tag to compare

@TrineticDev TrineticDev released this 16 Jan 03:04
551ba00

🎵 New Features

Configurable No-Requirement Sound

  • Added no_requirement_sound configuration option in Shop.yml
  • Allows server owners to customize the sound played when players don't meet item requirements
  • Default: ENTITY_VILLAGER_NO with automatic fallback to VILLAGER_NO for MC 1.8 compatibility
  • Set to empty string ('') or 'none' to disable the sound
  • Examples: 'ENTITY_ENDERMAN_TELEPORT', 'BLOCK_NOTE_BLOCK_BASS', 'UI_BUTTON_CLICK'

New Locale Changes for tooltip price displays

price_discounted: '&aPrice: &e{price} &c&l{discount}'
price_base: '&7Base Price: &e{price}'
price_variables: '&7Variables: &e+{price}'
price_total: '&7Total: &a{price}'
price_total_discounted: '&7Total: &a{price} &c&l{discount}'
price_total_label: '&7Total Price: &a{price}'

Clear Cart Button Configuration

  • Added clear_cart button configuration to confirmation GUI in Shop.yml
  • Fully customizable with material, display name, and lore
  • Includes placeholders: {cart_count} and {cart_total}
  • Default slot: 18

🔧 Changes

Configuration Files

Shop.yml now includes:

# Sound played when player doesn't meet requirements for an item
no_requirement_sound: 'ENTITY_VILLAGER_NO'

gui:
  confirmation:
    clear_cart:
      enabled: true
      slot: 18
      material: BARRIER
      display_name: '&c&lClear Cart'
      lore:
        - ''
        - '&eCart Items: &f{cart_count}'
        - '&eCart Total: &a{cart_total}'
        - ''
        - '&7Click to clear your cart'
        - '&7and close this menu'
        - ''
        - '&c&lWarning: This cannot be undone!'