
EzEconomy
Modern, fast, and flexible Vault economy provider for Minecraft servers. Supports YML, MySQL, SQLite, MongoDB, and custom storage. Multi-currency, async caching, and robust permissions for any server size.
3.6K
8
Список изменений
Added
- Auto-create bank on join - Players now automatically get a personal bank named after themselves on first join. Controlled by
banking.auto-create-on-join(defaulttrue); respects the existingbanking.enabledgate. Idempotent: no duplicate bank is created if one already exists. bank_not_foundmessage key - "Bank does not exist" errors now route through a localisedbank_not_foundmessage key (&cprefix) instead of a raw white string. Added to bothenandnllocales./bank deposit//bank withdrawoptional name - Both commands now accept[name] <amount> [currency]so players can run/bank deposit 100to deposit into their own bank without having to type their name.usage_bank_deposit/usage_bank_withdrawmessage keys - Matching usage hint messages added toenandnllocales.
Fixed
- Server deadlock -
callSyncMethod(...).get()was called unconditionally from the main thread during bank commands, causing the server to hang indefinitely. AnisPrimaryThread()guard now ensures events fired from the main thread are dispatched directly, while background-thread calls still schedule and await a sync task. autoCreateBankearly-return bug -autoCreateBank()was placed after thestore-on-joingate inPlayerJoinListener, meaning it was never called whenstore-on-join.enabledis false (the default). It now runs independently of that gate.
Refactored
- Introduced
util/EventDispatcher- a single, reusable utility class that encapsulates the thread-safe Bukkit event dispatch pattern (fireSync/fireSyncAndAllow). All storage providers andPaymentExecutornow delegate to this class instead of duplicating the guard inline.
Tests
- Added
PlayerJoinListenerAutoCreateBankTest(4 tests) covering: bank created on join, creation skipped whenauto-create-on-join: false, creation skipped whenbanking.enabled: false, and no duplicate creation for a pre-existing bank.
Метаданные
Канал релиза
Release
Номер версии
3.0.3
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.7.10–26.1.2
Загрузок
108
Дата публикации
1 мес. назад
