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

    flozza83

    Hi
    I like this plugin!
    I have just a request . Can you make the messages can be displayed with color (&a,&2 etc...)
    Please :'( ?
     
  3. Offline

    PatrickFreed

    Yep! Coming in the next release! :)
     
  4. Offline

    flozza83

    Superb! Thanks you!
     
  5. Offline

    spunkiie

    working like a charm
     
  6. Offline

    PatrickFreed

    Awesome :)
     
  7. Offline

    Tadas

    Please mini guide i cant get work :/
     
  8. Offline

    PatrickFreed

    What isnt working?
     
  9. Offline

    Tadas

    I dont get money when i kill another player
     
  10. Offline

    PatrickFreed

    Do they have the permissions node 'EconomyPunga.use' or are they Op?
     
  11. Offline

    Tadas

    Idk how use permissions can you make a mini tutorial for me plis :)
     
  12. Offline

    m5k

    I see this plugin is the one that I would need for my rpg server. However, I'd like to request some features.
    Config to set which groups reward money and which groups are able to receive the rewards (could even be done with perms nodes). I don't want people "stealing" money on kills but rather give rewards to only one group.
     
  13. Offline

    PatrickFreed

    So more of the server awarding money to people for killing others type of thing?
    Go to this page, it should have everything you need. :)
     
  14. Offline

    embty

    Getting this error which probably causes server restarts ;'(
    Code:
    2011-08-20 01:12:00 [SEVERE] Could not pass event ENTITY_DEATH to EconomyPunga
    java.lang.NullPointerException
        at me.patrickfreed.iConomyPunga.iConomyPungaEntityListener.onEntityDeath(iConomyPungaEntityListener.java:80)
        at org.bukkit.plugin.java.JavaPluginLoader$60.execute(JavaPluginLoader.java:663)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:142)
        at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:42)
        at com.earth2me.essentials.commands.Commandkill.run(Commandkill.java:27)
        at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:88)
        at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:83)
        at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:442)
        at com.earth2me.essentials.Essentials.onCommand(Essentials.java:353)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        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:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    bukkit 1060
     
  15. Offline

    PatrickFreed

    Gah, 1060 must've broken it. Give me a bit, I'll upload a fix :)
     
  16. Offline

    PatrickFreed

    @embty
    Updated to 1.2, works with latest RB.
     
  17. Offline

    embty

    Thanks :D
     
  18. Offline

    XDeadKey

    error :/ using the new bukkit perms. I added permissions to all the users too.
    Code:
    04:30:46 [SEVERE] Could not pass event PLUGIN_ENABLE to EconomyPunga
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at com.nijikokun.register.payment.methods.iCo4.isCompatible(iCo4.java:59)
            at com.nijikokun.register.payment.Methods.createMethod(Methods.java:62)
            at com.nijikokun.register.payment.Methods.setMethod(Methods.java:103)
            at me.patrickfreed.iConomyPunga.eConomyPungaPluginListener.onPluginEnable(eConomyPungaPluginListener.java:43)
            at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:548)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:892)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  19. Offline

    PatrickFreed

    What CraftBukkit build and what plugins are you using?
     
  20. Offline

    XDeadKey

    I'm using 1060; World Guard, World Edit, TPacks, LogBlocks, PermissionsBukkit,mChat, AdminCMD, Minebackup, BorderGuard, No Cheat, iConomy 6
     
  21. Offline

    PatrickFreed

    Oh, I didn't know iConomy 6 was out, that's why its breaking. Let me check if Register supports it yet, if not, you'll either have to downgrade or wait for the official release.
     
  22. Offline

    XDeadKey

    well its a development build looooool. I guess I'll look into possibly downgrading
     
  23. Offline

    LlmDl

    @PatrickFreed
    Hi, love the plugin but recently I had a couple users say they were losing money to players if they died from a fall or from lava, not PVP deaths.
    It took a screenshot before I gave it any credit. This example show 0.01 but that is because the player in question doesn't have any money. Others have said they've lost the standard 3% I have set in the config.

    There's no message in the log except the heroic death fall message. Hopefully you can track this one down as it may be happening 3-4 times a day.
     
  24. Offline

    PatrickFreed

    I think I know why, I'll fix it when I can get to my laptop :)
     
  25. Offline

    flozza83

    Hello !

    CB1060

    [​IMG]
     
  26. Offline

    PatrickFreed

    @flozza83 What CB build? What economypunga version?what economy plugin?
     
  27. Offline

    flozza83

    13:14:24 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)

    iConomy 5.01

    EconomyPunga version 1.2 (link in this first post)

    Thats not a grave error. But just dont work :/ Cool plugin patrick thanks for your support
     
  28. Offline

    PatrickFreed

    Should be fixed now. (1.2.1)
    Also should be fixed now. (1.2.1) :)
     
    LlmDl likes this.
  29. Offline

    T4L_Goose

    I'm having the same problem with the money being payed out wrong and I'm on the most recent version.
     
  30. Offline

    LlmDl

    I'll second that. It might not be happening as often though. Falls and lava have been sighted.
     
  31. Offline

    PatrickFreed

    Okay, let me do some testing.

    Also, check out the page on the bukkitdev thing.

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

Share This Page