on death:
if attacker is player:
if victim is player:
add 100 to attacker's balance
#this is for essentials eco, but better also use variables as player's balance
add 100 to {balance::%attacker's uuid%}
its better to have if attacker is player and victim is player because then you wouldnt just die and give the money to the void if youre making a skymining server