promotional bannermobile promotional banner

TopHyconomy

TopHyconomy is not just an economy plugin. It is a production-ready economic infrastructure.

πŸ’° TopHyconomy – Modular, Scalable & Thread-Safe Economy System for Hytale

TopHyconomy is an advanced, high-performance, developer-oriented economy plugin designed to act as the central economic core of a Hytale server and as a standardized API for other plugins.

It is built for production environments, supporting multi-instance infrastructures, high concurrency, and safe money operations.

For support, bugs or feature requests join our support discord!

πŸš€ Key Features

  • βœ… Player-based account system with persistent balances
  • βœ… Clean and extensible public API for plugin integration
  • βœ… MongoDB persistence support
  • βœ… Redis distributed cache (optional)
  • βœ… High-performance local cache using Caffeine
  • βœ… Multi-instance ready
  • βœ… Thread-safe economy operations
  • βœ… Deadlock and race-condition protection
  • βœ… Hot-reloadable configuration and language files
  • βœ… Fully customizable language system
  • βœ… Optimized memory usage to prevent RAM overload

⚑ Data Architecture & Performance

TopHyconomy uses a multi-layer data architecture to achieve the best balance between speed, consistency, and scalability.

πŸ—„οΈ MongoDB

  • Primary persistent data storage
  • Secure and reliable balance saving
  • Designed for large-scale servers

πŸš€ Redis (Optional)

  • Distributed cache for multi-instance setups
  • Keeps player balances synchronized across servers
  • Enables faster and safer money transfers

βš™οΈ Caffeine Cache

  • High-performance in-memory local cache
  • Reduces unnecessary MongoDB and Redis access
  • Configurable TTL to avoid excessive RAM usage

This architecture allows fast economic operations, even under heavy server load, without compromising data integrity.

πŸ” Concurrency & Safety

  • Fully thread-safe account operations
  • Controlled concurrent access to player balances
  • Protection against deadlocks
  • Prevention of race conditions during simultaneous transfers
  • Safe for asynchronous tasks and distributed environments

Player balances remain consistent and secure at all times.

πŸ”§ Developer API

AccountManager

  • getAccount(playerId)
  • createAccount(playerId, playerName, initialBalance)
  • deleteAccount(playerId)
  • accountExists(playerId)
  • transfer(from, to, amount)
  • saveAll()

Account

  • give(amount)
  • withdraw(amount)
  • take(amount)
  • getBalance()

Designed to integrate seamlessly with shops, jobs, minigames, rewards, auctions, and custom systems.

πŸ§‘‍πŸ’Ό Administrative Commands

  • /eco give <player> <amount>
  • /eco take <player> <amount>
  • /eco set <player> <amount>
  • /eco info <player>
  • /eco reset <player>
  • /eco reload

πŸ‘€ Player Commands

  • /bal – View your current balance
  • /pay <player> <amount> – Send money to another player

βš™οΈ Flexible Configuration

  • Configurable starting balance
  • Debug mode
  • Enable or disable MongoDB and Redis
  • Cache TTL configuration
  • Fully editable language files
  • Hot reload without server restart

πŸ“¦ Built for Serious Servers

  • Medium and large servers
  • Multi-instance infrastructures
  • Developers requiring a reliable economy API
  • High-concurrency and high-load environments

The TopHyconomy Team

profile avatar
Owner
  • 1
    Projects
  • 67
    Downloads