Plugin category: Pvp,poisons,effects Suggested name: ItemPoison What I want: I would like to have a plugin that allows me to enchant certain items with an effect (i.e adding a poison effect to someone at a random chance when you hit them, and the poison stays for 5 seconds). I have seen these kind of plugins in Mc-kits and many other servers like mc0pvp. I am starting my own server so I would really like to have these poition effect given to a weapon. Ideas for commands: It doesn't matter to me as long as it is fairly simple to use Ideas for permissions: as long as only ops can use it When I'd like it by: anytime someone can get it set up I would also have it so that if you hit them again, the effect doesn't leave EDIT by Moderator: merged posts, please use the edit button instead of double posting.
And what enchantments would you like to have on it? And which potion effects? Please make a list, because I could write a simple plugin, but I am not gonna make a very advanced plugin with a fully configurable config file, I'm sorry.
Like poison effect a heal effect also slowness if u can All I want to do is be able to add the effect on the sword not make a permanent sword if you had time could you make it configurable? because it would be a lot more helpful. I'm not forcing you, it would be nice though EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Quick implementation of configurable items with potion effect enchantments that are given through the command (which is set to ops only be default) /pitems give <item name> I provided 3 example items using the three potion effects you described as well The .jar can be obtained here I quickly made/tested this so let me know if something is wrong. Note, this requires my EnchantmentAPI mod though, so you'll need to download that too. That can be found here
I'm not sure if you can add percent chances, but try http://dev.bukkit.org/server-mods/otherdrops . A tutorial for the potion effects is here:
As ninjakiwi240 mentioned OtherDrops can do this (yes, can add percentage chances) - here's an example config (would be placed at the bottom of otherdrops-drops.yml): PHP: PLAYER: - action: HIT tool: SLIME_BALL~&6Poison ball potioneffect.victim: [POISON@100@3] chance: 10% message.attacker: "Optional message to attacker." message.victim: "Optional message to victim." - action: HIT tool: SLIME_BALL~&Blindness ball potioneffect.victim: [BLINDNESS@100@3] chance: 10% message.attacker: "Optional message to attacker." message.victim: "Optional message to victim." # etc... Potion effects are <type>@<duraton in ticks>@<level> (100 ticks = 5 secs) so you can modify them to your preference. Tool displayname includes a color code (&6) to stop players creating it with an anvil rename. You can use any color you want (or even &r to keep a code but use no color). You can create the item with any lore renaming plugin (eg. lores), drop it on the ground with "/odd SLIME_BALL~&6Poison ball" or configure them as a rare drop from blocks or mobs. Alternatively your kit plugin hopefully allows adding items with lore names.
thanks but, still the potion effect that was given to me gives my server a bunch of errors, which lags my server a lot.
i sent the error on a notepad via skype :l. I don't know what the problem is. The only thing that i can think of is maybe it clashes with another plugin but i can't really understand how i can search through all of my plugins and discover the error