Default Prices (1.21)
dRotatingShop ships with prices_1_21.yml — a bundled price list of vanilla 1.21 items. It exists to seed your items.yml so the shop works out of the box, and is read by /dshop seed.
When it’s used
Section titled “When it’s used”- First start — while
items.ymlhas no items, every entry that maps to a real material on your server is migrated intoitems.yml(~1,200 items). This runs once; a flag in data.yml (seeded: true) stops it re-running. /dshop seed— force-loads the list any time, skipping ids that already exist. Use this if the auto-seed was skipped (e.g. you’d already added a few items, so the pool wasn’t empty), or to refresh after clearing the pool.
The auto-seed only fires when the pool is empty, so it never floods a catalogue you’ve curated. To get the full list anyway, run
/dshop seed.
Format
Section titled “Format”A flat map keyed by material id:
jungle_log: name: jungle log # label -> title-cased into the item's display name category: logs # informational only stack: 64 # informational only unit_buy: 8 # -> the item's price stack_buy: 512 # informational onlyFor each entry, the seeder writes an items.yml item with:
| items.yml field | Source |
|---|---|
material |
the entry key (e.g. jungle_log → JUNGLE_LOG) |
display-name |
name, title-cased |
price |
unit_buy |
stock |
seed.default-stock from config.yml (default 64) |
per-player-limit |
seed.default-per-player-limit (default 8) |
Customising the list
Section titled “Customising the list”Edit prices_1_21.yml (or replace it entirely) before the first seed — change prices, drop entries, or add your own. Any key that doesn’t resolve to a material on your server version (e.g. potions, tipped arrows, or items from a newer release) is simply skipped, so a mismatched list won’t error.
After the first seed, the live pool is items.yml — edit prices there. prices_1_21.yml is only consulted by the seed.
Re-seed from scratch
Section titled “Re-seed from scratch”To rebuild the pool from the price list only:
- Stop the server.
- Delete
data.yml(clears theseededflag) and emptyitems.yml(or delete it — it regenerates empty). - Start the server — it seeds fresh.
Or just run /dshop seed to add the catalogue on top of what you already have.