promotional bannermobile promotional banner
premium banner
A simple economy mod for Hytale that adds physical coins and a digital wallet system. Expandable.

Description

๐Ÿช™ Hytale Coins: The Ultimate Economy Solution

Bring a robust, physical, and digital economy to your Hytale server! Hytale Coins seamlessly integrates physical currency items with a modern digital wallet system, allowing players to trade, pay, and manage their wealth with ease.


๐ŸŒŸ Key Features

  • ๐Ÿ’Ž Physical & Digital Currency: Use physical coins in-game or deposit them into your digital wallet.
  • ๐Ÿง Smart Wallet UI: A sleek, custom NoesisGUI interface to check your balance and withdraw coins.
  • ๐Ÿ’ธ Player-to-Player Payments: Send money to your friends instantly with the /pay command.
  • โš”๏ธ Mob & Crop Drops: Earn currency naturally by hunting mobs or harvesting crops.
  • ๐Ÿ› ๏ธ Highly Configurable: Customize everything from currency names to drop rates and coin values.
  • ๐Ÿ”Œ Vault2 Integration: Fully compatible with other mods using the Vault2 API.
  • ๐Ÿ—„๏ธ Flexible Storage: Choose between local JSON files or a high-performance MySQL database.

โš™๏ธ Configuration Guide

Tailor the mod to your server's needs with our comprehensive config.json. Below is the default setup with a detailed breakdown of every setting.

๐Ÿ“„ Default Configuration

{
  "enableMobDeathDrops": true,
  "mobDeathDropRate": 0.1,
  "enableCropHarvestDrops": true,
  "cropHarvestDropRate": 0.2,
  "coinValues": {
    "Coin_Gold": 1000,
    "Coin_Emerald": 10000,
    "Coin_Silver": 100,
    "Coin_Iron": 10,
    "Coin_Diamond": 100000,
    "Coin_Copper": 1
  },
  "mobDeathDrops": {
    "Cow": 3,
    "Fox": 3
  },
  "payCommandPermission": "",
  "currencyNameSingular": "Coin",
  "currencyNamePlural": "Coins",
  "storageType": "JSON",
  "mysqlHost": "localhost",
  "mysqlPort": 3306,
  "mysqlDatabase": "hytale",
  "mysqlUser": "root",
  "mysqlPassword": ""
}

๐Ÿ” Settings Breakdown

๐ŸŽฎ Drops & Economy

  • enableMobDeathDrops (true/false): Toggle whether mobs drop coins upon death.
  • mobDeathDropRate (0.0 to 1.0): The probability (percentage) that a mob will drop coins. Default 0.1 is a 10% chance.
  • enableCropHarvestDrops (true/false): Toggle whether harvesting crops rewards players with coins.
  • cropHarvestDropRate (0.0 to 1.0): The probability that harvesting a crop will drop coins.
  • coinValues: Define the value of each physical coin type in the base currency.
  • mobDeathDrops: Specify the exact amount of base currency dropped by specific mob types.

๐Ÿ’ฌ Customization & Permissions

  • currencyNameSingular: The name of your currency in singular form (e.g., "Gold Piece").
  • currencyNamePlural: The name of your currency in plural form (e.g., "Gold Pieces").
  • payCommandPermission: Set a custom permission node required to use /pay. Leave empty ("") to allow all players in Adventure mode.

๐Ÿ’พ Storage Strategy

  • storageType: Choose your backend. Options: "JSON" (files) or "MYSQL" (database).
  • MySQL Settings: Only required if storageType is set to "MYSQL".
    • mysqlHost: Database server address.
    • mysqlPort: Database port (default 3306).
    • mysqlDatabase: The schema name.
    • mysqlUser & mysqlPassword: Connection credentials.

๐Ÿš€ Commands

Command Description Permission
/wallet Opens your digital wallet UI. None
/pay <player> <amount> Transfer currency to another player. Configurable
/economy <add/set> <player> <amount> Admin tools to manage balances. coins.admin.economy

๐Ÿ› ๏ธ Installation

  1. Download the latest release.
  2. Drop the mod into your Hytale mods folder.
  3. Restart your server to generate the default configuration.
  4. (Optional) Edit config.json in universe/mods/coins/ to customize your experience.

Developed with โค๏ธ for the Hytale Community.