promotional bannermobile promotional banner

GlymeraMerchant

Complete merchant & economy system. Gold currency with HUD, NPC shopkeepers, buy/sell trades, player-to-player payments. Create shops in-game with visual skin selector, add items by holding them. Config-driven, persistent, hot-reloadable.
Back to Files

GlymeraMerchant-4.0.0.jar

File nameGlymeraMerchant-4.0.0.jar
Uploader
GlymeraCraftGlymeraCraft
Uploaded
Jun 4, 2026
Downloads
22
Size
70.2 KB
File ID
8194336
Type
R
Release
Supported game versions
  • 0.5

What's new

GlymeraMerchant - Changelog

v4.0.0 (2026-06-04)

Fix: VaultUnlocked integration restored

  • Re-enabled the Economy provider hook. During the Stable-5 migration the entire VaultUnlocked integration (the GlymeraEconomyProvider class and its register/unregister calls) had been commented out to get the plugin to compile, so the deployed build silently lost the economy-provider feature. This release restores it.
  • Verified on Hytale Stable-5 with VaultUnlocked-Hytale 2.19.1. The provider implements all 48 abstract methods of the Stable-5 net.milkbowl.vault2.economy.Economy interface and compiles cleanly against it.
  • Confirmed live via the vault-info console command, which now reports Economy: GlymeraMerchant — any VaultUnlocked-compatible plugin uses our gold balances again.
  • No behavioural change when VaultUnlocked is not installed: the integration stays optional and the plugin runs standalone as before.

v2.0.0 (2026-04-06)

New Feature: VaultUnlocked Integration

  • Economy Provider: GlymeraMerchant now registers as an Economy provider with VaultUnlocked. Any plugin that uses VaultUnlocked for economy (balance, deposit, withdraw) will automatically use our gold system.
  • Optional dependency: Works with or without VaultUnlocked installed. If VaultUnlocked is present, we register as provider during setup() so other plugins find us in their start(). If not installed, the plugin works exactly as before.
  • Full Vault2 API: Implements net.milkbowl.vault2.economy.Economy with all required methods (getBalance, deposit, withdraw, has, format, account management). Single currency, no shared accounts.
  • Manifest: Added OptionalDependencies for TheNewEconomy:VaultUnlocked to ensure correct class loader visibility and load order.

New Feature: Paid Commands

  • Command toll system: Server admins can now charge gold for any command from any plugin. If a player runs a paid command, it is blocked and they are asked to confirm with /confirm within a configurable timeout. Gold is deducted on confirmation and the command is then executed normally.
  • Packet-level interception: Uses PacketAdapters.registerInbound() to intercept ChatMessage packets before they reach the CommandManager. On /confirm, the packet message is rewritten to the original command and passed through the normal pipeline - no reflection or command wrapping needed.
  • OP exempt: Operators can be exempted from paying (configurable, default: true)
  • Configurable timeout: Admins set how many seconds players have to type /confirm (default: 15)
  • Prefix matching: Config key "gp claim" matches /gp claim, /gp claim myplot, etc.
  • Balance check upfront: Players are told immediately if they can't afford the command, before being asked to confirm

Config Changes

  • New top-level fields: paidCommandOpExempt (bool), paidCommandTimeout (int)

This mod has no additional files