I am requesting a plugin that would allow a user to have a potion effect only when they have their armor equipped. I.E., a player is invisible, only when they are wearing their golden boots (this is for kitpvp). I would need it to hook into the king kits plugin so that when they select that kit, it gives them the potion effect, but when they remove the armor, it takes the effect away.
Hmm... This sounds easy. I might be able to do this. I'm going to need more info, though. Either I add a config, or you will have to tell me what armor goes to what potion effects. drkakaq Done with version 1.0. This one makes all of the gold (*ahem* budder) armor have special potion effects. The helmet has water breathing, the chestplate has extra hearts, the leggings have jump boost, and the boots have speed. Download: http://scarabcoder.pancakeapps.com/butterpotion.jar EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Could you add a config file so that I could use it in future kit updates, and would it be possible to make it per world as well? Thanks for version one so fast! My server is currently running 1.7.2 if that makes any difference.
Worlds Enabed: - world Armor: - Armor Type: [Armor Name/ID] - Potion Type: [Potion Effect] - Potion Amplifier: [Potency/Amplifier] - Lore Check: [Check for Specific Lore True/False] - What lore should we check for: - Infinite Potion Time: [True/False] - If False, how long:
drkakaq Sorry about the plugin jar not working. The link was wrong, lemme give you a corrected one (this is the one with the GOLD armor potions, and no, I am not a Sky fan. I just think Budder is cool). https://dl.dropboxusercontent.com/s...AFqx5uX13j-hTPzo9u7OjBRZ3qVccnBr2aKr3LgYLq_xA And sorry, I won't have enough time to finish this. Maybe someone else can help, maybe timtower? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
scarabcoder That'a alright. I just really need this plugin to be more configurable so I can use it in future updates. I do appreciate the effort.
scarabcoder if you give me the source, I can do the configuration. (I should ) In the last time I have learned much about configurations etc.
Can you do this plugin it's potion effects on swords and armor. I have a example config? http://forums.bukkit.org/threads/sword-damage-potion-effect.214215/
xxCrazySkullxx That does sound easy, in a way. Do you want it to work like enchantments, with lores? And I may still continue this...
Umm. I don't really know what you mean but, I want it if they have the sword and premission node to use the effect they can use it.
So sorry for not working on this. I have been doing Minecraft mods.... Someone else might have to do this. Sorry
ShearsSheep I don't have the code anymore, it got deleted However, here is the basic outline: Player click inventory event: wait one tick (it won't work if you don't), then check if the player is wearing, for example, diamond boots. If he is, add speed for infinity. If he isn't, remove speed effects. Of course, if the player drinks a potion of speed, then clicks in his inventory, it will remove the speed.
ShearsSheep If you get this plugin working, would you mind posting a link for a download on this thread?