▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Jake's Economy
Jake's Economy

Jake's Economy

A dynamic player-driven economy mod with a live market, coin currency, real-time price trends, and an Auction House.

Оцените первым
56
1
Все версииJake's Economy 1.2.0+1.21.1

Jake's Economy 1.2.0+1.21.1

Release09.06.2026

Список изменений

[1.2.0+1.21.1] — 2026-06-08

Market GUI — Price History Graph

  • Tiered snapshot system: Fine-grained 20-minute snapshots for intraday detail (Day view), hourly snapshots for long-term trends (Week / Month views)
  • Graph now captures data every 20 minutes instead of every hour — Day view shows 72 points across the last 24 hours for much smoother intraday curves
  • Week and Month views continue to use hourly archive data — no change in long-term resolution, storage remains efficient at ~5.4 MB for 137 items
  • Tooltip hover now shows "Just now" for very recent points and properly displays minute-level timestamps
  • "No data" message now shows the correct snapshot interval per view ("Data is recorded every 20 minutes" for Day, "Data is recorded hourly" for Week/Month)
  • /jecon debug fillhistory test command now injects both recent (20-min intraday cycle) and archive (hourly) test data for comprehensive graph testing

Security & quality fixes

Market

  • Fixed duplicate achievement lock check in sell() — now uses the extracted helper method isAchievementLocked()
  • Fixed pre-existing code quality warnings (redundant cast, dangling Javadoc)

Auction House

  • Fixed expired BIN listings being purchasable between tick-loop scans (up to 1-second window) — instantBuy() now checks expiry before allowing purchase
  • Fixed full bid history being serialized and sent over the network to every client — only top bid data is transmitted now (bandwidth optimization)
  • Fixed control characters in modded item names or player profile names breaking auction JSON — all user-visible strings now use full JSON escaping
  • Fixed minBidIncrementPercent config field not being read; minimum bid increment is now correctly driven by the configured value instead of always using 1 %
  • Sellers who cancel a listing while offline now receive a chat notification on next login (mirrors the existing outbid / auction-ended offline notification system)
  • Fixed missing balance sync in placeBid and instantBuy — buyer's HUD balance now updates immediately after funds are deducted
  • Fixed confusing "Items delivered to your inventory" message showing even when no items fit in the player's inventory

Save data

  • AuctionState.load() visibility lowered to package-private — external callers must use safeLoad() which includes corruption recovery
  • All three event schedulers (AuctionExpireScheduler, TrendSnapshotScheduler, PriceDecayScheduler) now guard against double-registration on world reload
  • applyDecay() no longer calls setDirty() twice per tick when changes are made

Commands

  • Main command root renamed from /jakeseconomy to /jecon (shorter alias used everywhere)
  • Added /balance player shortcut — shows abbreviated + exact balance; only registers if no competing mod claims the literal /balance command
  • Fixed /jecon take not syncing the updated balance to the target player's client HUD when the player is online

Market GUI

  • Balance label now shows an exact-value tooltip on hover

Economy API (com.github.devjake123.jakeseconomy.api)

  • New JakesEconomyApi.hasEnoughBalance(uuid, amount, server) — null-safe check without callers needing to read and compare manually
  • New JakesEconomyApi.transferBalance(from, to, amount, server) — atomic player-to-player transfer; returns false on insufficient funds
  • New JakesEconomyApi.isMarketItem(itemId, server) — returns true if the item is listed in the active price config
  • New JakesEconomyApi.getMarketPrice(itemId, server) — returns current live price or -1 if not listed
  • New JakesEconomyApi.syncBalance(uuid, server) — explicit manual client-HUD sync (write methods already call this automatically)
  • All API write methods (deposit, withdraw, setBalance, transferBalance) now automatically sync the updated balance to the player's client if they are online
  • Fixed BALANCE_CHANGED event firing twice per deposit/withdraw call
  • New EconomyApiEvents.AUCTION_BID_PLACED event — fires when a bid is accepted; payload: auctionId, bidderId, bidAmount, antiSniped
  • New EconomyApiEvents.AUCTION_CANCELLED event — fires when a seller cancels a listing; payload: auctionId, sellerId, itemId

Файлы

jakeseconomy-1.2.0+1.21.1.jar(238.37 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.2.0+1.21.1

Загрузчики

Fabric

Версии игры

1.21.1

Загрузок

23

Дата публикации

09.06.2026

Загрузил

ID версии

Главная