SheepFeed
This plugin lets you feed sheep so they'll grow back their furry coat. Some default foods are configured. But you can add your own, or change the stats of the current food items. If a sheep had its wool colored to non-natural colors, the wool will grow back white.
Source can be found at GitHub
Old development/discussion thread
Features
- Attack a sheared sheep with a food item in your hand and the sheep will eat it. After a configurable delay the sheep will have its wool grown back.
- If a sheep had its wool colored to non-natural colors, the wool will grow back white.
- Some default foods are configured. But you can add your own, or change the stats of the current food items.
- Disable/enable the plugin to reload the config file.
- Use the /sheepfeed command to get information about the current state of the plugin.
Permissions
- SheepFeed.feed Gives permission to feed sheep (defaults to all players).
- SheepFeed.info Gives permission to use the /sheepfeed command (defaults to OPs only).
Version 1.6
The translations will have to wait till another time.
I was actually wondering whether anyone still needed this plugin, since sheep eat grass by themselves now. I guess there are since this plugin has even more downloads than TradeCraft (but I guess there's a lot of competition for that one).
So I'll keep it updated. I'll try to look into the left/right-click thing and adding translations.
@lipe124
I'd like it too :)
but with that right click ... RMB is used with wheat to start reproducing huh? .. there have to be some options ... for mouse buttons
btw. can you make that message editable - for multilanguage?
Whats the max value for healamount: ?
Is there a chance to have a option to rightclick instead of leftclick to avoid accidental punching. (assuming a single rightclick wont toggle the player eating the bread instead)
@Nerdy314159265
It is configurable. Look in the plugins/SheepFeed folder for config.yml. Color codes that can be used are as in https://github.com/Bukkit/Bukkit/blob/master/src/main/java/org/bukkit/DyeColor.java
If a sheep is bred to have non-natural colors, will it regrow it's wool back that color or will it regrow white.
If it regrows back white could you make it so that's a configurable option, that way one could decide if they wanted it to keep the color or not?
@Sepulzera
Hmm, I guess I underestimated the Bukkit configuration code. I'll have to look into this when I find the time.
Thank you for reporting.
When removing a default food in the settings, it will be added on reload / startup again.
SheepFeed v1.5.1, CB 1.0.1-R1
@ArmEagle
Actually, from what I understand, PEX has backwards compatibility with the old Permissions. Did you install the Permissions.jar file together with PermissionsEx.jar? Then it should all technically work.
Though I guess you already do, since it works with the global * permission. But I'm not used to PEX. All I can say, using 'SheepFeed.info' in the permissions.yml (Bukkit's built-in, in the server root) does give the permission.
@danbk
I haven't used PEX myself before. But from what I read it uses its own permission system. Right now my plugins only support the old Permissions plugin, or fallback to Bukkit's built-in system.
But I guess I can update to using PEX instead of the old Permissions. Especially since I'm not even sure it works anymore.
Great! Glad this is working now. =)
I've tried adding the "SheepFeed.info" node to a group and they are not able to use the /sheepfeed command to get status. When they are added to the Admins group with the "*" permissions, they can. This user is not an OP on the server.
Would it be possible to confirm the node name? Here is the clip from the .yml for PEX:
@deadalucard2
That's not a possibility now no.
anyway to make it so we can configure the amount of the said item it takes? like if i want it to take 10 wheat instead of 1.
Dude this plugin is awesome, great job!
@ArmEagle
Thanks so much ArmEagle! Updating now!
@ArmEagle
Oops, my fault. Thought the color would be random, coz of the commentary above of the file.^^
@Sepulzera
You can specify what colors will 'stick' in config.yml.
Hey ArmEagle, I really like the idea of your plugin, but could you please implement, that the sheep will keep his color? (mb togglable) Thanks :)
@TechJawa
Thanks, I fixed it.
@dillon123119
Good point. I had a link to the source (github, couldn't get the one coming with BukkitDev to work to my liking yet) on the forum, but forgot to put that in here somewhere. I did that now though (looks like I did for my other two plugins and just forgot about this one).