Configure the tracks
Use rewards/free.yml for free prizes and rewards/paid.yml for premium prizes. If the season has its own rewards, use the folder configured in rewards_path.
Set the required level in level and the prize in action. Once unlocked, click it in the menu to claim it. The premium track also requires its access permission.
Example: one diamond at level five
diamante_nivel_5:
level: 5
skip: false
lore:
- '&b1 diamond'
item_custom:
id: 'minecraft:diamond'
display: '&bLevel 5 reward'
lore:
- '&7Click to claim.'
- '{collect}'
action:
- 'give: minecraft:diamond amount:1'
- 'message: &aReward received!'
item_custom defines the menu icon. action defines what you receive when claiming the reward.
| Action | Example |
|---|---|
| Give an item | give: minecraft:diamond amount:3 |
| Run a command | cmd: mbattlepass addpoints {player} 25 |
| Send a message | message: &aCongratulations! |
To give Pokémon, permissions or prizes from other mods, use cmd: with the relevant command. Test delivery before publishing the reward.
Use skip: true and action: [] for a stage without a prize. Keep the IDs of rewards already claimed. Resetting claims allows the same prizes to be collected again.
Actions and stages
Use action in the singular and keep commands in delivery order. Besides give, cmd and message, use sound: minecraft:entity.player.levelup volume:1 pitch:1 for sound. For a confirmation aimed at the player claiming a reward, prefer the claim notification in messages.yml or a sound command with an explicit target.
For money, Pokémon and permissions, use cmd: with the relevant system; do not use prefixes such as money: or pokemon:. Use {player} in command actions; message: does not replace general interface placeholders.
skip: true creates a stage without claiming; it does not advance the level. Icon properties are not automatically copied to the delivered item. Align both tracks' levels if you want a column for every stage.
Multiple prizes
kit_nivel_10:
level: 10
skip: false
lore:
- '&b4 diamonds and 25 points'
item_custom:
id: 'minecraft:chest'
display: '&6Level 10 bundle'
action:
- 'give: minecraft:diamond amount:4'
- 'cmd: mbattlepass addpoints {player} 25'
- 'message: &aBundle received!'
If you get premium after reaching levels, you can claim already unlocked premium prizes during the valid claiming period. Premium does not charge money automatically: grant its permission through your store.
Test external commands before making rewards available. A partial delivery can mark the reward as claimed even if a command fails. Resetting the claim does not remove items already delivered. See Pokémon icons and prizes.