config.yml

# Market Plugin Configuration

# Plugin settings
enabled: true  # Set to false to disable the plugin completely
debug: false   # Enable debug logging

# Price adjustment settings
price-settings:
  min-price-multiplier: 0.5  # Minimum price will be basePrice * this value
  max-price-multiplier: 2.0  # Maximum price will be basePrice * this value
  stock-influence-factor: 0.01  # How much stock affects price
  sell-price-ratio: 0.8  # Sell price will be buyPrice * this value
  demand-change-rate: 0.01  # How much demand affects price per transaction
  price-update-interval: 60  # Price update interval in seconds (default: 60)
  volatility:
    min: 0.05  # Minimum price volatility
    max: 0.15  # Maximum price volatility
    change-rate: 0.02  # How much volatility can change

# Stock settings
stock-settings:
  mode: "player"  # Available modes: player, admin, server
  initial-stock: 100  # Starting stock for each item
  max-stock: 1000  # Maximum stock limit
  restock-amount: 50  # Amount to restock when using admin command or server auto-restock
  server-restock-interval: 3600  # Server auto-restock interval in seconds (1 hour)

# Economy settings
economy:
  currency-symbol: "$"  # Currency symbol to use in messages
  decimal-places: 2  # Number of decimal places for prices
  minimum-balance: 0  # Minimum balance allowed for transactions
  transaction-tax: 0.0  # Tax percentage on transactions (0.0 = no tax)

# Transaction limits
limits:
  max-buy-amount: 64  # Maximum amount of items that can be bought at once
  max-sell-amount: 64  # Maximum amount of items that can be sold at once
  cooldown: 0  # Cooldown between transactions in seconds (0 = no cooldown)

# Permission settings
permissions:
  use-market: "market.use"  # Permission to use the market
  admin: "market.admin"  # Permission for admin commands
  bypass-limits: "market.bypass.limits"  # Permission to bypass transaction limits
  bypass-cooldown: "market.bypass.cooldown"  # Permission to bypass transaction cooldown

# Advanced settings
advanced:
  save-interval: 300  # How often to save market data (in seconds)
  max-price-history: 100  # Maximum number of price history entries to keep
  cleanup-interval: 86400  # How often to clean up old data (in seconds)
  max-transaction-history: 1000  # Maximum number of transaction history entries to keep per player

# Market interface settings
interface:
  title: "&2Market"  # Market GUI title
  rows: 6  # Number of rows in the market GUI
  update-interval: 20  # GUI update interval in ticks
  prevent-close: false  # Prevent players from closing the market GUI
  show-stock: true  # Show item stock in GUI
  show-price-trends: true  # Show price trends in GUI
  show-transaction-history: true  # Show transaction history in GUI

Last updated