GlymeraMerchant-4.0.0.jar
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
GlymeraEconomyProviderclass and itsregister/unregistercalls) 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-5net.milkbowl.vault2.economy.Economyinterface and compiles cleanly against it. - Confirmed live via the
vault-infoconsole command, which now reportsEconomy: 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 theirstart(). If not installed, the plugin works exactly as before. - Full Vault2 API: Implements
net.milkbowl.vault2.economy.Economywith all required methods (getBalance, deposit, withdraw, has, format, account management). Single currency, no shared accounts. - Manifest: Added
OptionalDependenciesforTheNewEconomy:VaultUnlockedto 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
/confirmwithin a configurable timeout. Gold is deducted on confirmation and the command is then executed normally. - Packet-level interception: Uses
PacketAdapters.registerInbound()to interceptChatMessagepackets before they reach theCommandManager. 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

