Hello everyone! Recently, I started a server for me and my friends to play on. I decided I wanted a player to lose half of their money on death. I'm using Essentials, Vault, and KillerMoney. I know the command in-game is /eco take (player name) 50%. But I don't know how to make it do this every time a player dies. Do I have to edit the config file, use command blocks, or what? I don't care which way you suggest, so I'll be taking anything.
TL;DR: I am using Essentials, KillerMoney, and Vault. I want a way for players to lose 50% of money on death.
Thanks in advance!