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

    Shooty

    Can you add just an option for the same money was stolen to all the people (not a percentage)
     
  3. Offline

    PatrickFreed

    Coming up, I've been busy this week. Expect a release for that option in the next couple days. :D
     
  4. Offline

    Shooty

    Can't wait :)
     
  5. Offline

    embty

    Cant wait for register support too :)!
     
  6. Offline

    PatrickFreed

    @embty
    @Shooty
    Sorry guys, was busy upgrading my server hardware this week. This weekend Fermis and I will get an update out, and hopefully Register support too. :)
     
  7. Offline

    PatrickFreed

    @Shooty
    Updated! See changelog for details.
    Delete your old configs when you update :)
     
  8. Offline

    Shooty

    Oh yeah ! LET'S ROCKK

    Bug : Same message for the attacker and the deadly guy (death-msg appear)

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

    PatrickFreed

    So when you kill someone it says you lose x for getting killed by y?
     
  10. Offline

    Shooty

    yes
     
  11. Offline

    PatrickFreed

    Fixed :)
     
  12. Offline

    Shooty

    Thanks :) !

    attacker-msg is not take in account, i have the default message whereas i have modified it

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

    PatrickFreed

    Post your configs please
     
  14. Offline

    Albuca

    Awesome plugin Pat!
    Glad to see it was forked, and I really enjoy seeing it used on the server I frequent.
    Keep up the good work! (Are you helping out with the Orcport project by chance? lol)

    Cheers!
    -A
     
  15. Offline

    Shooty

    # iConomyPunga Config #
    # Make sure there is one space between the ':' and your config #
    #Select the Mode you want (static amount, static percentage, random amount, or random percentage)#
    mode: Static Amount
    static-amount: 2
    static-percentage: 1
    max-amount: 100
    min-amount: 1
    max-percentage: 15
    min-percentage: 1
    death-msg: '%a vous vole %n en vous tuant.'
    attacker-msg: 'Vous ammassez %n pour avoir tuer %d.'
     
  16. Offline

    PatrickFreed

    Fixed :)

    @embty
    @Taemera
    Register Support in 1.0! Check the changelog! :)

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

    embty

    Cool Ill test it right now :)
    The amount of money is taken but I chose random precent and it doesnt tell how much precent I lost. Also the killed "death"msg doesnt show up when I get killed.
    Edit: Im using "Random percentage" but its seems that the plugin is only using the static amount which is by defualt 15
    Code:
    #                      iConomyPunga Config                        #
    #  Make sure there is one space between the ':' and your config   #
    #Select the Mode you want (static amount, static percentage, random amount, or random percentage)#
    mode: Random precentage
    static-amount: 100
    static-percentage: 5
    max-amount: 1000000
    min-amount: 1
    max-percentage: 10
    min-percentage: 2
    death-msg: 'You lose %n for getting killed by %a.'
    attacker-msg: 'You gain %n for killing %d.'
    This is my config incase u need it.
     
  18. Offline

    PatrickFreed

    In the config you spelled 'percentage' wrong :p

    And yes, it does not display what you lost as a percentage, it displays it as an amount.
    I'll do some testing tomorrow, although I'm not sure why it is so buggy for you.

    Edit: Did some testing, everything worked for me. Are you sure you've given your players the necessary permissions and/or they are Op?

    What permissions are you using?
     
  19. Offline

    embty

    Ok the wrong spelling fixed it all x) My bad there thanks alot for this great plugin :) first one that actaully works :p
     
  20. Offline

    PatrickFreed

    I'm glad to hear that :)
     
  21. Offline

    dabram71

    Woo! I am going to try this!!!!
     
  22. Offline

    PatrickFreed

    Cool, let me know how it goes :)
     
  23. Offline

    Guenael

    Hello and what about iConomy5 ?
     
  24. Offline

    PatrickFreed

    Supports iConomy 4, iConomy 5, BOSEco, and EssentialsEco
     
  25. Code:
    2011-08-03 04:13:23 [INFO] Loaded Essentials build 2.5.6 by [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology]
    2011-08-03 04:13:23 [INFO] Loaded EssentialsChat build 2.5.6 by essentials team
    2011-08-03 04:13:23 [INFO] [VanishNoPickup] Essentials detected and hooked.
    2011-08-03 04:13:23 [INFO] [VanishNoPickup] 1.9.12+essentials2 enabled.
    2011-08-03 04:13:23 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    2011-08-03 04:13:23 [INFO] Loaded EssentialsProtect build 2.5.6 by essentials team
    2011-08-03 04:13:23 [INFO] [EconomyPunga] EconomyPunga v.1.1 enabled!
    2011-08-03 04:13:23 [INFO] [EconomyPunga] Config loaded successfully!
    2011-08-03 04:13:23 [INFO] [EconomyPunga] Successfully linked with Permissions v.3.1.6
    2011-08-03 04:13:23 [INFO] [EconomyPunga] Successfully linked with Essentials v.2.2
    As you can see, I have essentials build 2.5.6 and EconomyPunga links with v2.2 ???
    Nothing works, tried a few different config and op vs op to bypass any permissions issue. No errors. Its like its not even installed. Thank you.
     
  26. Offline

    PatrickFreed

    Can you post your config here?
     
  27. Offline

    PatrickFreed

    @embty
    The version thing is just a visual glitch with Register; it's still working with Essentials 2.5.4
    Also, I forgot to mention the Permissions node changed to EconomyPunga.use.
     
  28. Offline

    danielfdsilva

    Hi there,
    I've a suggestion for you. Can you add an option to take money from a player who dies from other causes? A percentage of it would be preferable.
    Now i'm using another plugin for that, but when you get killed by a player you lose money twice.
    This would be a cool extra feature for your awesome plugin :)
     
  29. Offline

    PatrickFreed

    Okay, I'll see what I can do. Expect an update soon because I'm going to add color support also. ;)
     
  30. Offline

    Wiernusz

    Oh wow this sounds great. Looks like I am going to wait untill I implement these two features :)
     
  31. Offline

    edo98

    3co support please?
     

Share This Page