So I want a variable that saves the amount of mined blocks for each player, I already know how to do that but I want the player to be assigned a rank using LuckPerms as soon as they hit a certain amount of blocks mined in that variable like for an example:
1,000 blocks mined = player gets Iron Miner rank
1,000 blocks mined = player gets Iron Miner rank