[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

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    iConomyDeath
    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.

    Download
    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.

    Features:
    • Take a percentage/amount of money from players when they die.
    • Permissions support.
    Usage:
    • Die :D
    Install:
    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:

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

    Changelog:
    Version 0.7
    • Compatible with CraftBukkit 818.
    • Support all major economy plugins.

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

    Phanku

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi
    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.
  4. Offline

    Keyle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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::
    Code:
    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
    thx
  5. Offline

    Eversan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Update for 740 or this plugin is death?
  6. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it not working with CraftBukkit 740?

    Will look into it tomorrow :)
  7. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    iConomyDeath 0.6 released.
  8. Offline

    Eversan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thx guy, nice job.
  9. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    If you want more, just tell me :)
  10. Offline

    Danthok

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  11. Offline

    Klehmarsipu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi!
    Nice work :)
    But the plugin doesn't work for me, in 766 ..

    Can you update for the new version ?

    Thx ;)
  12. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  13. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    iConomyDeath 0.6.1 released.
  14. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  15. Offline

    Keyle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You should link the right plugin :p
    I don't want to download WeatherControl here.
  16. Offline

    Ripper76

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ^^ Bad link
  17. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  18. Offline

    dmcone

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you make it so that the money that they loose is given to the person that killed them?
  19. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That's more like PVPReward.
  20. Offline

    dmcone

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    oh ok, didnt know there was already a plugin for it. Thanks.
  21. Offline

    Arcosanti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Love the mod. Would it be possible to set/reload the death cost without bouncing the server? I'd find it useful to be able to adjust the cost on the fly to support server events.
  22. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What do you mean? Please explain :)
  23. Offline

    Indyhouse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    "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."

    Does this apply to every update??
  24. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Actually just 0.6
  25. Offline

    Arcosanti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Basically, I'd like the ability to issue a command (perhaps: /icdeath -reload) which would reread the configuration file for changes. I'd like to have a standard death penalty, but be able to increase/decrease it without restarting the entire server.

    We occasionally have PvP and PvE events where I'd like to temporarily increase the cost of dying to encourage players to stay alive, and doing this without bouncing the server would be useful.

    I also realize I may be the only person in the world that would find this useful :rolleyes:
    JoeJJohnsonII likes this.
  26. Offline

    JoeJJohnsonII

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm curious about this as well. I'm trying to encourage people to start using the bank system as part of a RPing setup and this would really help out. Can anyone verify this?
  27. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Just the money the player has on him.
  28. Offline

    JoeJJohnsonII

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Awesome, this will go a long ways to helping me out. Thanks for the great plugin.
  29. Offline

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Whenever someone who is supposed to lose money dies, I get this :
    [SEVERE] Could not pass event PLAYER_RESPAWN to iConomyDeath
    java.lang.IllegalArgumentException: Illegal group reference
    at java.util.regex.Matcher.appendReplacement(Matcher.java:725)
    at java.util.regex.Matcher.replaceAll(Matcher.java:823)
    at java.lang.String.replaceAll(String.java:2201)
    at com.halvors.iConomyDeath.iConomyDeathPlayerListener.onPlayerRespawn(iConomyDeathPlayerListener.java:55)
    at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.java:257)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:216)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:854)
    at net.minecraft.server.Packet9Respawn.a(SourceFile:10)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    Running the latest of iCoDeath (0.6.1), iCo 5, and CB803.
    Any idea?
  30. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Will look into it...
  31. Offline

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Before you think your head off, I'll have to check my permissions and such, because i have a similar problem with another plugin. Illegal group reference might be referring to Permissions, but I have several other plugins using permissions and they work fine... I'll have to check, but that will not be before a few days.
  32. Offline

    halvors

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ok. Based on the error seems to be somthing in CraftBukkit or permissions... I know Permissions is buggy.

Share This Page