Feed A Friend Plugin
This is the Feed A Friend plugin which allows players to right click and feed other players in a similar way to feeding pets.
How it works:
You must be holding a food item (listed in the food tab) and your friend must be hungry. (non-full hunger bar)
You right click on your friend. The food disappears from your hand and your friend is fed for that food item's
respective hunger and saturation values.
In Addition to feeding your friend, the food item will also give its respective potion effects.
- Zombie Flesh gives an 80% chance of Hunger 1 for 30 seconds
- Spider Eye gives poison 1 for 5 seconds
- Poisonous Potato has a 60% chance of poison1 for 5 seconds.
- Pufferfish gives Naseua2 for 15 seconds, Hunger3 for 15 seconds, and poison 4 for 60seconds.
- Golden Apple gives regen1 for 5 seconds and absorption for 120 seconds
- Enchanted Golden Apple gives regen1 for 30 seconds, Absorption1 for 120 seconds, Damage Resistance for 5mins, and Fire Resistance for 5mins.
Commands
There are currently no commands in the FeedAFriend plugin.
Permissions
There are currently no permissions in this plugin. All players in all gamemods are able to use this plugin once enabled.
Source
You can view the source over on my bitbucket page
Configuration
Feed A Friend requires no configuration. Simply add the jar to the plugins folder on your bukkit server.
Extra info
This plugin is a port of a Forge mod of the same name.