- Offers
- Events & Schedules
- Economy
- Purchase Safety
- Mailbox
- Custom Items
- Menus, Sounds & Languages
- Storage & Backups
- Config
pool.yml decides what the merchant sells: rarities, items, prices and rewards. The bundled file is a working example to start from.The one rule to remember: an event freezes
pool.yml when it opens. Changes apply from the next event. To change a running event: event stop confirm, edit the file, validate, reload, event start.Rarities
Rarities color the hidden cards, limit how many of each a player can get, and set the discount range. These five ship with the plugin; rename, recolor, add or remove them freely.| Rarity | Weight | Discount | Per set | Reveal (sound) |
|---|---|---|---|---|
| Common | 100 | 0–15% in 5% steps | at most 4 | pling |
| Uncommon | 60 | 5–20% | at most 3 | chime |
| Rare | 30 | 10–30% | at most 2 | amethyst chime |
| Epic | 15 | 15–35% | at most 1 | level up |
| Legendary | 5 | 20–40% | at most 1 | challenge complete (announced to the server) |
/ws admin odds prints the real chances, and validate warns about items with less than a 0.5% chance.An Item
items:
dragon_sword: # id: a-z, 0-9, _ ; never rename or reuse it
rarity: epic
weight: 12 # optional, overrides the rarity's weight
price: { currency: vault, amount: 20000 }
discount: { min: 15, max: 35, step: 5 } # optional; 0 = never discounted
rewards:
- item:
material: netherite_sword
name: "<gradient:#ff5555:#ffaa00>Dragon Sword</gradient>"
lore: ["<gray>Forged with a dragon's breath."]
enchantments: { sharpness: 5, fire_aspect: 2, unbreaking: 3 }
item-model: "minecraft:netherite_sword"
custom-model-data: { strings: ["dragon"] }
glint: true
unbreakable: true
hide-tooltip: [enchantments, unbreakable]
- item: { material: golden_apple, amount: 3 }
| Key | Meaning |
|---|---|
| rarity | One of your rarities. |
| price | { currency: vault | playerpoints, amount: 15000 }. A dot for decimals, no thousands separator. Vault allows two decimals, PlayerPoints whole numbers. |
| weight | Optional; overrides the rarity’s weight. |
| discount | Optional; 0, or { min, max, step }. Fixed when a player’s set is made. |
| permission | Optional; only players with it can draw the item. |
| display | Optional card look: icon, name, lore. Shown only, never delivered; required when an item gives only commands. |
| enabled | false keeps the item out of the pool. |
| rewards | One or more items and commands, delivered together. |
Rewards
rewards:
- item: experience_bottle # one unit
- item: { material: diamond, amount: 4 }
- item: { give: "minecraft:potion[potion_contents={potion:'minecraft:strong_swiftness'}]", amount: 3 }
- item: "itemsadder:myns:dragon_sword" # custom item
- item: { key: "nexo:ruby", amount: 3, name: "<red>Ruby" }
- command: "lp user {uuid} parent addtemp vip 7d accumulate"
description: "VIP rank (7 days)" # shown on the card
- Commands run from the console after the charge and the items, in order, exactly once per purchase, even if the server crashes. Only
{player}{uuid}{event_id}{offer_id}{purchase_id}{item_id}are filled in. - Use
{uuid}for plugins that accept it (LuckPerms). Vanilla commands need{player}; write them asminecraft:experience add {player} 10 levelsso no other plugin’s command runs instead. - An item whose command is not installed cannot be bought, and nobody is charged. Try every command reward with
/ws admin test give <item> <yourself> confirmbefore the event.
Open a market by hand with
/ws admin event start [duration] [offers], or let schedules do it. Times are in locale.timezone.schedules:
weekend:
enabled: true
type: weekly # weekly | once
days: [FRIDAY] # MONDAY..SUNDAY; an empty list means every day
time: "20:00"
duration: "3d" # Friday 20:00 to Monday 20:00
offers-per-player: 6 # optional
halloween:
enabled: true
type: once
at: "2026-10-31T20:00"
duration: "48h"
- The bundled examples ship turned off. After a change:
validate, thenreload;/ws admin event schedulelists the next five openings. - If the server was down at the start time,
event.late-start: open-lateopens it late with its original end;skipskips that one. - Warnings before closing (
1d,1h,10m,1mby default) are sent once per event, even across restarts. The last ones also show a title and play a sound. - The boss bar appears in the last hour by default; its color and style are yours to set.
- Players who join during an event get a reminder with a clickable
[Open].
WandererShop charges Vault prices through one economy plugin, and you name it. If another economy plugin takes over Vault, the currency becomes unavailable and the reason is printed: no one is charged from a wallet you did not choose.
While a currency is unavailable, its cards read “Currently unavailable” and no confirm menu opens. PlayerPoints needs no setup: set an item’s
- Run
wanderershop admin debugin the console. - Among the
Vault economylines, the highest priority wins, for exampleowner=Essentials · priority=Normal. - Write that owner name into
economy.vault.expected-providerand runwanderershop admin reload. wanderershop admin statusthen showsCurrency vault: ready · Essentials.
Reason in status | Meaning | Fix |
|---|---|---|
| NO_PROVIDER | No Vault, or no economy registered yet | Install Vault and an economy plugin; CMI registers a little after startup. |
| EXPECTED_PROVIDER_EMPTY | expected-provider is empty | Write the suggested name into config.yml, then reload. |
| PROVIDER_MISMATCH | Another plugin owns Vault | Fix expected-provider, or turn off the other plugin’s Vault hook. |
| SCALE_INCOMPATIBLE | The economy keeps fewer decimals than your prices | Use whole-number prices, or lower currencies.vault.scale. |
| PROVIDER_ERROR | The economy plugin is disabled or failed | Check that plugin’s own log. |
price.currency to playerpoints. Without the plugin, those cards are simply unavailable.Every purchase is written to the database before the money moves and again after. The balance is checked before and after the charge, so an economy plugin that takes a different amount is caught. A player can never buy an offer twice, and a crash never charges anyone twice.When the server cannot know for sure what happened, for example a crash at the exact moment of payment, the record is held for review instead of being retried. The player’s card shows “Under review” and staff with
wanderershop.admin.alerts get an alert.| Held for review | What happened | Settle with |
|---|---|---|
PurchaseIN_DOUBT | Unknown whether the charge was taken. Check the economy plugin’s log. | reconcile purchase <ref> charged | charged-redeliver | not-charged confirm |
DeliveryIN_DOUBT | An error while giving an item, or a crash during a mailbox claim. | reconcile delivery <ref> delivered | redeliver | cancel confirm |
DeliveryFAILED | A command reward was not found or threw an error after the charge. | Give the reward by hand, then reconcile delivery <ref> … |
/ws admin reconcile listshows everything awaiting a decision;statusshows the counts.- The player is told the decision exactly once: right away if online, otherwise on their next join.
- Outcomes that cannot reach the database while the server stops are kept in a journal file and written at the next start.
With
purchase.inventory-full: mailbox (the default), a full inventory does not stop a purchase. The confirm screen warns how many stacks will not fit; after payment they go to the mailbox. With refuse, a purchase that does not fit is turned down before payment.- Players claim with
/ws mailor the mailbox button in the market menu, up tomailbox.claim-batchrewards at a time. - Rewards in the mailbox never expire: they are paid goods.
- Players with waiting rewards get a clickable
[Claim]when they join. - Staff see any player’s mailbox with
/ws admin mailbox <player>.
ItemsAdder, Nexo, Oraxen and CraftEngine items work as rewards and as card icons. Write the key as
A custom item can never end up “charged but not delivered”: if its provider is not ready, the card cannot be bought.
<provider>:<identifier>, for example itemsadder:myns:dragon_sword or nexo:ruby. Identifiers are checked once the provider has loaded its content; a typo is reported with a suggestion.| Provider status | Meaning | Its items |
|---|---|---|
READY | Content loaded | Drawn and sold normally. |
WAITING | Plugin enabled, content still loading | Not drawn into new sets yet. |
RELOADING | The plugin is reloading, for example /iareload | Cards read “currently unavailable”; nobody is charged. |
ABSENT | Not installed or disabled | Not drawn. |
FAILED | Installed but its API is incompatible | Not drawn; a one-line reason in the log. |
/ws admin debug shows each provider’s status.- Menus (
config.yml → gui): rows, card slots, the timer, mailbox and close buttons, the frame and fill. Every icon takes amaterialand an optional resource-packitem-model. Slots count from 0 (row × 9 + column) and accept ranges such as"10-16". - A broken
guisection is rejected as a whole:reloadkeeps the last valid layout andvalidatesays why. - Hidden cards take their look from the rarity:
card: { hidden-material, hidden-item-model }. Withgui.show-rarity-when-hidden: falsethey hide their rarity too. - Sounds are written as
"key volume pitch", for example"minecraft:block.bell.resonate 1.0 1.0". Resource-pack sounds work;""is silent. - Messages live in
lang/<language>.ymland use MiniMessage;<prefix>works in every message. English, Turkish, German, Spanish, French and Russian ship with the plugin; pick one withlocale.language.
SQLite is the default and needs no setup: the data lives in
plugins/WandererShop/wanderershop.db. For MariaDB 10.6+ or MySQL 8.0.16+, create an empty database and set storage.type: mariadb; WandererShop creates its tables. Use one database per server.storage:
type: mariadb
mariadb:
host: "db.example.net"
port: 3306
database: "wanderershop"
username: "wanderershop"
password: "a-long-random-password"
parameters: "" # MySQL without SSL: "allowPublicKeyRetrieval=true"
- SQLite backups go to
plugins/WandererShop/backups/: one before every schema update, and one a day after the cleanup job, the last seven kept. They are consistent copies, safe while the server runs. - For MariaDB or MySQL, back up with
mariadb-dump --single-transactionormysqldump. - Keep
secret.keywith your backups: it makes every player’s hidden offers unpredictable.
Cleanup
Five minutes after startup and then once a day, old data is removed. Nothing that belongs to a purchase under review or an undelivered reward is ever deleted.| Setting | Default | Removes |
|---|---|---|
retention.closed-event-offers | 60d | Unbought offers of closed events |
retention.delivered | 90d | Delivered or cancelled rewards |
retention.audit | 365d | Audit records |
retention.purchases | 0 | Completed purchases; 0 keeps them forever |
retention.journal-replayed | 90d | Replayed journal files |
Every key
config.yml understands. After editing: /ws admin validate, then /ws admin reload. “Restart” means the change waits for the next server start. A broken file never takes the plugin down: at startup it runs with safe defaults, and on reload the old settings stay.| Key | Default | Applies | Meaning |
|---|---|---|---|
| server-id | ”main” | restart | Lowercase letters, digits, _ and - (1–32). Written to records; the license binds to it. |
| locale.language | en_US | reload | Message language: en_US, tr_TR, de_DE, es_ES, fr_FR, ru_RU. |
| locale.timezone | ”Europe/Istanbul” | reload | IANA time zone for schedules and shown times. |
| storage.type | sqlite | restart | sqlite or mariadb (MariaDB 10.6+, MySQL 8.0.16+). |
| storage.sqlite.file | ”wanderershop.db” | restart | Database file under plugins/WandererShop/. |
| storage.mariadb.host | ”localhost” | restart | Database server host. |
| storage.mariadb.port | 3306 | restart | Database server port. |
| storage.mariadb.database | ”wanderershop” | restart | Database name; it must exist. |
| storage.mariadb.username | ”wanderershop” | restart | Database user. |
| storage.mariadb.password | "" | restart | Database password. |
| storage.mariadb.parameters | "" | restart | Extra JDBC parameters (key=value&key=value). |
| storage.backups-keep | 5 | restart | SQLite: backups kept from before schema updates. |
| storage.daily-backup | true | restart | SQLite: a daily backup after the cleanup job, the last seven kept. |
| retention.closed-event-offers | ”60d” | reload | Unbought offers of closed events. |
| retention.delivered | ”90d” | reload | Delivered or cancelled rewards. |
| retention.audit | ”365d” | reload | Audit records. |
| retention.purchases | ”0” | reload | Completed purchases; 0 keeps them forever. |
| retention.journal-replayed | ”90d” | reload | Replayed outcome journal files. |
| economy.vault.expected-provider | "" | reload | Required. The one plugin allowed to own the Vault economy. |
| event.default-duration | ”3d” | reload | Length of event start without a duration. |
| event.default-offers-per-player | 6 | reload | Hidden cards per player, at most the number of card slots. |
| event.late-start | open-late | reload | A scheduled start missed while the server was down: open-late or skip. |
| event.late-start-grace | ”2m” | reload | For skip: how late still counts as on time. |
| event.announce.open | true | reload | Announce an opening (chat, title, sound). |
| event.announce.close | true | reload | Announce a closing and the next opening. |
| event.announce.resume | false | reload | Announce again an event still running after a restart. |
| event.announce.missed-close | false | reload | Announce an event that ended while the server was down. |
| event.join-reminder.enabled | true | reload | Remind players who join during an event. |
| event.join-reminder.delay | ”3s” | reload | Delay before that reminder. |
| event.warnings | [“1d”, “1h”, “10m”, “1m”] | reload | Warnings before closing; each at most once per event. |
| event.warning-title-at-or-below | ”10m” | reload | Warnings at or below this also show a title and play a sound. |
| event.boss-bar.enabled | true | reload | The closing countdown boss bar. |
| event.boss-bar.show-at-or-below | ”1h” | reload | When the boss bar appears. |
| event.boss-bar.color | PURPLE | reload | PINK, BLUE, RED, GREEN, YELLOW, PURPLE or WHITE. |
| event.boss-bar.style | PROGRESS | reload | PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12 or NOTCHED_20. |
| schedules.<id>.enabled | false | reload | Turns the schedule on; the bundled examples ship off. |
| schedules.<id>.type | — | reload | weekly or once. |
| schedules.<id>.days | — | reload | Weekly: MONDAY to SUNDAY; empty means every day. |
| schedules.<id>.time | — | reload | Weekly: local start time, such as "20:00". |
| schedules.<id>.at | — | reload | Once: local start date and time, such as "2026-10-31T20:00". |
| schedules.<id>.duration | — | reload | How long the market stays open (weekly: up to 7 days; once: up to 30 days). |
| schedules.<id>.offers-per-player | event default | reload | Optional card count for this schedule. |
| purchase.inventory-full | mailbox | reload | mailbox: overflow goes to the mailbox; refuse: no purchase with a full inventory. |
| purchase.min-time-left | ”5s” | reload | No confirming when less than this is left before closing. |
| purchase.reservation-timeout | ”5s” | reload | Longest wait for the purchase record. |
| commands.aliases | [ws, wshop] | restart | Extra names for /wanderershop; they never override other plugins’ commands. |
| commands.player-name-pattern | ”^[A-Za-z0-9_]{3,16}$“ | reload | Names allowed in {player} command rewards. For Floodgate, for example "^[.*]?[A-Za-z0-9_]{1,16}$". |
| mailbox.claim-batch | 20 | reload | Rewards per claim. |
| mailbox.claim-cooldown | ”2s” | reload | Time between two claims of one player. |
| mailbox.notify-on-join | true | reload | Tell players with waiting rewards when they join. |
| providers.ready-timeout | ”60s” | reload | How long custom item plugins may take to load at startup. |
| providers.reload-timeout | ”30s” | reload | How long a custom item plugin’s reload may take. |
| license.key | "" | restart | Your license key; the WANDERERSHOP_LICENSE environment variable wins over it. |
| gui.block-creative | true | reload | The market does not open in creative mode. |
| gui.open-cooldown | ”500ms” | reload | Time between two opens of one player. |
| gui.click-throttle | ”150ms” | reload | Time between menu clicks. |
| gui.confirm-timeout | ”30s” | reload | The confirm menu closes after this. |
| gui.reveal-min | ”400ms” | reload | Shortest card flip. |
| gui.show-rarity-when-hidden | true | reload | Hidden cards show their rarity color and name. |
| gui.market.rows | 5 | reload | Market menu rows. |
| gui.market.offer-slots | [11, 13, 15, 29, 31, 33] | reload | Card slots, in card order; their number is the most offers a player can get. |
| gui.market.timer-slot | 4 | reload | Countdown slot. |
| gui.market.mailbox-slot | 40 | reload | Mailbox button slot. |
| gui.market.close-slot | 44 | reload | Close button slot. |
| gui.market.inner.slots | [“10-16”, “19-25”, “28-34”] | reload | Inner fill slots. |
| gui.market.{frame, inner, timer, mailbox, close, unavailable-icon, under-review-icon} | see the file | reload | Market icons: material and item-model ("" means none). |
| gui.confirm.rows | 3 | reload | Confirm menu rows. |
| gui.confirm.info-slot | 4 | reload | Item info slot. |
| gui.confirm.preview-slot | 13 | reload | Preview slot. |
| gui.confirm.confirm-slots | [10, 11, 12] | reload | Confirm button slots. |
| gui.confirm.cancel-slots | [14, 15, 16] | reload | Cancel button slots. |
| gui.confirm.warning-slot | 22 | reload | The contents list and the mailbox warning. |
| gui.confirm.{frame, confirm-button, disabled-button, processing-button, failed-button, cancel-button, info, warning} | see the file | reload | Confirm menu icons. |
| sounds.{menu-open, card-flip, confirm-open, purchase-success, error, in-doubt, event-open, event-close, warning, mailbox-claim} | see the file | reload | "key volume pitch"; "" is silent. |