This plugin send a message to the chat when a trader spawns
A lightweight Paper plugin that broadcasts Wandering Trader spawns, shows live coordinates, adds a direct Teleport button, includes a configurable despawn ETA, and rates each trader's offers with a custom star rating.
(~MM:SS left) based on loaded time (configurable).config.yml) for messages, timing, rating weights, etc./traderalert reload/tradercoords <uuid> — show live coordinates (+ ETA & rating)./traderteleport <uuid> — teleport to the trader (instant)./traderalert reload — reload the config.traderalert.use — use Show Coordinates (default: true)traderalert.teleport — use Teleport button / command (default: op)traderalert.admin — /traderalert reload (default: op)config.yml)despawn_millis: 2400000 # 40 minutes loaded time
update_period_ticks: 40 # update every ~2s
rating:
enabled: true
weights:
NAUTILUS_SHELL: 5
CORAL_BLOCK: 4
MOSS_BLOCK: 3
DRIPSTONE_BLOCK: 3
PACKED_ICE: 2
PODZOL: 2
GLOW_BERRIES: 1
SAND: 1
DYE: 1
messages:
spawn_title: "A Wandering Trader spawned!"
closest_fmt: "The Wandering Trader is closest to {player} ({blocks} blocks)"
no_players: "No players in the same world."
click_show: "[Show Coordinates]"
coords_fmt: "Wandering Trader @ {world}: x={x}, y={y}, z={z}"
remaining_fmt: " (~{mm}:{ss} left)"
rating_fmt: " [Rating: {stars}]"
teleport_btn: "[Teleport]"
no_perm_tp: "[Teleport]"
no_perm_hover: "No permission. Ask an admin."
teleport_hover: "Click to teleport"
despawned: "A Wandering Trader despawned."
reloaded: "WanderingTraderAlert config reloaded."
plugins/ folder.config.yml).Q: Does the Wandering Trader have levels?
A: No — unlike villagers, Wandering Traders don't level up. The plugin provides a custom star rating based on the trades it spawns with.
Q: What if a trader unloads?
A: Despawn ETA counts loaded time only. When the entity unloads, the timer pauses.
Q: Can I change messages/timings?
A: Yes, everything lives in config.yml. Use /traderalert reload to apply changes.