File Details
GlymeraMerchant-2.0.0.jar
- R
- Apr 6, 2026
- 70.13 KB
- 78
- Early Access
File Name
GlymeraMerchant-2.0.0.jar
Supported Versions
- Early Access
GlymeraMerchant - Changelog
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) - New section:
paidCommands(object) - keys are command prefixes (without/), values havecost(long) and optionaldescription(string) /merchant reloadnow also reloads paid commands and shows their count- Guide section updated with paid command documentation
v1.0.0 (2026-03-21)
- Initial release - Currency system, HUD, Shop UI, NPC Merchants, Player Trading

