shopmod-1.4.0_neoforge_1.21.1.jar
Curse Maven Snippet
What's new
ShopMod 1.4.0 Changelog
New Features
Player to Player Payments
New /pay <player> <amount> command lets players send Coins directly to each other. Validates against self payment and insufficient balance, then syncs both balances live. Every P2P transfer is logged to both parties' purchase history (P2P SENT and P2P RECV).
Purchase History
New History screen accessible via a History button in the Shop UI. Every buy, sell, and P2P transaction is now recorded per player and can be reviewed in game. Backed by new TransactionRecord and PurchaseHistoryManager classes and synced to the client via new RequestHistoryPayload and HistorySyncPayload network packets.
Live Item Refresh
New /shop refresh command (requires permission level 2) rescans the item registry for newly added items (for example from a mod or datapack added after server start) without wiping or re running heuristic scans on existing prices. Runs asynchronously so it will not freeze the server, then auto syncs updated prices to all online players.
Fixes and Improvements
Shop Search Box Fix
Fixed a bug where the item search box would drop characters, jump the cursor to the end, or lose focus on every keystroke. The search box is now preserved across rebuilds; only the item rows and pagination are rebuilt when typing, sorting, changing category, or paging, so the search field itself is no longer recreated every time.
Networking
Payload registrar version bumped from "2" to "3" to accommodate the new History and P2P Pay packets.
Logging Cleanup
Simplified and quieted several verbose config generation log messages (recipe heuristic details, modded reagent detection, config write failures) for cleaner server logs.
This mod has no additional files

