Filled MoneyDeathDrop

Discussion in 'Plugin Requests' started by madtomic, Mar 27, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    madtomic

    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'
     
  2. Offline

    pie_flavor

    Last edited: Mar 27, 2015
  3. Offline

    madtomic

    Awesome! I will do some testing later when I get home. Thanks
     
  4. Offline

    madtomic

    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
     
    Last edited: Mar 30, 2015
  5. Offline

    madtomic

    I just look at the source. It has no codes at all. This is not working still.

    Can you add the codes for this? :)
     
    Last edited by a moderator: Apr 8, 2015
  6. Offline

    pie_flavor

    @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?
     
  7. Offline

    madtomic

    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.
     
  8. Offline

    madtomic

Thread Status:
Not open for further replies.

Share This Page