[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

    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:
    Show Spoiler

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

    Changelog:
    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. You should link the right plugin :p
    I don't want to download WeatherControl here.
     
  3. Offline

    Ripper76

    ^^ Bad link
     
  4. Offline

    halvors

    Fixed.
     
  5. Offline

    dmcone

    Can you make it so that the money that they loose is given to the person that killed them?
     
  6. Offline

    halvors

    That's more like PVPReward.
     
  7. Offline

    dmcone

    oh ok, didnt know there was already a plugin for it. Thanks.
     
  8. Offline

    Arcosanti

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

    halvors

    What do you mean? Please explain :)
     
  10. Offline

    Indyhouse

    "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??
     
  11. Offline

    halvors

    Actually just 0.6
     
  12. Offline

    Arcosanti

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

    JoeJJohnsonII

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

    halvors

    Just the money the player has on him.
     
  15. Offline

    JoeJJohnsonII

    Awesome, this will go a long ways to helping me out. Thanks for the great plugin.
     
  16. Offline

    Nitnelave

    Whenever someone who is supposed to lose money dies, I get this :
    error (open)
    [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?
     
  17. Offline

    halvors

    Will look into it...
     
  18. Offline

    Nitnelave

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

    halvors

    Ok. Based on the error seems to be somthing in CraftBukkit or permissions... I know Permissions is buggy.
     
  20. Offline

    Dragonntiger

    If i use percentage, what do i put in value its 1.0 right now
     
  21. Offline

    kahlilnc

    So the killer gets the money?
     
  22. Offline

    Mentioum

    craftbukkit #819 please? :) #818 obviously would be great too :) - very useful plugin. Thank you for maintaining it!
     
  23. Offline

    halvors

    iConomyDeath 0.7 released.
     
  24. Offline

    defiant810

    So... is this compatible with iConomy 5.0.1?
     
  25. Offline

    Nitnelave

    from the first post. Yes, it does. I think it's using Register (correct me if I'm wrong), so it supports both ico4 & 5
     
  26. Offline

    erickingsr

    Hi,

    Very cool plugin. However, I cannot get it to configure to take 'set' amounts of money from players. No matter which value I select in the config file for UsePercentage: True/False....... it still charges only 10%.

    I want to set it to a flat-rate.

    Thanks,
    Eric
     
  27. Offline

    krnboykevin

    This plugin is amazing but I seem to be having a problem with world traveling.
    Whenever a user travels to/from the nether they get money taken from them as if they died.
    is there a setting to change this?
     
  28. Offline

    VeryInsane

    Great plugin! :)
     
  29. Offline

    Keinichn

    Here's a nice suggestion for this plugin: How about allowing the option where if we set the charge to a flat rate, as long as the player has the money to cover their death, they don't lose their items. However, if they have less than that amount, the lose all their items like a regular death.
     
  30. Offline

    embty

    does this work with 860 ?:)
     
  31. Offline

    Nitnelave

    How about you test it and tell us?
     

Share This Page