wolf's targeting-entity control

Discussion in 'Archived: Plugin Requests' started by Sation4, Apr 17, 2013.

  1. Offline

    Sation4

    Hello Guys, so i'm running a private server with friends, and we use PVP to tease each other sometimes, but the problem is our wolves end up attacking us and we have to seat them or kill them, so to overcome this problem, i have been using the two plugins:

    PetProtect ===> to prevent wolves from harming players
    and
    HappyDog ===> to make players be able to calm their dogs down


    but even with these two plugins, players complain that the dogs keep following them and targeting them trying to kill them, even though there is no damage dealt or annoying growling this can be a problem ..
    because wolves will be still focusing the attacker and ignore other mobs like zombies and what not unless the attacker is dead ...
    which is kinda annoying because it renders wolves useless ...

    so if there was a plugin that refrains dogs from targeting players completely by canceling their target as soon as they target a player or something, i would really appreciate it, Thanks in advance :)
     
  2. Offline

    Celeo

    For lack of a better name: FriendlyDog.

    Cancels the EntityTargetEvent when the entity is a tamed wolf and the target is a player.

    .JAR: https://dl.dropboxusercontent.com/u/11962432/Code/FriendlyDog.jar
    Code: https://github.com/Celeo/FriendlyDog

    No configuration, commands, nor permissions.

    This will work just fine, but you also may want to ask the author of PetProtect if (s)he would add this event to that plugin.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  3. Offline

    Sation4

    Thanks, I'mma try this out and sure i'll ask him :)
    Thank you again :)
     
    Celeo likes this.

Share This Page