premium banner
Safe player to player trading/exchange mod.

Description

Hytrade

 

🌍 1.0.5 - INTERNATIONAL UPDATE!

Hytrade is now available in 5 languages by default (English, German, Spanish, Portuguese, French) and you can add your own (and remove existing ones)!

Launch the server and the mod will create the lang folder containing every languages.
To reload languages use the usual /hytrade reload command.

 

Description

Hytrade adds a secure trading system to Hytale, allowing players to exchange items safely through a dedicated UI. Prevent theft and trade with confidence!

 

Features

🤝 Trade Requests:
Players can accept or decline trade requests.

🚫 Ignore System:
Block specific players from sending you requests or toggle "Ignore All" for total peace of mind.

⚙️ Settings Panel:
Customize your experience in-game. Toggle layouts, adjust positions, and manage your ignore list.

🪟 Layout & Positioning:
Choose between horizontal or vertical layouts and position the panel to the left, center, or right.

✅ Validation Checkmarks:
Clear visual feedback when both parties have confirmed the deal.

⏳ Trade Cooldown:
Built-in anti-spam protection (6 seconds by default).

🪙 Economy mods compatibility:
Via VaultUnlocked (for a mod to be compatible with Hytrade it only needs to be compatible with VaultUnlocked).
To support custom currency icons I had to find a way to send it to the players. EllieAU (HyUI developer) has been kind enough to let me borrow her code, thanks a lot!

💎 Custom currency icon:
You can add your own currency .png icon. Just place it in the Hytrade configuration folder and add its name in the config file.

🌍 Multiple languages support:
Hytrade is available in 5 languages by default:

  • German
  • English
  • Spanish
  • Portuguese
  • French

You can add your own (and remove existing ones). To reload languages use the /hytrade reload command.

 

Commands

Sends a trade request to the specified player.

/trade <playerName>

Adds/Remove player from ignore list (requires the trade permission).

/hytrade ignore <playerName>

Opens the personal settings panel.

/hytrade settings

Hot-reloads the configuration file (No restart required).

/hytrade reload

 

Permissions (editable)

Base Trading/Ignore players:

clayrok.hytrade.trade

Long Distance (No distance check):

clayrok.hytrade.fromfar

Settings:

clayrok.hytrade.settings

Config Reload:

clayrok.hytrade.reload

 

Configuration

The config.json allows server owners to customize the experience:

  • Customizable Permissions: Disable permissions entirely (by removing them all) or change them to fit your server.
  • Behavior: Adjust trade cooldowns and maximum trade distance.
  • Sounds: All sounds can be modified via the config file.
  • Enable/Disable economy mods support
  • Add your custom currency icon

 

Notes

  • Default trade range is 5 blocks (unless bypassed by permission).
  • Only items in your inventory can be traded (hotbar excluded).
  • Only full slots are tradable. You must split stacks before trading specific quantities.