[FUN/ECON] iConomyDeath v0.7 - Take money from players when they die [818]

Discussion in 'Inactive/Unsupported Plugins' started by halvors, Mar 27, 2011.

  1. Offline


    Version: 0.7

    License: GPLv3

    iConomyDeath give you the ability to take money from players then they die. You can take a specified amount or by percentage.

    Source Code

    IMPORTANT: You'll have to delete the configuration files and let iConomyDeath regenerate it, or update it manually. This is because of changes, if you not do this, you may get a lot of issues.

    • Take a percentage/amount of money from players when they die.
    • Permissions support.
    • Die :D
    1. Copy the iConomyDeath.jar file into your plugins folder.
    2. Restart/reload server.
    3. If you want to, edit the config.yml file in plugins/iConomyDeath and the world configuration files in the worlds folder.
    Permissions nodes:
    Show Spoiler

    iConomyDeath.* - Give access to anything.
    iConomyDeath.use - Needed for use iConomyDeath

    Version 0.7
    • Compatible with CraftBukkit 818.
    • Support all major economy plugins.
    Show Spoiler

    Version 0.6.1
    • Compatible with CraftBukkit 766.
    Version 0.6
    • Compatible with CraftBukkit 740.
    • Compatible with iConomy 5.0.
    Version 0.5
    • Added new ConfigManager.
    • Cleanup.
    Version 0.4.2
    • Added support for percentage, and use this by default.
    Version 0.4.1
    • Compatible with Craftbukkit #617.
    Version 0.4
    • Added support for custom messages in config file.
    Version 0.3
    • Fixed issue with config.yml file.
    • Cleanup in ingame messages and code.
    Version 0.2
    • Added configuration file.
    • Cleanup.
    Version 0.1
    • Initial release.
  2. Offline


    Thanks, works perfectly ;)
  3. Offline


    Let me know if you have more wishes :)
  4. Offline


    How about, when the player doesnt have enouth money, he respawn somewhere elese. (adjustable destination).
    Allowing to make a "limbo" or "heaven" where they have to sit a while before being resurected.
  5. Offline


    Would be buggy to respawn player another place, if we say 200 block north. Then you'll sometime be stuck inside a mountain or something. So not think what's a good idea...

    Maybe we should add a delay for respawn?

    Someone want support for PvP, so if player die because of PvP, killer get the money?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 13, 2016
  6. I was really looking forward this, thanks ! You should add setting about the nature of the death (drowned, ignited, lava and especialy : Killed by another player). Because i don't want someone to loose wealth when they're killed by someone else !

    Also, you should add zone. Like if someone enter a specified zone and die, he doesn't loose any money (like gaming zone when you should die a lot). You could use WorldGuard regions !

    Those two things would make this plugin really awesome !
  7. Offline


    Thinking about rename it to Death, and give that functions. Will look at the death reasoon option :)
  8. This plugin would be really useful to prevent player to suicide to reset they're health bar ! But players should not be abble to chain kill other so they loose all their money :/
  9. Offline


    You can choose if percent of money to withdraw from player on death. But going to improve it :)
  10. yeah i know, but with no death reason support, mean players coul kill other so they loose money :/ This should be in a config file so we can disable money lost on pvp kills.
  11. Offline


    That can be implemented :)
  12. Thanks x) Keep up your good work ! I'm really looking forward this awesome plugin x)
  13. Offline


    Thanks :)
  14. Offline


    CB 617, iConomy 4.56, this v 0.4.2

    22:15:34 [SEVERE] null loading iConomyDeath v0.4.2 (Is it up to date?)
            at com.halvors.iConomyDeath.Config.loadConfig(Config.java:63)
            at com.halvors.iConomyDeath.Config.getConfig(Config.java:51)
            at com.halvors.iConomyDeath.iConomyDeath.onEnable(iConomyDeath.java:72)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
  15. Offline


    You mean iConomy 4.6.5?

    Try delete the iConomyDeath folder in plugins and restart/reload server :)
  16. Offline


  17. Offline


    iConomyDeath 0.5 released.
  18. Offline


    Great plugin. I really like this and I wanted something to encourage people to buy food instead of just dying.

    Could you add the following features please :D
    1. Ability to format message text - use custom colours for example. Currently defaults green and I would like it to match the colours of all my other server messages.
    2. Add an option to round the amount of money lost to the nearest whole number.
  19. Offline


    Will look at it :) Good you enjoy the plugin ;)
  20. Offline


    This is an awesome plugin and I appreciate your hard work.

    Is it possible to use this plugin to allow a player to keep their items if they can pay the "death penalty" but drop all of their items if they run out of money when they die?

    If that's possible I think it would be a great addition
  21. Offline


    Yeah, was thinking about give more general Death support, so maybe rename the plugin to just "Death" ?

    What do you think?
  22. Offline


    I personally think that would be cool because I've been looking for a plugin that has that feature, and this one is pretty close :)
  23. Offline


    Love your plugin:

    I have a request however for a feature that I think you will agree with me is useful.

    We love running spleef on our server but once we added iConomyDeath to our server no one wants to play because they lose monies when they die.

    Could you please add a command (suggestion: /ignoredeath) that would have a permissions node attached to it that would allow a user to skip one death with out losing cubes.

    Thank you.
  24. iConomy 5.0 is released and your plugin throws this message after loading every other plugin because your plugin tries it again and again to hook into iConomy:rolleyes::
    2011-05-02 17:29:15 [SEVERE] Could not pass event PLUGIN_ENABLE to iConomyDeath
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at com.halvors.iConomyDeath.iConomyDeathServerListener.onPluginEnable(iConomyDeathServerListener.java:44)
        at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:408)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:633)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Could you please update your plugin??:p
  25. Offline


    Update for 740 or this plugin is death?
  26. Offline


    Is it not working with CraftBukkit 740?

    Will look into it tomorrow :)

    iConomyDeath 0.6 released.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 13, 2016
  27. Offline


    Thx guy, nice job.
  28. Offline


    If you want more, just tell me :)
  29. Offline


    Very interested in the plugin, thanks for your hard work! One question I hope you can answer:

    iConomy 5.0 supports bank accounts which I currently have disabled and have not messed with as of yet, but I am guessing you can deposit money to gain interest and protect your funds just like IRL. My question to you is does your plugin just subtract from the money the player has on them or does it subtract from their bank account as well?

    I remember in Diablo 2 before going on a quest I would deposit all of my gold in a chest so that if I died I would not lose as much. Just curious if your plugin has the same functionality.
    JoeJJohnsonII likes this.
  30. Offline


    Nice work :)
    But the plugin doesn't work for me, in 766 ..

    Can you update for the new version ?

    Thx ;)
  31. Offline


    Will do.

    iConomyDeath 0.6.1 released.

    It's now updated :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 13, 2016

Share This Page