[REQUEST] Stop killing my pets !

Discussion in 'Archived: Plugin Requests' started by actionforgames, May 26, 2012.

  1. Offline

    actionforgames

    I hate when some griefer kill my Pets (Dogs, Cats... etc.)

    And the biggest problem is that I cant protect them... Rollback doesn't work, WorldGuard can't protect them :(

    Can someone make Simple plugin that No ONE expect owners of Pets can't kill them ?

    I would really appreciate this :)
     
  2. Offline

    CoKoC

    [​IMG]

    Hi,

    I made your plugin.
    You may download it here : <Edit by Moderator: Redacted mediafire url>
    The sources are available here : <Edit by Moderator: Redacted mediafire url>

    Now nobody will be able to hit another player's pet (wolf or ocelot).

    If you have any other feature requests, update requests, hates, likes, whatever... Poke me on my profile with a link to this thread, explaining your concerns.

    Regards,
    Sam.
     
    Last edited by a moderator: Nov 10, 2016
    actionforgames likes this.
  3. Offline

    actionforgames

    [quote uid=90651671 name="CoKoC" post=1136149]
    [​IMG]

    Hi,

    I made your plugin.
    You may download it here : <Edit by Moderator: Redacted mediafire url>
    The sources are available here : <Edit by Moderator: Redacted mediafire url>

    Now nobody will be able to hit another player's pet (wolf or ocelot).

    If you have any other feature requests, update requests, hates, likes, whatever... Poke me on my profile with a link to this thread, explaining your concerns.

    Regards,
    Sam.[/quote]

    Will this protect all pets of any player... Or is just for OP ?
     
    Last edited by a moderator: Nov 10, 2016
  4. Offline

    Deleted user

    Judging by his source, i'd say it's for all pets of any player.
     
  5. Offline

    actionforgames

    Oh I can see :)
    But now there is some problems xD

    Now if you have wolf will be invincible :) No zombie, spider etc. can kill it...
    Can you make that just players can't kill pets, but Mobs can...
    And can you make that OPs can kill them :)

    I would appreciate this :)
    Thanks By the way :)
     
  6. Offline

    pom32

    Wouldn't it be better if pets can only die if their owner is online so agriefer can't kill a ofline players pets but if they are online it is their job to protect them?
     
  7. Offline

    actionforgames

    This is even good idea :)
     
  8. Offline

    Deleted user

    Do you want me to do it, or the original author?
    I can do it right now, and I can release it in about 5 minutes.
     
  9. Offline

    actionforgames

    yes, please :)

    Any Update ?

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

    CoKoC

    Following your inputs on the plugin. I've modified it a bit. There's now a notification when you tame a pet to tell you it's now protected. OPs can now damage any pets.

    Also as a notice, other entities than players can damage pets as they wish.

    You may use the download link in my first post.
     
  11. Offline

    actionforgames

    Link from first post ? Okey, I will tell you when I will test it
    Thanks :)

    Nothing new :/ And version is still 0.1
    I used link from first post...
    Try to Re-Upload and post another link :)

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

    CoKoC

    Version numbers do not auto-increment. They're not relevant to plugin requests.
    The download link works fine.
     
  13. Offline

    SateleRevan

    The plugin works as long as the person is online, I tamed an ocelot and nobody can hurt it, but as soon as I go offline people can damage it which defeats the point. Also is there a way you could make them invincible against fire/lava/drowning etc..?
     
  14. Offline

    McLuke500

    Shouldn't it be that they can't be hurt when sitting as other wise you would have a invincible pvp weapon when there not sitting and attacking.
     
  15. Offline

    CoKoC

    Hi.

    Following various requests, I updated the plugin. Pets now can't be hurt when players are offline. I also added an option in the config.yml file to make pets invincible to any hazards.

    The latest version may be downloaded here : <Edit by Moderator: Redacted mediafire url>
    (Also updated in main post)

    Regards,
    Sam.
     
    Last edited by a moderator: Nov 10, 2016
  16. Offline

    SateleRevan

    [quote uid=90651671 name="CoKoC" post=1151340]Hi.

    Following various requests, I updated the plugin. Pets now can't be hurt when players are offline. I also added an option in the config.yml file to make pets invincible to any hazards.

    The latest version may be downloaded here : <Edit by Moderator: Redacted mediafire url>
    (Also updated in main post)

    Regards,
    Sam.[/quote]

    Thank you so much! This is brilliant! I've been looking for a plugin that protects cats from the moment they were first introduced to minecraft and now I can finally have one without worrying it will die or be killed by someone else. Awesome plugin :D
     
    Last edited by a moderator: Nov 10, 2016

Share This Page