Configure the shop
Use shop.yml and turn on enabled. Add products inside shop.
enabled: true
global_limit: false
reset_stock: 1440
shop:
pacote_diamante:
id: 'minecraft:diamond'
display: '&bDiamond bundle'
amount: 4
points: 25
level: 5
limit: 3
premium: false
money: 0.0
lore:
- '&7Receive 4 diamonds for 25 points.'
cmd:
- 'give {player} minecraft:diamond {amount}'
In this example, buy a bundle of four diamonds for 25 points from level five, up to three times per player.
| Field | What to set |
|---|---|
| points | Bundle price in points; use a positive value. |
| amount | Quantity used in delivery through {amount}. |
| cmd | Delivery command; use {player} for the buyer. |
| level | Minimum level; -1 removes the requirement. |
| premium | Require premium access. |
| limit | Purchase limit; zero or negative values remove it. |
| money | Additional money charge. |
With global_limit: false, limits are per player. With true, stock is shared between players. reset_stock sets the refresh interval in minutes; 1440 equals 24 hours. Use /mbattlepass resetshop to refresh it manually.
To charge money alongside points, configure Impactor and an economy provider. Test each product's delivery command before making it available.
Quantity and charges
points is the price of a bundle, not each item. With amount: 4 and points: 25, charge 25 points and deliver four items through the configured command. The icon does not deliver items by itself.
Use {amount} or %amount% for product quantity. {purchase_amount} represents the number of bundles purchased, but commands already run once per bundle; multiplying delivery by it on every execution can duplicate items.
With points: 25 and money: 100.0, both currencies are charged. Money requires an Impactor economy setup. The limit counts bundle purchases rather than items inside them; restarting does not refresh saved stock.
Use installed mods' commands to deliver Pokémon, crates, ranks or special items. A partially delivered purchase can be retained to avoid both giving the prize and refunding the balance. Test effects before making each product available.
Across a server network, keep prices and limits identical. The base shop does not have a separate folder per season; edit shop.yml to change products.