[=] made the stats message to only show active challenges [+] ability to make custom named challenges add the below to you config
#custom challenge area
events:
consumeevent:
- consume
blockbreakevent:
- blockbreak
- obsidian
dropitemevent:
- dropitem
fistevent:
- fish
deathevent:
- kill
furnaceevent:
- forge
craftingevent:
- craft
damageevent:
- damage
#also add in the main challenge list to enable
list:
- 'obsidian'
obsidian:
items:
- 'OBSIDIAN'
reward:
- 'eco give %player% 10'
min: 5
max: 10
message:
challenge:
- ' '
- ' &6&lRandomChallenge'
- ' '
- '&2&l[!] First Player to &cBreak &2&l%num% obsidian will win!!'
- ' '
winner: '&2&l%player% won the &cObsidian Rush&2&l challenge!!'
bossbar: '&2&l[!] First Player to &cBreak &2&l%num% obsidian will win!!'
none: '&c&lNo one won the &cObsidian Rush&2&l challenge!!'
[+] New challenge called damage is added
add the below section and damage name in the list to enable
damage:
items:
- 'FALL'
- 'BLOCK_EXPLOSION'
- 'CONTACT'
- 'CRAMMING'
- 'DRAGON_BREATH'
- 'DROWNING'
- 'ENTITY_ATTACK'
- 'ENTITY_EXPLOSION'
- 'FALLING_BLOCK'
- 'FIRE'
- 'FIRE_TICK'
- 'FLY_INTO_WALL'
- 'FREEZE'
- 'HOT_FLOOR'
- 'LAVA'
- 'LIGHTNING'
- 'MAGIC'
- 'POISON'
- 'PROJECTILE'
- 'SONIC_BOOM'
- 'STARVATION'
- 'SUFFOCATION'
- 'THORNS'
- 'WITHER'
- 'VOID'
reward:
- 'eco give %player% 100'
min: 1
max: 2
message:
challenge:
- ' '
- ' &6&lRandomChallenge'
- ' '
- '&2&l[!] First Player to &cTake Damage &2&l%num% time from %item% will win!!'
- ' '
winner: '&2&l%player% won the &cDamage&2&l challenge!!'
bossbar: '&2&l[!] First Player to &cTake Damage &2&l%num% time from %item% will win!!'
none: '&c&lNo one won the &cDamage&2&l challenge!!'