hello
i have an idea that you get coins for your advancments but the problem is that there are like 200 of them so my though was hey lets just say
const { player, advancement} = event;
let advType = advancement.id().?
switch(advType) {
case 'common': player.give('6x thermal:copper_coin');
case 'uncommon': player.give('5x thermal:iron_coin');
case 'rare': player.give('4x thermal:gold_coin');
}
but i dont know how to get the advancment type