Trade History
Consent-based item exchanges with an administrator audit trail.
Requirements
- Minecraft 1.21.1
- Fabric Loader 0.16.14 or newer
- Fabric API 0.116.6 or newer, compatible with Minecraft 1.21.1 (tested with 0.116.6+1.21.1)
- Java 21 or newer
- Environment: Server / singleplayer
Features and commands
- /trade offer <player> <give count> <requested item ID> <take count> — offer items held in your main hand.
- /trade accept <sender>, /trade decline <sender>, /trade cancel.
- Consent required; 60-second offers; players must be alive and within 8 blocks, in the same world, with containers closed.
- Hover over the invitation to inspect offered components. Requested items must match default components.
- /tradeaudit [count] — operator-only recent history; stores at most 1,000 trades per world.
Installation
Install the mod and Fabric API on the Fabric server. Players can use the commands without this mod on their clients. For singleplayer, install both in the client mods folder.
Install only the individual mod JAR, not the ZIP bundle or sources JAR. No Cobblemon dependency.
Scope and limitations
Only exchanges performed through /trade are logged; dropped items, other mods and arbitrary inventory changes are not monitored. Both inventory plans are checked before normal-operation commits; no overflow items are dropped. Audit writes precede the inventory commit. Minecraft player saves and the audit file are separate: abrupt crashes can leave a log entry whose inventory changes were not saved. This is not a crash-atomic database transaction.
Modpacks and license
MIT licensed. You may include this mod in modpacks. Each mod is independently usable.
Português
Segure o item e use /trade offer Nome 8 minecraft:iron_ingot 2. O outro jogador aceita com /trade accept SeuNome. Apenas trocas feitas por esses comandos entram no histórico. Operadores usam /tradeaudit.
Requisitos: Minecraft 1.21.1, Fabric, Fabric API e Java 21. A versão inicial contém mensagens dentro do jogo em inglês.

