Claude
7e6b17c106
Implement Phase 1: Currency System foundation
- Add ConfigMarket.java with separate market.cfg config file
- Currency settings (name, starting balance, max balance, Vault integration)
- Auction settings (durations, fees, snipe protection, claim expiration)
- Trader settings (stock system defaults)
- Add PlayerCurrencyData.java for balance storage
- NOT profile slot bound - shared across all slots
- Tracks balance, lifetime earned, and lifetime spent
- Deposit/withdraw with overflow protection
- Add VaultHelper.java for Bukkit hybrid server integration
- Reflection-based VaultAPI integration
- Falls back to internal currency when Vault unavailable
- Supports getBalance, deposit, withdraw, transfer operations
- Add CurrencyController.java for currency operations
- Claims system for auction refunds and NPC payments
- Claim expiration with configurable days
- Persistence via currency_claims.dat
- Update PlayerData.java to integrate currency
- Separate loadCurrency/saveCurrency methods
- Currency file stored separately from slot data
- Add scripting API methods to ScriptPlayer.java
- getCurrencyBalance(), addCurrency(), removeCurrency()
- canAffordCurrency(), getCurrencyName(), formatCurrency()
- hasPendingClaims(), getPendingClaimsTotal(), claimAllCurrency()
2026-01-04 08:14:29 +00:00
..
2025-11-07 20:15:49 -05:00
2025-08-26 04:09:51 -04:00
2026-01-03 15:55:31 -05:00
2025-03-13 17:14:45 -04:00
2026-01-04 08:14:29 +00:00
2025-11-06 00:20:22 -05:00
2025-07-23 14:22:52 -04:00
2026-01-04 08:14:29 +00:00
2025-03-13 17:14:45 -04:00
2025-12-31 01:00:33 +00:00
2025-07-23 14:22:52 -04:00
2025-03-31 22:52:08 -05:00
2025-10-15 06:17:48 -04:00
2025-12-30 23:20:54 +00:00
2026-01-04 08:14:29 +00:00
2025-12-30 23:20:54 +00:00
2025-07-23 14:22:52 -04:00
2025-07-23 14:22:52 -04:00
2025-03-13 17:14:45 -04:00
2025-07-23 14:22:52 -04:00
2026-01-04 08:14:29 +00:00
2025-04-08 13:39:25 -04:00
2025-03-13 17:14:45 -04:00
2025-11-06 00:20:22 -05:00
2025-07-23 14:22:52 -04:00
2025-07-23 14:22:52 -04:00
2025-03-13 17:14:45 -04:00
2025-10-21 17:52:48 -04:00
2025-10-06 20:15:08 -04:00
2025-03-13 17:14:45 -04:00
2025-03-13 17:14:45 -04:00
2025-07-23 14:22:52 -04:00
2025-07-23 14:22:52 -04:00
2025-07-23 14:22:52 -04:00
2025-12-30 23:20:54 +00:00
2025-07-23 14:22:52 -04:00
2025-03-13 17:14:45 -04:00
2025-03-13 17:14:45 -04:00
2025-03-13 17:14:45 -04:00
2025-03-13 17:14:45 -04:00
2025-07-23 14:22:52 -04:00
2025-04-08 22:48:32 -04:00
2025-03-13 17:14:45 -04:00
2025-03-13 17:14:45 -04:00
2025-07-23 14:22:52 -04:00
2025-12-31 00:52:06 +00:00
2025-03-13 17:14:45 -04:00
2025-12-31 00:45:26 +00:00
2025-12-30 23:20:54 +00:00
2025-03-13 17:14:45 -04:00
2025-03-19 17:38:06 -04:00