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.
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.
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 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.
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)
Onlineids The plugin is great but, can you make it absorption 1 for 2 minutes rather than absorption 2 for 1 minutes?
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.
[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>
Bukkit starts counting at 0, so (PotionEffectType.ABSORPTION, 1200, 1) Is actually a level 2 absoption. Level 1 would be (PotionEffectType.ABSOPTION, 1200, 0)