Description
I was looking for a mod for the zombie apocalypse modpack I’m building. I needed a wandering trader that would show up every now and then, but the vanilla one didn’t let me do what I wanted.
So I ended up creating this mod. It lets you decide when the trader appears, at what time of day and under which conditions, and make trades using items from other mods as currency. That’s the focus of the mod.
Wandering Stranger
A fully configurable wandering trader for Forge 1.20.1, made by Noobits.
Wandering Stranger replaces the vanilla Wandering Trader with its own merchant. You decide when he shows up, how long he stays and what he sells, all without restarting the game.
Features
- Custom merchant. A new trader with his own model, sounds and hooded look.
- In-game trade editor. Add, edit, duplicate, delete and reorder trades from a GUI, with a searchable item picker.
- Any item as currency. Use emeralds, or any item from any mod or KubeJS script (for example, a coin dropped by zombies).
- Spawn on your rules. Choose the first day he appears, the chance that grows each day, how long he stays and how far from the player he spawns.
- Chat announcements. Players are told when he arrives and when he leaves, and you can set your own messages.
- Trades that don’t reset. Offers are rolled once and saved in the trader himself, so restarting or reloading never resets them or their use counters.
- Safe config. The config file is never overwritten automatically.
- Vanilla trader control. Keep, block or completely remove the vanilla Wandering Trader.
- Languages: English (default) and Brazilian Portuguese (pt_br).
How it works
By default, the Stranger first appears on day 5, guaranteed, at noon. He appears 20 to 40 blocks from a random player in the Overworld and stays for 4 minutes. If a player is trading when his time is up, he waits. After he leaves, the chance of a new visit is 25% the next day, then 50%, 75% and finally 100%. If he is killed, the cycle starts over at 25%.
Every trade takes 1 or 2 items as payment and gives 1 item in return. Trades come from two pools: common (5 offers by default) and special (1 rarer offer by default).
Commands
All commands require operator permission (level 2).
| Command | What it does |
|---|---|
/stranger summon [pos] |
Summons the Stranger at your position or at the given coordinates |
/stranger editor |
Opens the in-game trade editor |
/stranger reload |
Reloads the config file |
/stranger status |
Shows the current day and spawn state |
/stranger roll |
Makes a normal spawn attempt, with the chance roll |
/stranger force |
Forces him to appear right now |
/stranger reset |
Restarts the cycle (first appearance on day 5 again) |
Configuration
The file is config/wandering_stranger/trades.json. It has four blocks: settings, spawn, common and special.
Settings: currency and the number of offers rolled from each pool.
Spawn: every spawn option can be changed here: first day, spawn time, chances, stay time, distance, announcements, custom messages and what to do with the vanilla trader (allow, block or remove).
Compatibility
- Minecraft 1.20.1 and Forge 47+
- Needs to be installed on both server and client (model, sounds and editor GUI)
- Works with KubeJS items as currency or as trade items


