Inactive [ECON/FUN] EconomyPunga - Killers steal money from their victims (EssentEco, iCo, BOSE)[1.2.5]

Discussion in 'Inactive/Unsupported Plugins' started by PatrickFreed, Jul 13, 2011.

  1. Offline

    PatrickFreed

    View this thread on BukkitDev!

    Version: v1.3.2 (4/7/12)

    This plugin gives the killer a part of their victims' money. This amount can be configured from the file config.yml, as well as messages for the murderer and his victim.

    Special thanks to:
    - FlingeR (original dev)
    - Fermis (for the halp)
    - krinsdeath (Tons of great tips)
    - Top_Cat (Github and testing :p)

    Features:
    • Fully customizable messages.
    • You can set the amount money extracted from the victim.
      • Static amount
      • Static percentage
      • Random amount
      • Random percentage
    • SuperPerms
    • Support for all major economies.
      • Requires Vault!
    Permissions Nodes:
    • EconomyPunga.use - It's necessary for victim and the killer.
    • EconomyPunga.victim - Necessary if you want to be able to give money
    • EconomyPunga.killer - Necessary if you want to be able to receive money
      • The killer and victim nodes are each half of the 'use' node. If you want the functionality of both, just give the use node.
    Older Changes (open)

    Version 1.2.3
    • Fixed the bug where it would take money from the killer if the victim had negative money.
    Version 1.2.2
    • Fixed the incorrect payment bug (actually this time! lol)
    Version 1.2.1
    • Fixed NPEs
    • Fixed bug where it would pay out incorrectly
    Version 1.2
    • Updated to work with RB 1060
    Version 1.1
    • Added SuperPerms support
    Version 1.0
    • Added support for BOSEconomy, EssentialsEco, and iCo4
    • Fixed a bunch of bugs (Before 1.0, but I thought I'd let you know)
    Version 0.6
    • Added generating config
    • Added new modes (Random amounts, random percentages, and static amounts)
    Version 0.5
    • Fixed the bug where /kill would case errors, possibly crashing the server
    • Fixed the bug where /kill would give money to the last person that killed them
    Version 0.4
    • Updated for Permissions 3 (still works with older ones by TheYeti)
    Version 0.3
    • Updated for 953
    • Updated for iConomy5
    Version 0.2
    • Fixed for CB-617.
    Version 0.1
    • Releasing.
     
    kahlilnc likes this.
  2. Offline

    milg8

    hey, I know it says in v1.2.1 was meant to fix money being paid out wrong was that fixing money being paid out via people dying in lava cause im running that version and people on my server are complaining of losing money to people that are dying in lava D:
     
  3. Offline

    PatrickFreed

    I promise a fix today, I spent all day yesterday fixing my computer. :)

    Edit: Fixed in 1.2.2!

    @milg8 @T4L_Goose @LlmDl

    Fixed in 1.2.2! (Just pinging you :p)

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

    milg8

    Thnx PatrickFreed :D

    will put this on now and test it out. Thanks again.
     
    PatrickFreed likes this.
  5. Offline

    GmK

    @PatrickFreed

    Uhm, my users get negative money when they kill someone sometimes, as in: the kill someone and lose money when they do so. Am using 1.2.2.
    Any idea why?
     
  6. Offline

    PatrickFreed

    Post your config, not sure why that would happen. Are you sure that the people they are killing have a positive amount of money?
     
  7. Offline

    GmK

    Nope, but even if they have a negative balance, your plugin should just take 0 from them in that case. The now defunct PvPReward plugin managed :) Would love to see this added/fixed.
     
  8. Offline

    PatrickFreed

    Can you post your config?
     
  9. Offline

    GmK

    Code:
    mode: Random Percentage
    static-amount: 15
    static-percentage: 1
    max-amount: 100
    min-amount: 1
    max-percentage: 15
    min-percentage: 1
    death-msg: 'You lose %n for getting killed by %a.'
    attacker-msg: 'You gain %n for killing %d.'
     
  10. Offline

    DoctorBoyd

    I'm really interested in this plugin. Is it working correctly right now or should I wait a bit.
    Thanks.
     
  11. Offline

    PatrickFreed

    Should be working about 90%, I just need to replicate @GmK 's bug today.

    @DoctorBoyd @GmK
    Fixed the negative money bug. :)

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

    DoctorBoyd

    Wow thanks!
     
    PatrickFreed likes this.
  13. Offline

    GrandRiver

    When I upgraded from 1.2.2 to 1.2.3 the version number didn't register any differently on the server, is the download link actually 1.2.3 or is the version number in the plugin itself not been changed correctly (or is it something else)??
     
  14. Offline

    PatrickFreed

    Probably because I forgot to change the version in the plugin.yml :p
     
  15. Offline

    GrandRiver

    Seems that using this with the latest version of Register (1.5) causes errors to be thrown in the log; lack of iConomy 6 compatability methinks. Update please? :)
     
  16. Offline

    PatrickFreed

    Yep, tomorrow hopefully. :)
     
    LlmDl likes this.
  17. Offline

    PatrickFreed

    Done!

    Updated again, just a code clean. Nothing that important.

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

    LlmDl

    No changing the thread title to 1185? Have you tested it against 1185?
     
  19. Offline

    PatrickFreed

    Sorry, forgot to do that. It works on 1185.
     
    LlmDl and kahlilnc like this.
  20. Offline

    EarlyLegend

    Would colour support in the death-msg and attacker-msg be possible? I would love to make this all cowourfuwl :D
     
  21. Offline

    PatrickFreed

    Will work on today/tomorrow/monday, its been on the to-do for a while.
     
    EarlyLegend and kahlilnc like this.
  22. Offline

    PatrickFreed

    EarlyLegend, LlmDl and kahlilnc like this.
  23. Offline

    EarlyLegend

  24. Offline

    BenniRennt

    Code:
    Error occurred while enabling EconomyPunga v1.2.5 (Is it up to date?): org/bukkit/configuration/file/YamlConfiguration
    java.lang.NoClassDefFoundError: org/bukkit/configuration/file/YamlConfiguration
        at me.patrickfreed.EconomyPunga.EconomyPunga.onEnable(EconomyPunga.java:34)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
        at org.bukkit.Bukkit.reload(Bukkit.java:173)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.configuration.file.YamlConfiguration
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
    I got this error... can anyone tell me why?
     
  25. Offline

    PatrickFreed

    You need to be using the latest RB
     
  26. Offline

    WhiteDragon

    does this work for RB 1337 ??
     
  27. Offline

    PatrickFreed

    I think so.
     
  28. Offline

    PatrickFreed

    Major update, I screwed up Register in 1.2.5 basically making it incompatible with every economy plugin...oops. Anyways, now you need to install the register plugin as well.
     
    LlmDl likes this.
  29. Offline

    PatrickFreed

    Changelog for 1.2.7
     
  30. Offline

    G4meM0ment

    Is it possible that the money transfer is blocked by the plugin DeadMansChes (only on bukkitdev)? Because since I use it something is going wrong with economypunga.. pls help me or do I have to ask the developer of DMC?
     
  31. Offline

    PatrickFreed

    No it was on my end, I updated the plugin. Check bukkitdev.
     

Share This Page