PetProtect

WolfProtect

Help support development of PetProtect: Donate
Current donations: 0


Protects your wolves and cats and horses from harm!

You don't have to read all this, download on the right >

PetProtect

(formerly WolfProtect)

WolfProtect

Summary

Protects your dear pet from being killed by another player, or by walking off a cliff for instance. You can customize everything yourself!

What does it do

  • Automatically gives wolves and cats and horses a nice display name (configurable!)
  • Protects wolves and cats and horses from other players (permission-based)
  • Protects wolves and cats and horses from common damage types, such as drowning, falling, suffocation, etc. (configurable!)
  • Protects players from tamed wolf attacks (permission-based)
  • Protects players from being attacked by tamed horses (permissions-based)
  • Prevents players from riding other people's horses (permission-based)
  • Prevents players from open other people's horses' inventories (permission-based)
  • Prevents players from dying other people's wolves (permission-based)
  • All messages are configurable
  • You can reassign pets to a new owner

Permissions

petprotect.harm.wolf.ownHarm your own wolvesdefault: true
petprotect.harm.wolf.otherHarm wolves of other playersdefault: op
petprotect.dye.wolf.ownDye your own wolvesdefault: true
petprotect.dye.wolf.otherDye wolves of other playersdefault: op
petprotect.harm.cat.ownHarm your own catsdefault: true
petprotect.harm.cat.otherHarm cats of other playersdefault: op
petprotect.harm.horse.ownHarm your own horsesdefault: true
petprotect.harm.horse.otherHarm horses of other playersdefault: op
petprotect.ride.horse.otherRide horses of other playersdefault: op
petprotect.open.inventory.horse.otherOpen inventories of horses of other playersdefault: op
petprotect.bites.safeNever be harmed by wolves of other playersdefault: false
petprotect.stamping.safeNever be harmed by horses of other playersdefault: false
petprotect.reassign.otherReassign pets to a new ownerdefault: op

The configuration has help and is very self-explanatory.

Commands

/reassign <name>Reassign a pet to the player with the given name

Dev builds

Submit suggestions and bugs here!!

Metrics

This plugin uses MCStats to collect information about plugin usage. Of course, this is strictly anonymous, and you can easily opt out via plugins/PluginMetrics/config.yml. The NSA isn't watching your server ;) You can of course see for yourself what data is collected on the MCStats site, just the basic stuff: how many servers, how many players, which Bukkit version, etc.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of MineCraftMyph MineCraftMyph Sep 02, 2014 at 22:31 UTC - 0 likes

    Riding other horses protection does not work. Even with - -petprotect.ride.horse.other.

    [00:51:07] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to PetProtect v1.8 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callEvent(CraftEventFactory.java:107) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:537) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:450) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:569) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityLiving.d(EntityLiving.java:1031) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityLiving.damageEntity(EntityLiving.java:675) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityAnimal.damageEntity(SourceFile:145) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityHorse.damageEntity(EntityHorse.java:254) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityHuman.attack(EntityHuman.java:943) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:1107) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.PacketPlayInUseEntity.a(SourceFile:55) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.PacketPlayInUseEntity.handle(SourceFile:10) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:157) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.ServerConnection.c(SourceFile:134) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:667) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:258) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:558) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:469) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] Caused by: java.lang.NullPointerException at me.muizers.PetProtect.PetProtect.onEntityDamageByEntity(PetProtect.java:268) [?:?] at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_55] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_55] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [minecraft_server.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] ... 22 more

    Last edited Sep 02, 2014 by MineCraftMyph

  • Avatar of frizzbee30 frizzbee30 Aug 05, 2014 at 15:13 UTC - 0 likes

    Any sign of an update for 1.7.9? The plugin throws some nasty errors in console when players mount horses since we updated from 1.7.5!

    http://www.minecraftsigs.com/banners/934016794199124.png

  • Avatar of NinjaAssassin864 NinjaAssassin864 Aug 02, 2014 at 08:38 UTC - 0 likes

    @MineCraftMyph: Go

    That is because when u spawn a horse from essentials, it is already tamed. There's no actual owner in the horse's data to make it protected from other players.

  • Avatar of MineCraftMyph MineCraftMyph Jun 03, 2014 at 14:28 UTC - 0 likes

    Horse protection doesn't work when spawned from Essentials, other players can ride horse. Also even with permissions to allow players to attack players, the wolves won't attack other players in any situation.

  • Avatar of NinjaAssassin864 NinjaAssassin864 May 03, 2014 at 00:04 UTC - 1 like

    @Muizers: Go

    Will you be updating tosupport UUIDs?

  • Avatar of ThisUsernameIsMine ThisUsernameIsMine Feb 06, 2014 at 02:05 UTC - 0 likes

    This plugin looked so promising, but i've noticed that people could steal when using a lead/leash =/

    Last edited Feb 06, 2014 by ThisUsernameIsMine
  • Avatar of gabiliel gabiliel Jan 29, 2014 at 23:37 UTC - 0 likes

    please add a system to limit the amount of pets that players can have, preferably permission-based, and per pet limitation. SRY for my bad english

  • Avatar of Muizers Muizers Jan 18, 2014 at 11:19 UTC - 0 likes

    @UltrafaceGuy: Go

    I thought I WAS doing that! Oh well, I'll check.

    @DerBlockBuilder: Go

    I'll see if this is possible.

  • Avatar of UltrafaceGuy UltrafaceGuy Jan 15, 2014 at 19:25 UTC - 0 likes

    Awesome, glad to see an update!

    I do have a request though. Could you maybe change the name plates to the version that name tags put onto animals? The one where it only appears when you look at the entity, and not the one that's always up.

    Thanks!

    Face-banner

  • Avatar of DerBlockBuilder DerBlockBuilder Dec 24, 2013 at 17:46 UTC - 0 likes

    I'm glad to have been a user of this plugin for so long, and I've stayed with this one for many updates. I do have one more question, though. Recently I tried breeding pets, and what was produced was a puppy, which followed all the PetProtect configurations, but it did not have a title. Is this even a bug? Or? (EDIT: My bad, I needed to refresh/reload the plugin)

    Also, if you could extend protection to snow golems and iron golems, that would be great!

    Last edited Dec 24, 2013 by DerBlockBuilder

    Head Developer and Co-Owner of a MineCraft Server

Facts

Date created
Feb 05, 2013
Categories
Last update
Jan 14, 2014
Development stage
Release
License
Muizers' rules
Curse link
PetProtect
Downloads
5,208
Recent files

Authors