Create: Trading Floor Ledger

Create: Trading Floor Ledger

An addon for Create: Trading Floor for modpack/quest developers, that tracks how many trades each player has completed.

by
6 Downloads
forgeeconomygame-mechanics
Rent Server with this Mod

About this Mod

Trading Floor Ledger

Trading Floor Ledger is a lightweight addon for Create: Trading Floor that tracks how many trades each player has completed through Trading Depots and provides integration with FTB Quests and KubeJS.

Features

  • Detects trades completed via Trading Depots using a Mixin.
  • Tracks trade counts per player and persists them to disk.
  • Works even when the player is offline.
  • Fires a custom Forge event (TradingTradeEvent) that KubeJS can listen to.
  • Provides the /tf_trades command to check your current trade count and progress toward the next milestone.

How It Works

Trades are attributed to the player who placed the Trading Depot. Every successful trade increases that player's recorded trade count.

The mod fires a custom Forge event called TradingTradeEvent on the Forge event bus. The event exposes:

  • The player associated with the Trading Depot.
  • The player's total recorded trade count.

Using KubeJS and EventJS, you can listen for this event to implement custom quests, rewards, achievements, leaderboards, or any other gameplay mechanics.

Command

/tf_trades

Displays your current trade count and progress toward the next milestone. Milestones are not built into the mod and are instead defined by your KubeJS scripts.

Requirements

  • Forge 1.20.1
  • Create: Trading Floor

Optional Dependencies

  • KubeJS + EventJS — listen to TradingTradeEvent and implement custom logic.
  • FTB Quests — integrate trade counts into quest progression.

Credits & License

This addon incorporates and adapts portions of the source code from the original Create: Trading Floor project by CakeGit, licensed under the MIT License.

Copyright (c) 2024 CakeGit

Original source code: https://github.com/cakeGit/Create-Trading-Floor

The required MIT copyright notice and license text are included with this project.

Example: FTB Quests integration using KubeJS
// kubejs/server_scripts/trading_floor_quests.js

// Milestones: [trade count, quest task ID]
const MILESTONES = [
    [5,   '57F4FE71F78DFA05'],
    [100, '33FCBCE23CA8214A'],
    [500, '2372061A10003C77'],
];

NativeEvents.onEvent(
    Java.loadClass('com.cak.tradingfloor.fix.TradingTradeEvent'),
    event => {
        const player = event.player;
        const total = event.totalTrades;

        for (const [required, taskId] of MILESTONES) {
            if (total === required) {
                player.server.runCommandSilent(
                    `ftbquests change_progress ${player.name.string} complete ${taskId}`
                );
                console.info(`[TradingFloorFix] Milestone ${required} reached for ${player.name.string}`);
            }
        }
    }
);

ServerEvents.commandRegistry(event => {
    const { commands: Commands } = event;
    event.register(
        Commands.literal('tf_trades')
            .executes(ctx => {
                const player = ctx.source.playerOrException;
                const TradeEventBridge = Java.loadClass('com.cak.tradingfloor.fix.TradeEventBridge');
                const count = TradeEventBridge.getTradeCount(player.server, player.uuid);
                const next = MILESTONES.find(([req]) => req > count);

                const nextComponent = next
                    ? Text.translatable('tradingfloorfix.trades.next', Text.of(`§e${next[0] - count}`))
                    : Text.translatable('tradingfloorfix.trades.done');

                player.tell(
                    Text.translatable('tradingfloorfix.trades.count',
                        Text.of(`§e${count}`),
                        nextComponent
                    ).withStyle('aqua')
                );
                return 1;
            })
    );
});

Available Versions

Create: Trading Floor Ledger 1.0.0release
MC 1.20.1forge
June 13, 2026

How to Install Create: Trading Floor Ledger on Your Server

1

Order Server

Order a Minecraft Java server with at least 4 GB RAM (6 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Create: Trading Floor Ledger". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.1

Server-side

Required

Recommended RAM

6 GB(min. 4 GB)

Frequently Asked Questions

Create: Trading Floor Ledger server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 4 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Create: Trading Floor Ledger compatible with forge?

Create: Trading Floor Ledger officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Create: Trading Floor Ledger – how to optimize performance?

Recommended RAM: 6 GB (per 5 players). Use /spark profiler to check if Create: Trading Floor Ledger consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Create: Trading Floor Ledger with just one click on your server.

Recommended RAM
6 GBab €12/mo
Min. 4 GB | +1 GB pro 5 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.1