HomeJavaModsqShadowTrader
qShadowTrader
ModsJava

qShadowTrader

by qustan · on Modrinth

qShadowTrader adds a secret merchant that randomly appears near players and offers limited rare items for a short time. Designed to create a dynamic black…

⬇ Download on Modrinth

Support me on Ko-fi

qShadowTrader


Main Features


Trader Lifecycle

  1. The plugin waits a random interval between spawn.interval-min and spawn.interval-max.
  2. On each cycle, it rolls spawn.chance.
  3. A random valid player is selected:
    • online and alive,
    • not in creative/spectator,
    • world is not in spawn.blocked-worlds,
    • if allowed-worlds is set, world must be in that list,
    • player-cooldown must be satisfied.
  4. Trader spawns at a safe location near that player (spawn-distance).
  5. Offers are generated from trades.yml using weighted chance values.
  6. Trader despawns after lifetime or when all active offers are bought out (if despawn-when-empty: true).

Commands


Permissions


Configuration (config.yml)

Key sections:


Offers (trades.yml)

Each offer is defined under items.<id> and supports:

Offer Lore Placeholders

Command Prefixes

Supported placeholders in commands: <player>, %player%


Offer Example

totem:
  material: TOTEM_OF_UNDYING
  amount: 1
  limit: 1
  chance: 10
  lore:
    - ""
    - "&7Price: &62500"
    - "&7Limit: %CURR_LIMIT%/%MAX_LIMIT%"
    - ""
  commands:
    - "[console] eco remove <player> 2500"

Notes

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