π Rewards
Rewards are granted when a player completes an advancement. Every reward type is optional and can be combined freely.
All Reward Types
rewards:
# Run commands (as console)
commands:
- "give %player% diamond 1"
- "say %player% completed an advancement!"
# Give money (requires Vault)
money: 100.0
# Give experience points
xp: 50
# Give items
items:
- material: DIAMOND
amount: 5
name: "&bBonus Diamonds"
lore:
- "&7Reward for completing"
- "&7an advancement!"
# Apply potion effects
effects:
- type: SPEED
duration: 200 # In ticks (200 = 10 seconds)
amplifier: 1 # 0 = Level I, 1 = Level II
# Play a sound
sound: ENTITY_PLAYER_LEVELUP
# Show a title
title: "&6&lCongratulations!"
subtitle: "&eAdvancement Complete!"
# Show in the action bar
actionbar: "&aNew reward received!"
# Show a boss bar
bossbar:
text: "&6Achievement Complete!"
color: GREEN # PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE
duration: 5 # SecondsReward Details
Commands
Money
Experience Points
Items
Effects
Sound
Title and Subtitle
ActionBar
BossBar
Per Advancement Toggles
Toggle Behavior
Value
Behavior
Example: Silent Advancement
Per-Advancement Progress Display
Available Placeholders
Placeholder
Description
Example: Marathon Runner with Custom Progress Display
Last updated
Was this helpful?
