ToolAndFoodFX
ToolAndFoodFX
Ver. 1.7ToolAndFoodFX is a plugin that lets you add potion effects to tools/weapons, projectiles, and food, and armor. When you eat food with effects applied, you will get those effects. Hitting a mob with a weapon that has an effect will give those effects to the mob. Same goes for projectiles, like arrows, snowballs, etc. Throw a projectile at a mob to give them the effects. This plugin is really great for adventure maps, mini-games, and regular PvP.
Commands
/addeffect <effect type> <level> <duration> [-wear]Run this command when you are holding an item. The effect will get applied to the item. Adding -wear makes the effect wearable.
/deleffect <effect type|all> [-wear]
This command deletes the specified effect from the item you are holding. If the parameter is "all", then all effects will get deleted. Adding -wear only makes it delete wearable effects.
Permissions
toolandfoodfx.command.addeffect.*: this permission allows users to add all effects to items.toolandfoodfx.command.addeffect.[effect name]: this permission allows users to add the specified effect to items.
toolandfoodfx.command.deleffect: this permission allows users to run the /deleffect command.
toolandfoodfx.command.*: this permissiongives users all command permissions.
toolandfoodfx.use.weapon: this permission allows users to use weapons with effects.
toolandfoodfx.use.food: this permission allows users to consume food with effects.
toolandfoodfx.use.wear: this permission allows users use wearable effects.
toolandfoodfx.use.armor: this permission allows users to use armor with effects.
toolandfoodfx.use.*: this permission allows users to use anything with effects.
toolandfoodfx.*: Gives a user all permissions for the plugin.
Source
GithubWhat items can have effects
Tools & weapons
- All types of shovels
- All types of axes
- All types of pickaxes
- All types of swords
- All types of hoes
- All Armor
- Bows
- Fishing rods
- Flint & steel
- Shears
- Sticks
Foods
- Bread
- Carrots
- Potatoes (raw, baked, and poisonous)
- Golden apples and carrots
- Pumpkin pie
- Cookies
- Melon slices
- Mushroom soup
- Raw and cooked meat (beef, pork, chicken, and fish)
- Apples
- Rotten flesh
- Spider eyes
Effect list
- SPEED
- SLOW
- FAST_DIGGING = haste
- SLOW_DIGGING = mining fatigue
- INCREASE_DAMAGE = strength
- HEAL = Ins. health
- HARM = Ins. damage
- JUMP = Jump boost
- CONFUSION = Nausea
- REGENERATION
- DAMAGE_RESISTANCE
- FIRE_RESISTANCE
- WATER_BREATHING
- INVISIBILITY
- BLINDNESS
- NIGHT_VISION
- HUNGER
- WEAKNESS
- POISON
- WITHER
- HEALTH_BOOST
- ABSORPTION
- SATURATION
-
View User Profile
-
Send Message
Posted Mar 5, 2016@thepowderguy
YAY thank you
-
View User Profile
-
Send Message
Posted Mar 4, 2016@JLPgreen
I've updated it for 1.9
-
View User Profile
-
Send Message
Posted Mar 3, 2016@thepowderguy
Hey, really love your plugin and was wondering if you could update it to 1.9 (so i can still use it on my server) and also allow effects to be added to all objects as well. It would be cool if you could add like healing to a redstone block to make it like a healing block or something in the general idea. Thanks
-
View User Profile
-
Send Message
Posted Aug 28, 2015@thepowderguy
Hey I love your plugin and i'm currently developing a rather large modded server with 30 staff working on it as we speak. I was wondering if i'd be able to pay you to code this plugin in such a way to work with the custom foods that I have? Possibly by adding a config that pulls item IDs?
If this is possible for you just get in touch with me and we can talk about pricing and what is reasonable for you.
I appreciate the help if you're willing ahead of time! it'd be amazing if you were able to help us.
-
View User Profile
-
Send Message
Posted Aug 26, 2015@TheCesher
You probably won't read this, because this reply was more than one year later, but I took your idea into account and updated my plugin. The newer version is totally backwards compatible.
-
View User Profile
-
Send Message
Posted Jan 22, 2015Looks like a good plugin. Could you consider updating to 1.8 and include rabbit and lamb?
-
View User Profile
-
Send Message
Posted Aug 1, 2014Really great! One thing though. The info on the item of weapon you effect is in big bold letters saying EFFECTS. Its cool to add something like that, but seriously? Its kinda big and goofy. It'd be nice if it was simply (Effect) under the enchantments. Ex. Poison II, not EFFECT POSION 2 5
-
View User Profile
-
Send Message
Posted Jun 11, 2014ok one problem with your plugin, I applied the Wither effect on a sword, and when I equip it, it gives me wither, but the player I hit gets it for only a split second... Any ideas why that may be? or is it a Bug?
-
View User Profile
-
Send Message
Posted May 14, 2014Oh, Can you do a custom smelting plugin? Your Choice!
-
View User Profile
-
Send Message
Posted May 14, 2014YOU... DID IT!? YOU RELEASED THE 1.4!?!?!??!
-
View User Profile
-
Send Message
Posted May 12, 2014@thepowderguy
:D
-
View User Profile
-
Send Message
Posted May 11, 2014@benua2000
Sure.
-
View User Profile
-
Send Message
Posted May 11, 2014So... Liked my review? Would you like to put the review on the plugin page?
-
View User Profile
-
Send Message
Posted May 10, 2014@benua2000
Ok, here's how to use wearable effects ("you") :
The addeffect command by itself, "/adde poison 1 1" will act like "other" option.
But if you append a "-wear" to the command: "/adde poison 1 1 -wear", then that effect will get applied to you when you equip armor/swords.
Edit: newlines
-
View User Profile
-
Send Message
Posted May 10, 2014Link: https://www.youtube.com/watch?v=Zcka2cqwEJ4
Link2: https://www.youtube.com/watch?v=Ppi7nJdj_Ig EXTRA PART!
-
View User Profile
-
Send Message
Posted May 10, 2014Hey! il do a review on this plugin! I feel like this plugin needs to get more people! il give you the link when its done!
-
View User Profile
-
Send Message
Posted May 10, 2014@thepowderguy
Wait... The "You" and "Other" thing is done already?!
Such doge, Much Epic, Many Wows
-
View User Profile
-
Send Message
Posted May 9, 2014@benua2000
To do this, you would just add the effect to both "you" and "other".
-
View User Profile
-
Send Message
Posted May 9, 2014EDIT: Other: When equiping the armour with the effect (like poison) if a player hits you the effect goes to him! hopefully is not too hard :/
-
View User Profile
-
Send Message
Posted May 8, 2014@thepowderguy
Thanks!