Plugin name: MoneyDeathDrop What I need: I need a plugin that will drop a percent of player's total holding or money. Requirement: Hook to Vault, supports economy plugin such as iConomy. No commands or permissions needed. Just a config.yml with the following toggle options for different death penalty. Please add any death events that I didn't think of. DeathCause: Mob-Attack: true Message: &cA mob killed you. You lost some <money>. Percent: '15' Player-Attack: true Message: &cAnother player killed you. You lost some <money>. Percent: '15' Block-Explosion: true Message: &cYou died from explosion. You lost some <money>. Percent: '15' Block-Contact: true Message: &cYou died from anvil drop. You lost some <money>. Percent: '15' Drowning: true Message: &cYou died from drowning. You lost some <money>. Percent: '15' Falling: true Message: &cYou died from falling. You lost some <money>. Percent: '15' Fire: true Message: &cYou died from fire. You lost some <money>. Percent: '15' Suffocation: true Message: &cYou died from suffocation. You lost some <money>. Percent: '15'
I did some basic tests and the money are not taken from player's money. I'll double check again. Update: Can you please check to see if the balance are updated on death events. Thanks
I just look at the source. It has no codes at all. This is not working still. Can you add the codes for this?
@madtomic You probably opened it with a decompiler. In WinRAR you can clearly see the class file, but it's Java 8 so no decompiler works with it yet. Are there console errors?
No errors, that's why I can't figure out why it don't take money away when player die to any of the conditions in config. That's why I was asking if this was working yet or have class files.