promotional bannermobile promotional banner

TheEconomy

Economic System, Administrative Shop with NPC and Player Shop for Hytale fully customizable, and secondary currency, Cash.

File Details

EconomySystem-1.0.0.jar

  • R
  • Jan 15, 2026
  • 39.44 KB
  • 26
  • Early Access

File Name

EconomySystem-1.0.0.jar

Supported Versions

  • Early Access

# EconomySystem - Changelog

## Version 1.0.0

### Player Commands
- ✅ `/money` - Display own balance in title
- ✅ `/money <nick>` - Display another player's balance in title
- ✅ `/money pay <nick> <value>` - Transfer money to another player
- ✅ `/money top` - Show top 10 richest players in chat

### Admin Commands
- ✅ `/money set <nick> <value>` - Set player balance (requires Creative permission)
- ✅ `/money give <nick> <value>` - Give money to player (requires Creative permission)

### Economy System
- ✅ JSON-based balance storage (`EconomySystem/Balances.json`)
- ✅ Automatic balance persistence (saves every 30 seconds)
- ✅ New players start with $1,000
- ✅ Thread-safe balance operations

### Block Break Rewards
- ✅ Ore break rewards (configurable per ore type)
  - Default rewards for all ore types (Iron, Copper, Silver, Gold, Cobalt, Mithril, Adamantite, Thorium, Onyxium)
  - Configurable via config file
  - Can be enabled/disabled
- ✅ Wood break rewards ($0.5 per block)
  - Detects logs, stems, wood, trees, trunks
  - Can be enabled/disabled

### Configuration
- ✅ Enable/disable ore rewards
- ✅ Enable/disable wood rewards
- ✅ Individual ore reward configuration
- ✅ Extensible ore reward system (add new ores via config)

### Public API
- ✅ `EconomyAPI` class for plugin integration
- ✅ Get balance (by UUID or name)
- ✅ Set balance (by UUID or name)
- ✅ Add balance (by UUID or name)
- ✅ Remove balance (by UUID or name)
- ✅ Check balance (by UUID or name)
- ✅ Get player name/UUID conversion

### UI/UX
- ✅ Beautiful title display with gold color and formatting
- ✅ Formatted top 10 ranking with special colors (gold, silver, bronze)
- ✅ Decorative borders in top 10 display

### Technical
- ✅ Java 21 compatibility
- ✅ Thread-safe file operations
- ✅ Automatic JAR deployment to server mods folder
- ✅ Hytale ECS integration
- ✅ Event-driven block break detection