🪙Rewards
Reward players for breaking
rewards:
top:
type: top
place: 1
commands:
- "10;give %player% diamond"
- "100;give %player% iron_ingot"
top_range:
type: top
place: "1-3"
commands:
- "10;give %player% diamond"
- "100;give %player% iron_ingot"
break_interval:
type: break
interval: 5
commands:
- "100;give %player% iron_nugget"
break_condition:
type: break
condition: less than 5
commands:
- "100;give %player% iron_nugget"
break_last:
type: break
interval: last
commands:
- "100;give %player% iron_nugget"
break_count:
type: break_count
from: 10
to: 50
commands:
- "100;give %player% iron_nugget %breaks%"
Reward commands
commands:
- "10;give %player% diamond"
- "100;give %player% iron_ingot"
You can define more command to a reward, but only one will be executed based on random selection. You must add chance to your commands by using chance;command format. If the number is greater the command is more common.
Command modes
Random command
top:
type: top
place: 1
mode: random
commands:
- "10;give %player% diamond"
- "100;give %player% iron_ingot"
In this mode, the player will be given only one reward/command from this list based on chance (before ;)
All commands
top:
type: top
place: 1
mode: all
commands:
- "give %player% diamond"
- "give %player% iron_ingot"
In this mode, the player will be given all of the rewards/command from this list
Top rewards
Single place
top:
type: top
place: 1
commands:
- "10;give %player% diamond"
- "100;give %player% iron_ingot"
This reward will be given to player with most breaks. He will have a greater chance to get iron ingot and smaller chance to get a diamond.
Place range
top_range:
type: top
place: "1-3"
commands:
- "10;give %player% diamond"
- "100;give %player% iron_ingot"
This reward will be given to players in top 3. They will have a greater chance to get iron ingot and smaller chance to get a diamond.
Break rewards
Interval rewards
break_interval:
type: break
interval: 5
commands:
- "100;give %player% iron_nugget"
This reward will be given to player each 5 breaks.
Condition
break_condition:
type: break
condition: less than 5
commands:
- "100;give %player% iron_nugget"
This reward wil be given to player that has less than 5 breaks every time they break the block.
Last break
break_last:
type: break
condition: last
commands:
- "100;give %player% iron_nugget"
This reward will be given to player that will break the block when is reaches 0 health.
Break count
break_count:
type: break_count
from: 10
to: 50
commands:
- "100;give %player% iron_nugget %breaks%"
This reward will be given to player that has broken the block from 10 to 50 times. He will receive as many iron nuggets as his break count (times he has broken the block).
Last updated
Was this helpful?