Files
CustomNPC-Plus/src/main/java/noppes/npcs/scripted/entity
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-03-13 17:14:45 -04: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
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-03-13 17:14:45 -04:00