# ============================================
# CommunityMarket Language File - English (US)
# ============================================

# General
prefix: "&8[&6Market&8] &r"

# General Messages
messages:
  no-permission: "&cYou don't have permission to do that."
  player-only: "&cThis command can only be used by players."
  reload-success: "&aConfiguration reloaded successfully!"
  economy-not-found: "&cNo economy plugin found! Market disabled."

  # Listing Messages
  listing-created: "&aListing created successfully! ID: #{id}"
  listing-cancelled: "&aListing cancelled. Item returned to claim storage."
  listing-expired: "&eYour listing #{id} has expired. Item moved to claim storage."
  listing-purchased: "&aYou purchased {item} x{amount} for {price}!"
  listing-sold: "&aYour {item} x{amount} was sold to {buyer} for {price}!"
  listing-limit-reached: "&cYou've reached the maximum number of listings ({max})."
  listing-cooldown: "&cPlease wait {time} before creating another listing."
  listing-not-found: "&cListing not found or no longer available."
  listing-own-item: "&cYou cannot buy your own listing."
  listing-insufficient-funds: "&cYou don't have enough money. Required: {price}"

  # Auction Messages
  auction-created: "&aAuction created successfully! ID: #{id}"
  auction-cancelled: "&aAuction cancelled. Item returned to claim storage."
  auction-ended-winner: "&aCongratulations! You won the auction for {item}! Paid: {price}"
  auction-ended-seller: "&aYour auction for {item} ended! Winner: {winner}, Earned: {price}"
  auction-ended-no-bids: "&eYour auction for {item} ended with no bids. Item moved to claim storage."
  auction-limit-reached: "&cYou've reached the maximum number of auctions ({max})."
  auction-not-found: "&cAuction not found or no longer available."
  auction-own-item: "&cYou cannot bid on your own auction."
  auction-bid-placed: "&aYou placed a bid of {amount} on {item}!"
  auction-outbid: "&eYou've been outbid on {item}! New bid: {amount} by {bidder}"
  auction-bid-too-low: "&cBid too low! Minimum bid: {min}"
  auction-insufficient-funds: "&cYou don't have enough money. Required: {price}"
  auction-buyout: "&aYou bought out the auction for {item} for {price}!"
  auction-extended: "&eAuction extended by {seconds}s due to anti-snipe protection."

  # Claim Messages
  claim-success: "&aItem claimed successfully!"
  claim-empty: "&eYou have no items to claim."
  claim-inventory-full: "&cYour inventory is full! Please make space."
  claim-all-success: "&aClaimed {count} items!"

  # Earnings Messages
  earnings-withdrawn: "&aWithdrew {amount}! New balance: {balance}"
  earnings-empty: "&eYou have no pending earnings."
  earnings-balance: "&aYour pending earnings: {amount}"

  # Item Validation
  invalid-item: "&cPlease select a valid item."
  item-no-longer-available: "&cThe selected item is no longer in your inventory."
  item-changed: "&cThe selected item has changed. Please select again."
  quantity-changed: "&cThe available quantity has changed. Please verify and try again."
  blacklisted-item: "&cThis item type is not allowed on the market."
  blacklisted-content: "&cThis item contains blacklisted content."
  invalid-price: "&cInvalid price. Range: {min} - {max}"
  invalid-amount: "&cInvalid amount."
  invalid-duration: "&cInvalid duration."

  # Admin Messages
  admin-listing-removed: "&aListing #{id} removed by admin."
  admin-auction-cancelled: "&aAuction #{id} cancelled by admin."
  admin-reload: "&aConfiguration reloaded."

# GUI Titles (support color codes)
gui-titles:
  main-menu: "&8&lCommunity Market"
  browse-market: "&8&lBrowse Market &7(Page {page})"
  browse-auctions: "&8&lBrowse Auctions &7(Page {page})"
  create-listing: "&8&lCreate Listing"
  create-auction: "&8&lCreate Auction"
  select-item-listing: "&8&lSelect Item to Sell"
  select-item-auction: "&8&lSelect Item to Auction"
  quantity-select: "&8&lSelect Quantity"
  my-listings: "&8&lMy Listings"
  my-auctions: "&8&lMy Auctions"
  claim-items: "&8&lClaim Items"
  earnings: "&8&lEarnings"
  confirm-purchase: "&8&lConfirm Purchase"
  confirm-bid: "&8&lConfirm Bid"
  confirm-cancel: "&8&lConfirm Cancellation"
  number-input: "&8&lEnter Amount"
  admin-panel: "&8&lAdmin Panel"
  admin-listings: "&8&lAll Listings"
  admin-auctions: "&8&lAll Auctions"
  listing-details: "&8&lListing Details"
  auction-details: "&8&lAuction Details"
  filter-menu: "&8&lFilter Options"
  sort-menu: "&8&lSort Options"
  duration-select: "&8&lSelect Duration"
  help: "&8&lHelp"

# Button Names
buttons:
  # Main Menu
  browse-market: "&aBrowse Market"
  browse-auctions: "&6Browse Auctions"
  create-listing: "&eCreate Listing"
  create-auction: "&eCreate Auction"
  my-listings: "&bMy Listings"
  my-auctions: "&bMy Auctions"
  claim-items: "&dClaim Items"
  earnings: "&aEarnings"
  help: "&fHelp"
  admin: "&cAdmin Panel"

  # Navigation
  next-page: "&aNext Page →"
  previous-page: "&a← Previous Page"
  back: "&cBack"
  close: "&cClose"

  # Actions
  confirm: "&aConfirm"
  cancel: "&cCancel"
  buy: "&aBuy Now"
  bid: "&6Place Bid"
  buyout: "&eBuyout"
  claim: "&aClaim"
  claim-all: "&aClaim All"
  withdraw: "&aWithdraw All"
  remove: "&cRemove Listing"
  cancel-auction: "&cCancel Auction"

  # Number Input
  add-1: "&a+1"
  add-10: "&a+10"
  add-100: "&a+100"
  add-1000: "&a+1,000"
  subtract-1: "&c-1"
  subtract-10: "&c-10"
  subtract-100: "&c-100"
  subtract-1000: "&c-1,000"
  set-min: "&eSet Min"
  set-max: "&eSet Max"
  custom-amount: "&bCustom Amount"

  # Filters & Sort
  filter: "&eFilter"
  sort: "&eSort"
  search: "&eSearch"
  clear-filter: "&cClear Filters"

  # Duration
  duration-1h: "&e1 Hour"
  duration-6h: "&e6 Hours"
  duration-12h: "&e12 Hours"
  duration-24h: "&e24 Hours"
  duration-48h: "&e48 Hours"
  duration-72h: "&e3 Days"
  duration-168h: "&e7 Days"
  duration-336h: "&e14 Days"

  # Admin
  admin-view-listings: "&aView All Listings"
  admin-view-auctions: "&6View All Auctions"
  admin-reload: "&eReload Config"

# Button Lore (descriptions)
lore:
  browse-market:
    - "&7Browse all fixed-price"
    - "&7listings from players."
    - ""
    - "&eClick to browse!"
  browse-auctions:
    - "&7Browse all active auctions"
    - "&7and place bids."
    - ""
    - "&eClick to browse!"
  create-listing:
    - "&7Sell items at a fixed price."
    - "&7Tax: &f{tax}%"
    - ""
    - "&eClick to create!"
  create-auction:
    - "&7Auction items to the"
    - "&7highest bidder."
    - "&7Tax: &f{tax}%"
    - ""
    - "&eClick to create!"
  my-listings:
    - "&7View and manage your"
    - "&7active listings."
    - ""
    - "&7Active: &f{count}/{max}"
    - ""
    - "&eClick to view!"
  my-auctions:
    - "&7View and manage your"
    - "&7active auctions."
    - ""
    - "&7Active: &f{count}/{max}"
    - ""
    - "&eClick to view!"
  claim-items:
    - "&7Claim items from expired"
    - "&7listings or won auctions."
    - ""
    - "&7Pending: &f{count}"
    - ""
    - "&eClick to claim!"
  earnings:
    - "&7View and withdraw your"
    - "&7pending earnings from sales."
    - ""
    - "&7Pending: &a{amount}"
    - ""
    - "&eClick to view!"
  help:
    - "&7Learn how to use the"
    - "&7Community Market."
    - ""
    - "&eClick for help!"
  admin:
    - "&cAdmin Panel"
    - "&7Manage listings and auctions."
    - ""
    - "&eClick to open!"

  # Listing Info
  listing-info:
    - "&7Seller: &f{seller}"
    - "&7Price: &a{price}"
    - "&7Amount: &f{amount}"
    - "&7Expires: &f{expires}"
    - ""
    - "&eLeft-click to buy!"

  # Auction Info
  auction-info:
    - "&7Seller: &f{seller}"
    - "&7Starting bid: &a{start_price}"
    - "&7Current bid: &a{current_bid}"
    - "&7Bidder: &f{bidder}"
    - "&7Bids: &f{bid_count}"
    - "&7Ends: &f{ends}"
    - ""
    - "&eLeft-click to bid!"
    - "&eRight-click to buyout!"

  # My Listing Info
  my-listing-info:
    - "&7Price: &a{price}"
    - "&7Amount: &f{amount}"
    - "&7Created: &f{created}"
    - "&7Expires: &f{expires}"
    - ""
    - "&cClick to cancel"

  # My Auction Info
  my-auction-info:
    - "&7Starting bid: &a{start_price}"
    - "&7Current bid: &a{current_bid}"
    - "&7Bidder: &f{bidder}"
    - "&7Bids: &f{bid_count}"
    - "&7Ends: &f{ends}"
    - ""
    - "&cClick to cancel (if no bids)"

  # Confirm Purchase
  confirm-purchase-info:
    - "&7You are purchasing:"
    - "&f{item} x{amount}"
    - ""
    - "&7Price: &a{price}"
    - "&7Tax: &e{tax}"
    - "&7Total: &a{total}"
    - ""
    - "&aClick to confirm!"

  # Confirm Bid
  confirm-bid-info:
    - "&7You are bidding on:"
    - "&f{item}"
    - ""
    - "&7Your bid: &a{bid}"
    - "&7Current high: &e{current}"
    - ""
    - "&aClick to confirm!"

  # Claim Item
  claim-item-info:
    - "&7Reason: &f{reason}"
    - "&7From: &f{source}"
    - "&7Date: &f{date}"
    - ""
    - "&eClick to claim!"

  # Earnings Info
  earnings-info:
    - "&7Your pending earnings"
    - "&7from market sales."
    - ""
    - "&7Total: &a{amount}"
    - ""
    - "&aClick to withdraw!"

  # Number Input Info
  current-value:
    - "&7Current: &a{value}"

# Filter Options
filters:
  all: "&fAll Items"
  weapons: "&cWeapons"
  armor: "&bArmor"
  tools: "&eTools"
  blocks: "&7Blocks"
  food: "&6Food"
  potions: "&dPotions"
  materials: "&aMaterials"
  enchanted: "&5Enchanted Items"
  misc: "&8Miscellaneous"

# Sort Options
sort:
  newest: "&aNewest First"
  oldest: "&eOldest First"
  price-low: "&aPrice: Low to High"
  price-high: "&cPrice: High to Low"
  ending-soon: "&6Ending Soon"
  most-bids: "&bMost Bids"

# Time Formats
time:
  expired: "&cExpired"
  days: "{d}d"
  hours: "{h}h"
  minutes: "{m}m"
  seconds: "{s}s"

# Quantity Selector GUI
quantity-select:
  title: "&6&lSelect Quantity"
  info-line-1: "&7Choose how many items"
  info-line-2: "&7you want to sell."
  available: "&7Available: &f{amount}"
  selected: "&7Selected: &f{amount}"
  quantity-label: "Quantity"
  minimum: "&7Minimum: &f{amount}"
  maximum: "&7Maximum: &f{amount}"
  use-buttons: "&eUse buttons to adjust"
  click-adjust: "&7Click: &e{amount}"
  set-minimum: "&6Set Minimum"
  set-maximum: "&6Set Maximum"
  set-to: "&7Set to: &f{amount}"
  back-lore: "&7Return to item selection"
  confirm-lore: "&7Quantity: &a{amount}"

# Item Selection GUI
item-selection:
  info-title: "&fSelect an Item"
  info-lore-listing: "&7Click on an item from your|&7inventory to create a &eListing&7."
  info-lore-auction: "&7Click on an item from your|&7inventory to create a &6Auction&7."
  blacklisted-note: "&7Blacklisted items are shown in red."
  click-to-select: "&a► Click to select"
  blocked-title: "&c{material}"
  blocked-lore-1: "&7This item cannot be listed."
  blocked-lore-2: "&cBlacklisted or invalid."
  back-lore: "&7Return to main menu"

# Create Listing GUI
create-listing:
  info-title: "&6&lCreate Listing"
  info-lore-1: "&7Set a price and duration"
  info-lore-2: "&7for your listing."
  tax-info: "&7Tax: &f{tax}%"
  item-lore: "&7Quantity: &f{amount}|&eThis item will be listed"
  price-title: "&6Price: {price}"
  price-tax: "&7Tax ({percent}%): &c{amount}"
  price-earnings: "&7You receive: &a{amount}"
  price-click: "&eClick to change price"
  duration-title: "&eDuration: {duration}"
  duration-lore: "&7Listing expires after this time"
  duration-click: "&eClick to change duration"
  back-lore: "&7Return to item selection"
  confirm-item: "&7Item: &f{item} x{amount}"
  confirm-price: "&7Price: &a{price}"
  confirm-earnings: "&7You receive: &a{amount}"
  confirm-duration: "&7Duration: &e{duration}"
  confirm-click: "&aClick to create listing!"

# Create Auction GUI
create-auction:
  info-title: "&6&lCreate Auction"
  info-lore-1: "&7Set starting price, optional buyout,"
  info-lore-2: "&7and duration for your auction."
  tax-info: "&7Tax on sale: &f{tax}%"
  item-lore: "&7Quantity: &f{amount}|&eThis item will be auctioned"
  start-price-title: "&6Starting Price: {price}"
  start-price-lore-1: "&7Minimum bid to start"
  start-price-lore-2: "&7the auction."
  start-price-click: "&eClick to change"
  buyout-title-set: "&bBuyout: {price}"
  buyout-title-unset: "&bBuyout: &7Not set"
  buyout-lore-set-1: "&7Instant purchase price."
  buyout-lore-set-2: "&eLeft-click to change"
  buyout-lore-set-3: "&cRight-click to remove"
  buyout-lore-unset-1: "&7Optional instant purchase"
  buyout-lore-unset-2: "&7price for your auction."
  buyout-lore-unset-click: "&eClick to set buyout price"
  duration-title: "&eDuration: {duration}"
  duration-lore: "&7Auction ends after this time."
  duration-click: "&eClick to change duration"
  back-lore: "&7Return to item selection"
  confirm-item: "&7Item: &f{item} x{amount}"
  confirm-start: "&7Start: &a{price}"
  confirm-buyout: "&7Buyout: &b{price}"
  confirm-buyout-none: "&7Buyout: &7None"
  confirm-duration: "&7Duration: &e{duration}"
  confirm-click: "&aClick to create auction!"

# Number Input GUI
number-input:
  display-title: "&6&l{value}"
  minimum: "&7Minimum: &f{value}"
  maximum: "&7Maximum: &f{value}"
  use-buttons: "&eUse buttons to adjust"
  click-adjust: "&7Click: &e{amount}"
  shift-click: "&7Shift-click: &e{amount}"
  set-minimum: "&6Set Minimum"
  set-maximum: "&6Set Maximum"
  set-to: "&7Set to: &f{value}"
  cancel-lore: "&7Cancel and go back"
  confirm-lore: "&7Confirm: &a{value}"

# Help Content
help:
  title: "&6&lCommunity Market Help"
  content:
    - "&eBrowse Market &7- View and buy fixed-price listings"
    - "&eBrowse Auctions &7- View and bid on auctions"
    - "&eCreate Listing &7- Sell items at a fixed price"
    - "&eCreate Auction &7- Auction items to highest bidder"
    - "&eMy Listings &7- Manage your active listings"
    - "&eMy Auctions &7- Manage your active auctions"
    - "&eClaim Items &7- Collect unsold/won items"
    - "&eEarnings &7- Withdraw money from sales"
    - ""
    - "&7&oTip: All actions are done through GUIs!"
    - "&7&oJust click on buttons to navigate."

