[MECH] SheepFeed v1.4 - Sheep grow fur when fed [Permissions] [1337] [BukkitDev]

Discussion in 'Inactive/Unsupported Plugins' started by ArmEagle, Mar 31, 2011.

  1. Offline

    ArmEagle

    Maxwolf Goodliffe likes this.
  2. Offline

    ArmEagle

    version 1.4
    - Added support for Bukkit's built-in permission system, with default permissions set (everyone can feed, only ops can use the /sheepfeed command). Will still default to using the Permissions plugin if it is available.
     
  3. Offline

    halley

    I've always wanted this. Just as a suggestion, I'd like to set my server to only use "milk bucket" (id 335) as a sheepfood. It gives a new purpose for this otherwise nearly useless type, and another call for milking cows. The only thing remaining: the sheep should empty the bucket, and not steal it. It's not a goat.

    I noticed on my server (with PEX) that nobody has permission at first, and adding sheepfeed.feed was not enough ("The sheep does not trust you..."). I had to add SheepFeed.feed to allow feeding. This is the first plugin I've seen which required capital letters in permission names... might want to change that, or check both mixed-case and lowercase.

    (Too bad it's still classified as an "attack" on the sheep. BleedingMobs sprays blood when you're feeding a sheep. Not sure what you can really do about that.)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  4. Offline

    ArmEagle

    I simply pass the string to a bukkit function.
    I guess those other plugins just have lowercase permissions. I just hadn't thought about that before and have used CamelCasing for my other plugins too. That's what is in the plugin's config file and what I write down everywhere. I guess I could eventually change it if all other plugins use lowercase. I'll look into it.

    Simply said, instead of just taking the item, another item should be given back too. I guess I could make that a configurable option. I'll keep it in mind for when I find time again.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  5. Offline

    Gamer36

    Well, I have no idea what BleedingMobs does specifically, but it probably doesn't register a right-click as an attack, so right clicking would work, except that you would have to remove the eating function when point at a sheep, which is probably possible with java. And the milk-bucket returning an empty bucket is sensible, because sheep don't eat iron.
     
  6. Offline

    ArmEagle

    About left/right-clicking on the sheep; Back when I started this plugin there were only the basic click functions to use. But I think there are some new ways now. I should look into that and see whether any can work while preventing you from eating the food yourself.

    And yes, I'll look into the bucket thing.
     
  7. Offline

    Greylocke

    Thanks for this great plugin! Working fine with CB1323 & PermissionsBukkit.

    When you kick out a new version, could you convert the ticks to seconds? It'd be much easier to setup.
     
  8. Offline

    ArmEagle

    Thanks for checking, I've been busy myself. Bukkit provides a way to easily delay a task by an amount of ticks. Maybe something more got added. If not, it would still be possible to do it myself, but I'm not sure that's really that beneficial.
     
  9. Offline

    ArmEagle

Share This Page