Golden Apples

Discussion in 'Archived: Plugin Requests' started by Bronze_Box, May 8, 2014.

  1. Offline

    Bronze_Box

    Plugin category: Not sure

    Suggested name: Golden Apple Deaths
    What I want: I'd like a plugin that gives a player the effects of a golden apple (Absorbtion 1 for 2 minutes and regeneration 2 for 5 seconds) every single time that a player kills a player. I'd like the killer to get the effects.

    Ideas for commands: /Gapple toggle
    Toggles the effects for the entire server.

    Ideas for permissions: goldenappledeath.toggle

    When I'd like it by: As soon as possible.
     
  2. Offline

    tooncool64

    Hmmm,
    I'll look into this,
    But if anyone wants to take over, feel free!

    Sorry, a little too advanced for me right now

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

    Crud41

    I currently don't have the time for this plugin, But to any devs looking to fill; I would recommend getting killed buffs and adding them to killer. (This project is pretty hard)
     
  4. Offline

    Onlineids

    [quote uid=90950436 name="Bronze_Box" post=2475531]Plugin category: Not sure

    Suggested name: Golden Apple Deaths
    What I want: I'd like a plugin that gives a player the effects of a golden apple (Absorbtion 1 for 2 minutes and regeneration 2 for 5 seconds) every single time that a player kills a player. I'd like the killer to get the effects.

    Ideas for commands: /Gapple toggle
    Toggles the effects for the entire server.

    Ideas for permissions: goldenappledeath.toggle

    When I'd like it by: As soon as possible.[/quote]

    Download: <Edit by Moderator: Redacted mediafire url>
    Source: http://hastebin.com/oqibifuham.avrasm
    Commands: /gapple toggle
    Permission to do that^: gapple.toggle

    [quote uid=90950975 name="Crud41" post=2475565]I currently don't have the time for this plugin, But to any devs looking to fill; I would recommend getting killed buffs and adding them to killer. (This project is pretty hard)[/quote]

    Not really ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 2, 2016
    Mathias Eklund likes this.
  5. Offline

    Crud41

    Onlineids
    I misunderstood the project....I thought he wanted all buffs off of the enemy onto the killer... That is pretty annoying to code.
    (This is why I don't skim read)
     
  6. Offline

    Bronze_Box

    Onlineids
    The plugin is great but, can you make it absorption 1 for 2 minutes rather than absorption 2 for 1 minutes?
     
  7. Offline

    Onlineids

    No prob

    It already is that: (PotionEffectType.ABSORPTION, 1200, 1)
    1200 is 2 minutes in ticks 1 is level 1

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

    Bronze_Box

    It says that its absorption 2 ingame.
     
  9. Offline

    Onlineids

    Then it must not go below 2, because mine is the lowest possible level
     
  10. Offline

    Bronze_Box

    Also, it is only for 1 minute. and not 2.
     
  11. Online

    timtower Administrator Administrator Moderator

    Doesn't bukkit starts counting at 0?
     
  12. Offline

    Onlineids

    [quote uid=87695 name="timtower" post=2477295]Doesn't bukkit starts counting at 0?[/quote]

    Dont judge me
    Bronze_Box <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 2, 2016
  13. Offline

    Bronze_Box

    Thanks man. xD
     
  14. Online

    timtower Administrator Administrator Moderator

    Judging is overrated anyways :p
    And I made that same mistake once XD
     
  15. Offline

    Onlineids

    Once, I think this is my 44th time, but hey whose counting.
     
    timtower likes this.
  16. Offline

    Crud41


    Onlineids
    I am...
    [​IMG]
    (not really)
     
  17. Bukkit starts counting at 0, so
    (PotionEffectType.ABSORPTION, 1200, 1)
    Is actually a level 2 absoption. Level 1 would be (PotionEffectType.ABSOPTION, 1200, 0)
     
  18. Offline

    Onlineids

    Yea umm scroll up....... We kind of got that
     
    timtower likes this.

  19. Just explaining with a little more detail ;)
     

Share This Page