Technical Features
Database Support
- SQLite (default)
- MySQL
- PostgreSQL
Transaction Logging
All transactions are logged:
- Player name
- Item and quantity
- Price paid/received
- Timestamp
API for Developers
// Get market instance
DKMarket market = DKMarket.getInstance();
// Buy item
market.buyItem(player, Material.DIAMOND, 10);
// Sell item
market.sellItem(player, Material.EMERALD, 5);
// Get price
double price = market.getBuyPrice(Material.GOLD_INGOT);