Trading station

Trading station

Item trading machine.

by
2.2K Downloads
forgeneoforgeeconomygame-mechanicstechnology
Rent Server with this Mod

About this Mod

Trading Station

  • Item trading machine.
  • Made for modpacks. It doesn't add any recipe.

Dedicated wiki

1.21.1-1.x Version Requires Mechanicals Lib

Features

  • Basic station with no power requirements.
  • Powered station with RF power requirements.
  • Custom Trading recipe
  • Custom recipe requirements per recipe.
  • Indestructible variant for each station.
  • Configurable consumption & progress.
  • Mechanical (Create Addon) station available with companion mod.Link

Trading recipe

  • "type": "trading_station:trading"
  • result:Output item. Item components allowed.
  • ingredients: Required items.
  • processingTime: Required time in ticks.
  • recipeRequirements: Custom recipe requirements. WIKI

Example (One ingredient)

{
	"type": "trading_station:trading",
	"result": {
		"id": "minecraft:diamond",
		"count": 5
	},
	"ingredients": [
		{
			"ingredient": {
				"item": "minecraft:emerald"
			},
			"count": 5
		}
	]
}

Example (Two ingredients)

{
  "type": "trading_station:trading",
  "result": {
    "id": "minecraft:gold_block",
    "count": 5
  },
  "ingredients": [
    {
      "ingredient": {
        "item": "minecraft:oak_log"
      },
      "count": 5
    },
    {
      "ingredient": {
        "item": "minecraft:birch_log"
      },
      "count": 10
    }
  ],
  "processingTime": 250
}

Example (Enchanted book)

{
	"type": "trading_station:trading",
	"result": {
		"id": "minecraft:enchanted_book",
		"count": 1,
		"components": {
			"minecraft:stored_enchantments": {
				"levels": {
					"minecraft:density": 3
				}
			}
		}
	},
	"ingredients": [
		{
			"ingredient": {
				"item": "minecraft:diamond"
			},
			"count": 5
		}
	],
	"processingTime": 100
}

Example (Machine Requirement)

{
	"type": "trading_station:trading",
	"result": {
		"id": "minecraft:emerald_block",
		"count": 1
	},
	"ingredients": [
		{
			"ingredient": {
				"item": "minecraft:diamond"
			},
			"count": 5
		}
	],
	"processingTime": 100,
	"requirements": [
		{
			"value": [
				"powered",
				"mechanical"
			],
			"type": "trading_station:machine_id"
		}
	]
}

KubeJS

Some examples

// Processing time
event.recipes.trading_station.trading(Item.of('minecraft:gold_block', 5),[Item.of("5x minecraft:oak_log"),Item.of("10x minecraft:birch_log")]).processingTime(250);

//Enchanted book result
event.recipes.trading_station.trading(Item.of('minecraft:enchanted_book[stored_enchantments={levels:{"minecraft:unbreaking":3}}]', 1),[Item.of("minecraft:diamond", 5)]).processingTime(100);

//With machine requirement
event.recipes.trading_station.trading(Item.of('minecraft:emerald_block'),[Item.of("5x minecraft:diamond")]).processingTime(100).requirements(MachineId.of(["powered","mechanical"]));

Machine ID (binding)

MachineId.of(["powered","mechanical"])

Available Versions

Trading Station - v0.1.2 for Minecraft 1.19.2release
MC 1.19.2forge
August 30, 2023
Trading Station - v0.1.1 for Minecraft 1.19.2release
MC 1.19.2forge
August 30, 2023
Trading station 1.19.2-0.1.0release
MC 1.19.2forge
August 23, 2023

How to Install Trading station on Your Server

1

Order Server

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

2

Set forge Loader

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

3

Install Mod

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

Compatibility

Mod Loaders

forgeneoforge

Minecraft Versions

1.21.1, 1.19.2

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Trading station 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 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is Trading station compatible with forge and neoforge?

Trading station officially supports forge, neoforge for Minecraft 1.21.1, 1.19.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Trading station – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Trading station 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 Trading station with just one click on your server.

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

Details

License
GNU Lesser General Public License v3.0 only
Server-side
Required

Supported Versions

1.21.11.19.2