HomeJavaModsWandering Trader Folia
Wandering Trader Folia
ModsJava

Wandering Trader Folia

by Whitebrim · on Modrinth

Adds the ability to change trades of wandering trader. Aimed for folia support. By default is configured for "nether items for diamonds" trades. Support…

⬇ Download on Modrinth
Wandering Trader Folia — screenshot 1Wandering Trader Folia — screenshot 2

WanderingTrader

Fully customize Wandering Trader trades — with native Folia support.

A simple, lightweight plugin that lets you define exactly what the Wandering Trader sells. Perfect for custom SMP servers, skyblock, or any server where you want control over trader inventory.

✨ Features

⚙️ Complete Customization — Define any item, any price, any amount
🎲 Weighted Trades — Control how often each trade appears
🚀 Folia Native — Built for multithreaded servers from day one
📦 Zero Dependencies — Just drop in and configure
🔄 Hot Reload — Change trades without restarting


📥 Installation

  1. Download the JAR file
  2. Place it in your plugins folder
  3. Restart your server
  4. Edit plugins/WanderingTrader/config.yml

🛠️ Commands

Command Description
/wt reload Reload the configuration
/wt list View all configured trades
/wt info Show plugin settings

Permission: wanderingtrader.admin (default: OP)


⚙️ Configuration

Basic Settings

settings:
  min-trades: 5              # Minimum trades per trader
  max-trades: 8              # Maximum trades per trader
  replace-all-trades: true   # true = custom only, false = add to vanilla

Creating Trades

trades:
  elytra_trade:
    enabled: true
    result:
      material: ELYTRA
      amount: 1
    cost:
      material: DIAMOND_BLOCK
      amount: 16
    max-uses: 1
    weight: 2      # Lower weight = rarer

Enchanted Books

trades:
  mending:
    enabled: true
    result:
      material: ENCHANTED_BOOK
      amount: 1
    cost:
      material: EMERALD
      amount: 24
    enchantments:
      MENDING: 1
    max-uses: 1
    weight: 5

🎲 How Weights Work

Each trade has a weight value. When a Wandering Trader spawns, trades are randomly selected based on their weights:


💡 Example Use Cases


📋 Requirements


❓ FAQ

Q: Do existing traders get new trades?
A: No, only newly spawned traders use custom trades.

Q: Does this work on Paper?
A: Yes! Works on both Paper and Folia.

Q: Can I add to vanilla trades instead of replacing?
A: Yes, set replace-all-trades: false in config.


🐛 Issues & Suggestions

Found a bug or have an idea? Open an issue on GitHub!

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more