Git Product home page Git Product logo

sonarpet's Introduction

SonarPet Build Status

A fork of EchoPet updated to 1.11

NOTE: Unmaintained

I'm no longer willing to be the primary maintainer of SonarPet, contact me on IRC if you're willing to take over this job.

Features

  • All mobs can be pets (even enderdragons)
  • An awesome donator perk that is EULA compliant
  • Pets are greatly customisable, through the extensive Command Base and PetMenu
  • A Custom AI makes all Pets focused on specific goals, handled closely by the core of the Plugin
    • Make your pets attack your enemies
  • Supports minecraft 1.6.4-1.11

Changes

I've made some changes to EchoPet in SonarPet, which are listed below.

  • I've renamed references from 'EchoPet' to 'SonarPet'
    • Permissions and class names remain, to retain backwards compatibility and to avoid the need to change permissions
  • I've added 1.9-1.11 support

Requirements

  • Java 8

Credits

  • Dsh105 - Creating EchoPet
  • CaptainBern - Helping out with EchoPet
  • Techcable - 1.9-1.11 update and maintinaing SonarPet

License

sonarpet's People

Contributors

ashouraziz avatar captainbern avatar cindyker avatar cirnothegenius avatar drtshock avatar dsh105 avatar favorlock avatar frostalf avatar hawkfalcon avatar itsjh avatar lol768 avatar minecrafter avatar rigner avatar techcable avatar voidwhisperer avatar zeroerrors avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sonarpet's Issues

Anti-Teleport Exploit

Users are able to bypass teleporting / don't get teleportet by carring her pet as hat. Please fix it soon as it may break some important server techniques... Will buy your plugin as soon as I have some more money ๐Ÿ˜„

Pet-Menu

Hey,

First of all, your Plugin is amazing! I never see a better one like this! Thanks for this.

My Questions:
Is it possible to make the name changer and the icon to toggle the pet in the pet menu?(Picture)

So my user can change the name and toggle it in the pet menu.
Some Examples:

2016-05-18_17 12 48 kopie

2016-05-18_17 20 21

And the Name-changer in form like an Amboss Gui.

Lg lostINParadies

Permissions and errors

http://pastebin.com/GphH7bPa

There is also a issue where players can't ride or use hats when they have
echopet.pet.ride.*
echopet.pet.hat.*

And not being able to select different types of pet's when they have
echopet.pet.type.{type}.*

Pet Hat Not Working...

I've never really cared about this feature of EchoPet, but wearing your pet as a hat does not work. No console errors. Just letting you know.

Pet remove doesn't remove them from your hat.

https://www.ecocitycraft.com/forum/threads/bug-report-pet-remove-not-clearing-pet-hats.149702/

Brief Description: The command /pet remove does not clear all pets if you summon two at a time and then wear them using /pet hat.

Instructions:

  1. Summon two pets via /pet spider creeper (or whatever pets you have)
  2. Use the command /pet hat
  3. Enjoy your fancy hat
  4. Use the command /pet remove while wearing your hat
  5. Only the second pet is removed, the first one you call remains as a hat
  6. Try /pet remove again; it says you do not have any pets.
  7. Stuck with pets as a hat until you relog.

How many times did you recreate this bug?: Every single time I tried. It's not just a client side visual glitch, I had people at mining spawn confirm they saw multiple pets on my head. D:

Result: Infinite pet hat party

Expected Result: /pet remove to remove all of your pets

Screenshot: https://i.gyazo.com/f98f6349dff0904a1ee6624dc2dfb300.png

Unable to teleport when riding a pet, or having one on your head.

Brief Description:unable to teleport when riding pets or having pets on your head

Instructions:

  1. Spawn a pet
  2. Open the Pet Menu
  3. Choose either Hat Pet or Ride Pet
  4. Do either /tpa, /home, /warp, or go through warps at spawn

How many times did you recreate this bug?:everytime

Result:unable to teleport
Edit: also unable to teleport after removing pet from head and hiding pet until after relog

Expected Result:teleport with(out) pet

https://www.ecocitycraft.com/forum/threads/bug-report-pet-unable-to-teleport-when-riding-pet-on-hat.150369/

Pet rider is completely broken.

Pet rider is completely broken.
Just making this ticket as a place holder for the issue.

I see according to the thread you are already aware of this.

Spigot 800 SonarPets 15

Horses moves in 1.9

Due to 1.9, the moves of the horse when we ride them are now handled by the client.

So, when we move, we don't see ourselves move, but the server understands that we move. I use a particle plugin that plays particles on the player, et the move accordingly to us.
Also, when we get off the horse, we are teleported to the location of the particles.

Riding a vanilla horse is not perturbated.
This only happens with horses.

Spigot version : git-Spigot-5a40365-b103841 (MC: 1.9.2) (Implementing API version 1.9.2-R0.1-SNAPSHOT)
SonarPet Version : 1.0.1

/pet selector issues

http://pastebin.com/gJ2sT4SK

[01:38:16 INFO]: This server is running CraftBukkit version git-TacoSpigot-"e026d35" (MC: 1.8.8) (Implementing API version 1.8.8-R0.2-SNAPSHOT)
[01:38:16 INFO]: Checking version, please wait...
[01:38:18 INFO]: You are 7 commit(s) behind

Pets would still get spawned... multiple times even... I had 2 bats.

Teleportation Problems With Pet as Hat

While a pet is on one's head, they cannot teleport. This also occurs if the player was killed while the pet was a hat. Relogging seems to fix the issue.

A few issues

I am having a server on 1.8.8 latest with no other plugins and im having the following issues:

  1. Notifing me for update of the old echopet version
  2. If I spawn a pet I get internal error
  3. If I right click a pet or do /pet menu I get an expectation in console
  4. If I move while having a pet the server close
  5. I can have multiple pets
  6. When I do /pet remove it will say I has no pet even though I do
  7. WIther pet crash the server
  8. If I leave the server and have a pet the server crash
    console logs:
    for the wither issue http://pastebin.com/HNu01rfY
    for leaving the server while having a pet http://pastebin.com/PYPTYJrv
    for all the other issues http://pastebin.com/UQ8Q8sps
    Version I was using:
    https://github.com/TechzoneMC/SonarPet/releases

UPDATE: I have used the dev build version and seems to have the wither issue fixed, but still crashing the server if I moved. Also the update issue is fixed on that version.

All the spawn eggs are the same

In the pet selector menu all the spawn eggs are the same (except for the Ender Dragon, Iron Golem, Human, Wither, and Snowman. It doesn't seem to be passing on the materialdata designated in the config.yml so all of them are just displayed as materialID 383.

SonarPet broken in PaperSpigot 1.7.10

[18:01:56] [Server thread/ERROR]: Error occurred while enabling SonarPet v1.1.0-SNAPSHOT (Is it up to date?)
java.lang.NoSuchFieldError: ENDERMITE
    at com.dsh105.echopet.compat.api.config.PetItem.<clinit>(PetItem.java:43) ~[?:?]
    at com.dsh105.echopet.compat.api.util.menu.SelectorLayout.getDefaultLayout(SelectorLayout.java:129) ~[?:?]
    at com.dsh105.echopet.compat.api.config.ConfigOptions.setDefaults(ConfigOptions.java:155) ~[?:?]
    at com.dsh105.echopet.libs.com.dsh105.commodus.config.Options.<init>(Options.java:34) ~[?:?]
    at com.dsh105.echopet.compat.api.config.ConfigOptions.<init>(ConfigOptions.java:39) ~[?:?]
    at com.dsh105.echopet.EchoPetPlugin.loadConfiguration(EchoPetPlugin.java:188) ~[?:?]
    at com.dsh105.echopet.EchoPetPlugin.onEnable(EchoPetPlugin.java:118) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]
    at us.Myles.PWP.TransparentListeners.PerWorldPluginLoader.enablePlugin(PerWorldPluginLoader.java:145) [PerWorldPlugins.jar:?]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:411) [dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:477) [dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:395) [dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]
    at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:359) [dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]
    at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:333) [dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]
    at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:289) [dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]
    at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:240) [dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]
    at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:504) [dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]
    at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [dreamspigot-1.7.10-R0.1-SNAPSHOT.jar:git-DreamSpigot-a648f3d]

(Yeah, I'm using a custom PaperSpigot 1.7.10 fork)

Config:

# +----------------------------------------------------+ #
# <          SonarPet By DSH105 and Techcable          > #
# <               ---------------------                > #
# <             Configuration for SonarPet             > #
# <   See the SonarPet Wiki before editing this file   > #
# +----------------------------------------------------+ #

Build #10 Riding Pets

Just wanted to let you know that it's working with an extremely minor glitch. When I switch to a new type of pet, I cannot immediately ride it. I can mount it, but it won't move anywhere. However, if I make the pet following me around for even just a few blocks, then I can ride it and control it. And no console errors, even when the pet won't move.

Definitely workable, though, and I consider it working. I just wanted to mention it in case there was something in the code that could be tweaked, but if not I feel this is fine.

Also, just FYI, pigs glitch badly when trying to ride them, but this seems to also be a vanilla MC 1.9 issue.

Also, horses are difficult to control when riding, but only when they don't have a saddle on. This is also normal MC behavior.

Thanks again!

Could not pass event InventoryClickEvent to SonarPet v1.0.1-SNAPSHOT

[22:27:38] [Server thread/ERROR]: Could not pass event InventoryClickEvent to SonarPet v1.0.1-SNAPSHOT
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [patched.jar:git-TacoSpigot-"e026d35"]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1657) [patched.jar:git-TacoSpigot-"e026d35"]
    at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [patched.jar:git-TacoSpigot-"e026d35"]
    at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [patched.jar:git-TacoSpigot-"e026d35"]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [patched.jar:git-TacoSpigot-"e026d35"]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [patched.jar:git-TacoSpigot-"e026d35"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [patched.jar:git-TacoSpigot-"e026d35"]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:379) [patched.jar:git-TacoSpigot-"e026d35"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-TacoSpigot-"e026d35"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-TacoSpigot-"e026d35"]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: org.bukkit.command.CommandException: Unhandled exception executing 'pet bat' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:150) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.performCommand(CraftPlayer.java:339) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?]
    at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched.jar:git-TacoSpigot-"e026d35"]
    ... 16 more
Caused by: com.dsh105.echopet.compat.api.registration.PetRegistrationException: java.lang.IllegalStateException: Failed to create pet object for Dieu
    at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:121) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?]
    at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?]
    at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?]
    at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
    at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.performCommand(CraftPlayer.java:339) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?]
    at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched.jar:git-TacoSpigot-"e026d35"]
    ... 16 more
Caused by: java.lang.IllegalStateException: Failed to create pet object for Dieu
    at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:85) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?]
    at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?]
    at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?]
    at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
    at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.performCommand(CraftPlayer.java:339) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?]
    at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched.jar:git-TacoSpigot-"e026d35"]
    ... 16 more
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_60]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_60]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_60]
    at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:77) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?]
    at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?]
    at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?]
    at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
    at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.performCommand(CraftPlayer.java:339) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?]
    at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched.jar:git-TacoSpigot-"e026d35"]
    ... 16 more
Caused by: java.lang.IllegalArgumentException: com.dsh105.echopet.libs.com.captainbern.minecraft.wrapper.WrappedPacket@690fc607 is not a valid packet class!
    at com.dsh105.echopet.libs.com.captainbern.minecraft.reflection.MinecraftMethods.sendPacket(MinecraftMethods.java:44) ~[?:?]
    at com.dsh105.echopet.libs.com.dsh105.commodus.ServerUtil.sendPacket(ServerUtil.java:206) ~[?:?]
    at net.techcable.sonarpet.particles.PacketParticleBuilder.show(PacketParticleBuilder.java:22) ~[?:?]
    at net.techcable.sonarpet.particles.ParticleBuilder.show(ParticleBuilder.java:56) ~[?:?]
    at net.techcable.sonarpet.particles.Particle.show(Particle.java:85) ~[?:?]
    at com.dsh105.echopet.compat.nms.v1_8_R3.NMSImpl.spawn(NMSImpl.java:59) ~[?:?]
    at com.dsh105.echopet.compat.nms.v1_8_R3.NMSImpl.spawn(NMSImpl.java:35) ~[?:?]
    at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:72) ~[?:?]
    at com.dsh105.echopet.api.pet.type.BatPet.<init>(BatPet.java:33) ~[?:?]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_60]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_60]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_60]
    at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:77) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?]
    at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?]
    at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?]
    at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?]
    at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
    at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.performCommand(CraftPlayer.java:339) ~[patched.jar:git-TacoSpigot-"e026d35"]
    at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?]
    at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched.jar:git-TacoSpigot-"e026d35"]
    ... 16 more

happens as result of clicking spawnegg on /pet selector

Shutdown method deprecated.

While stopping server, I get the following just after SonarPet:

2016-04-29 09:18:29 [INFO] [SonarPet] Disabling SonarPet v1.0.1
2016-04-29 09:18:29 [WARN] The shutdown() method has been deprecated, please use the close() method instead

Ride isn't quite working...

First of all, soooooooo happy to see this! Thank you! I will gladly donate $ for this new version and continue to donate to keep this plugin updated!

I know you just posted a release of this, and it probably isn't ready for primetime quite yet, but I'd thought I'd let you know that the command /pet ride doesn't work. It almost seems like that's the /pet call function now. What does allow you to ride a pet is the command /pet hat. This happens whether using the command line or the pet menu.

Edit: Also quite a few of the pets cannot be controlled when riding even when you trick it with the /pet hat command. For example, I can ride and move on a cow, mooshroom, chicken, etc., with the /pet hat command, but I cannot get an Iron Golem, Creeper, Zombie, etc. to move when riding them.

Here's the error from the console that happens every time I use /pet ride or choose the carrot on a stick from the pet selector menu:

17:26:43 WARN]: [SonarPet] Task #29 for SonarPet v1.0.0 generated an exception java.lang.IllegalStateException: Circular entity riding! EntityPlayer['InternetPilot'/249, l='Moosh Amped', x=1995.75, y=90.32, z=-951.25](InternetPilot at 1995.7499999701977,90.32499998211861,-951.2500000298023) EntityZombiePet['Zombie Pet'/9845, l='Moosh Amped', x=1995.75, y=90.00, z=-951.25] at com.google.common.base.Preconditions.checkState(Preconditions.java:200) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.Entity.o(Entity.java:1672) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.Entity.a(Entity.java:1641) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.EntityInsentient.a(EntityInsentient.java:1079) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.Entity.startRiding(Entity.java:1629) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.entity.CraftEntity.setPassenger(CraftEntity.java:326) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at com.dsh105.echopet.compat.api.util.INMS.mount(INMS.java:44) ~[?:?] at com.dsh105.echopet.api.pet.Pet$1.run(Pet.java:311) ~[?:?] at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:729) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]

Major Console Spam when Spawning In Pets

Also, I might add that it constantly prompts for a new update. Keep up the good work!

Server thread/ERROR]: Could not pass event PlayerInteractEntityEvent to SonarPet v1.0.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[custom_server.jar:git-Spigot-129f87a-6067e54]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[custom_server.jar:git-Spigot-129f87a-6067e54]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [custom_server.jar:git-Spigot-129f87a-6067e54]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [custom_server.jar:git-Spigot-129f87a-6067e54]
at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1532) [custom_server.jar:git-Spigot-129f87a-6067e54]
at net.minecraft.server.v1_9_R1.PacketPlayInUseEntity.a(SourceFile:68) [custom_server.jar:git-Spigot-129f87a-6067e54]
at net.minecraft.server.v1_9_R1.PacketPlayInUseEntity.a(SourceFile:12) [custom_server.jar:git-Spigot-129f87a-6067e54]
at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [custom_server.jar:git-Spigot-129f87a-6067e54]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_71]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_71]
at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [custom_server.jar:git-Spigot-129f87a-6067e54]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [custom_server.jar:git-Spigot-129f87a-6067e54]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [custom_server.jar:git-Spigot-129f87a-6067e54]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [custom_server.jar:git-Spigot-129f87a-6067e54]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [custom_server.jar:git-Spigot-129f87a-6067e54]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_71]
Caused by: java.lang.NoClassDefFoundError: com/dsh105/echopet/libs/com/dsh105/commodus/IdentUtil
at com.dsh105.echopet.compat.nms.v1_9_R1.entity.EntityPet.onInteract(EntityPet.java:284) ~[?:?]
at com.dsh105.echopet.listeners.PetOwnerListener.onPlayerInteractEntity(PetOwnerListener.java:75) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_71]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_71]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_71]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[custom_server.jar:git-Spigot-129f87a-6067e54]
... 15 more
Caused by: java.lang.ClassNotFoundException: com.dsh105.echopet.libs.com.dsh105.commodus.IdentUtil
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_71]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[custom_server.jar:git-Spigot-129f87a-6067e54]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[custom_server.jar:git-Spigot-129f87a-6067e54]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_71]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_71]
at com.dsh105.echopet.compat.nms.v1_9_R1.entity.EntityPet.onInteract(EntityPet.java:284) ~[?:?]
at com.dsh105.echopet.listeners.PetOwnerListener.onPlayerInteractEntity(PetOwnerListener.java:75) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_71]

Pets + 1.9 Boats

Brief Description:

So I had my pet on and it decided to get in a boat that was at spawn (I have no idea how the boats got to spawn lol) and apparently once it got in the boat, it wouldn't disappear when I typed /pet toggle or /pet hide and even stayed there when I re logged.

Instructions:

Spawn a pet in, and walk near a boat and it'll get into the boat. Then spawn more pets in and they can keep getting in boats without you being able to get rid of the boats or pets.
I tried re logging and I couldn't see the pets when I logged back on, however my alt was at spawn and could still see the pets in the boats even when I was offline and logged back on.

How many times did you recreate this bug?:

Like 10 times.

Result:

Pets everywhere that you can't remove via the /pet hide command.

Expected Result:

For the /pet hide to remove the pets, and for pets not to steal the boats :p

Evidence:

โ€‹IMG
Screenshot from my alts perspective after my main had re logged, so the the pets should have disappeared:
โ€‹IMG

Regions, Riders, Speed, Many pets, more. [6 Bugs]

Bug 1: One can bypass a worldguard blocked region by riding their pet into it.

Bug 2: When one has a pet, and then types /pet rider (mob), once they want to remove the riding pet with /pet rider remove, the particles play but the pet is not removed.

Bug 3: Taking on from Bug 2, the walk speed of the pets is altered depending on the pet riding the other pet (its weird).

Bug 4: You can have 3 pets. You simply setup a pet and a rider pet, then you add another rider pet, and you end up with 3 pets. 1 pet follows you, then you have 2 pets in additional, 1 riding ontop of the other.

Bug 5: Extending from Bug 4, you can then wear all 3 pets summoned: http://i.imgur.com/Kk69Lpf.png

Bug 6: When you wear a pet, you can't teleport to other players. (Using Essentials X).

Build #15 Pet Hat Crashes Java Binary

With Build #15 attempting to switch out of the Pet Hat feature causes the Java binary to crash on the client (not the server). There is no console message or error message in Minecraft other than reporting the Java binary has stopped responding. If you toggle the pet instead of switching off the Pet Hat feature, the problem doesn't occur.

Reload doesn't update prefix

When I try to change the prefix in the language file it is still the default [SonarPets] ingame. I can see that all the other messages have changed, but the prefix seems to be ignored.

Crash

[11:41:53] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.server.v1_9_R1.ReportedException: Ticking entity
        at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:803) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_71]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
        at com.dsh105.echopet.compat.nms.v1_9_R1.NMS.variantById(NMS.java:42) ~[?:?]
        at com.dsh105.echopet.compat.nms.v1_9_R1.entity.type.EntityHorsePet.getType(EntityHorsePet.java:140) ~[?:?]
        at com.dsh105.echopet.compat.nms.v1_9_R1.entity.type.EntityHorsePet.getIdleSound(EntityHorsePet.java:155) ~[?:?]
        at com.dsh105.echopet.compat.nms.v1_9_R1.entity.EntityPet.G(EntityPet.java:477) ~[?:?]
        at net.minecraft.server.v1_9_R1.EntityInsentient.D(EntityInsentient.java:174) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.EntityInsentient.U(EntityInsentient.java:187) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.Entity.m(Entity.java:299) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.EntityLiving.m(EntityLiving.java:1693) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.EntityInsentient.m(EntityInsentient.java:243) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at com.dsh105.echopet.compat.nms.v1_9_R1.entity.EntityPet.m(EntityPet.java:496) ~[?:?]
        at com.dsh105.echopet.compat.nms.v1_9_R1.entity.EntityAgeablePet.m(EntityAgeablePet.java:67) ~[?:?]
        at net.minecraft.server.v1_9_R1.World.entityJoinedWorld(World.java:1605) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.World.g(World.java:1580) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.World.tickEntities(World.java:1420) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.WorldServer.tickEntities(WorldServer.java:628) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:792) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        ... 4 more
[11:41:53] [Server thread/ERROR]:       Cause of unexpected exception was
java.lang.ArrayIndexOutOfBoundsException: 6
        at com.dsh105.echopet.compat.nms.v1_9_R1.NMS.variantById(NMS.java:42) ~[?:?]
        at com.dsh105.echopet.compat.nms.v1_9_R1.entity.type.EntityHorsePet.getType(EntityHorsePet.java:140) ~[?:?]
        at com.dsh105.echopet.compat.nms.v1_9_R1.entity.type.EntityHorsePet.getIdleSound(EntityHorsePet.java:155) ~[?:?]
        at com.dsh105.echopet.compat.nms.v1_9_R1.entity.EntityPet.G(EntityPet.java:477) ~[?:?]
        at net.minecraft.server.v1_9_R1.EntityInsentient.D(EntityInsentient.java:174) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.EntityInsentient.U(EntityInsentient.java:187) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.Entity.m(Entity.java:299) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.EntityLiving.m(EntityLiving.java:1693) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.EntityInsentient.m(EntityInsentient.java:243) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at com.dsh105.echopet.compat.nms.v1_9_R1.entity.EntityPet.m(EntityPet.java:496) ~[?:?]
        at com.dsh105.echopet.compat.nms.v1_9_R1.entity.EntityAgeablePet.m(EntityAgeablePet.java:67) ~[?:?]
        at net.minecraft.server.v1_9_R1.World.entityJoinedWorld(World.java:1605) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.World.g(World.java:1580) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.World.tickEntities(World.java:1420) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.WorldServer.tickEntities(WorldServer.java:628) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:792) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) ~[spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-90839e6-9a072dd]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_71]

not sure why its not connecting to mysql

also when it does connect it also creates the file pets and saves the data in the file aswell as mysql
[17:21:50 INFO]: [SonarPet] Disabling SonarPet v1.0.1
[17:21:50 WARN]: The shutdown() method has been deprecated, please use the close() method instead
[17:21:50 INFO]: HikariPool-5 - Close initiated...
[17:21:50 INFO]: HikariPool-5 - Closed.
[17:21:50 INFO]: [SonarPet] Enabling SonarPet v1.0.1
[17:21:50 INFO]: [EchoPet] [INFO] Converting data files to UUID system...
[17:21:50 INFO]: HikariPool-6 - Started.
[17:21:50 INFO]: HikariPool-6 - Driver does not support get/set network timeout for connections. (com.mysql.jdbc.JDBC4Connection.getNetworkTimeout()I)
[17:21:50 INFO]: [EchoPet] [INFO] [WorldGuard] Successfully hooked

Make pet classes inherit from their respective NMS classes.

This would reduce logic duplication, and allow us to better utilize the existing entity logic.
Various entities (like ghasts and enderdragon), have seperate movement logic that isn't handled in EntityInsentient. To properly support these entity's AI, we have to rewrite it from scratch (or copy from NMS).

If we use inheritance, we get all the entity's logic for free.

However, since java doesn't have multiple inheritance, we would have to re-implement the sonarpet/IEntityPet logic for each class.
To avoid this i'll use the 'hook strategy' I use in NPCLib. This separates the sonarpet entity logic from the underlying entity implementation, which allows us to inherit superclass behavior for sonarpet logic, but still delegate to the underlying NMS entity.

Not moving / teleporting / spawning / gives damage

Endermite:
Follows you, but if you got to far, he doesn't teleport to you. Also if you go back to him, he doesn't start following you.

Silverfish:
Follows you, but if you got to far, he doesn't teleport to you. Also if you go back to him, he doesn't start following you.

Blaze:
Doesn't follow / teleport at all.

Horse:
Doesn't spawn.

Magmacube:
Damage players. And doesn't teleport / follow players.

Mushroomcow:
Doesn't spawn.

Ocelot:
Doesn't spawn.

Wolf:
Doesn't spawn.

Pigzombie:
Doesn't spawn.

Skeleton:
Burns in sun, doesn't teleport and doesn't follow you.

Zombie::
Burns in sun, doesn't teleport and doesn't follow you.

Slime:
Slime pet type is not compatible with this server version. :?

Witch:
Doesn't spawn.

Guardian:
Spawns, but it will start an server crash.

Info:

  • All pets that doesn't spawn starts an error log in the console.
  • Spigot version: CraftBukkit version git-Spigot-8a048fe-3c19fef (MC: 1.9.4) (Implementing API version 1.9.4-R0.1-SNAPSHOT)
  • SonarPets version: 1.1.0-snapshot

Build #9 v1.0.1 Riding Issues...

Mounting them for riding definitely works now, but now I can no longer reliably control any of the pets when riding them. I cannot move forward or backward at all and can only jump in place.

Console errors:

[22:19:27] [Server thread/ERROR]: Could not pass event InventoryClickEvent to SonarPet v1.0.1-SNAPSHOT org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1852) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.PacketPlayInWindowClick.a(SourceFile:33) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.PacketPlayInWindowClick.a(SourceFile:10) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_73] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_73] at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-f04e043-622014a] at java.lang.Thread.run(Unknown Source) [?:1.8.0_73] Caused by: org.bukkit.command.CommandException: Unhandled exception executing 'pet wither' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:148) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer.performCommand(CraftPlayer.java:243) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?] at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] ... 15 more Caused by: com.dsh105.echopet.compat.api.registration.PetRegistrationException: java.lang.IllegalStateException: Failed to create pet object for InternetPilot at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:121) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?] at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?] at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?] at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer.performCommand(CraftPlayer.java:243) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?] at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] ... 15 more Caused by: java.lang.IllegalStateException: Failed to create pet object for InternetPilot at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:85) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?] at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?] at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?] at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer.performCommand(CraftPlayer.java:243) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?] at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] ... 15 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_73] at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:77) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?] at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?] at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?] at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer.performCommand(CraftPlayer.java:243) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?] at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] ... 15 more Caused by: java.lang.IllegalStateException: Failed to create EntityPet object for InternetPilot at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:99) ~[?:?] at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:142) ~[?:?] at com.dsh105.echopet.compat.nms.v1_9_R1.NMSImpl.spawn(NMSImpl.java:49) ~[?:?] at com.dsh105.echopet.compat.nms.v1_9_R1.NMSImpl.spawn(NMSImpl.java:35) ~[?:?] at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:72) ~[?:?] at com.dsh105.echopet.api.pet.type.WitherPet.<init>(WitherPet.java:33) ~[?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_73] at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:77) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?] at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?] at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?] at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer.performCommand(CraftPlayer.java:243) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?] at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] ... 15 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_73] at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:91) ~[?:?] at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:142) ~[?:?] at com.dsh105.echopet.compat.nms.v1_9_R1.NMSImpl.spawn(NMSImpl.java:49) ~[?:?] at com.dsh105.echopet.compat.nms.v1_9_R1.NMSImpl.spawn(NMSImpl.java:35) ~[?:?] at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:72) ~[?:?] at com.dsh105.echopet.api.pet.type.WitherPet.<init>(WitherPet.java:33) ~[?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_73] at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:77) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?] at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?] at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?] at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer.performCommand(CraftPlayer.java:243) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?] at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] ... 15 more Caused by: java.lang.IllegalArgumentException: Duplicate id value for 13! at net.minecraft.server.v1_9_R1.DataWatcher.register(DataWatcher.java:63) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at com.dsh105.echopet.compat.nms.v1_9_R1.metadata.WrappedDataWatcher.register(WrappedDataWatcher.java:31) ~[?:?] at com.dsh105.echopet.compat.nms.v1_9_R1.entity.type.EntityWitherPet.initDatawatcher(EntityWitherPet.java:58) ~[?:?] at com.dsh105.echopet.compat.nms.v1_9_R1.entity.EntityPet.i(EntityPet.java:511) ~[?:?] at net.minecraft.server.v1_9_R1.Entity.<init>(Entity.java:184) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.EntityLiving.<init>(EntityLiving.java:120) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.EntityInsentient.<init>(EntityInsentient.java:48) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at net.minecraft.server.v1_9_R1.EntityCreature.<init>(EntityCreature.java:20) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at com.dsh105.echopet.compat.nms.v1_9_R1.entity.EntityPet.<init>(EntityPet.java:107) ~[?:?] at com.dsh105.echopet.compat.nms.v1_9_R1.entity.type.EntityWitherPet.<init>(EntityWitherPet.java:43) ~[?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_73] at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:91) ~[?:?] at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:142) ~[?:?] at com.dsh105.echopet.compat.nms.v1_9_R1.NMSImpl.spawn(NMSImpl.java:49) ~[?:?] at com.dsh105.echopet.compat.nms.v1_9_R1.NMSImpl.spawn(NMSImpl.java:35) ~[?:?] at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:72) ~[?:?] at com.dsh105.echopet.api.pet.type.WitherPet.<init>(WitherPet.java:33) ~[?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_73] at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:77) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?] at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?] at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?] at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?] at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?] at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer.performCommand(CraftPlayer.java:243) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] at com.dsh105.echopet.compat.api.util.menu.SelectorIcon.onClick(SelectorIcon.java:77) ~[?:?] at com.dsh105.echopet.compat.api.util.inventory.InventoryMenu.onInvClick(InventoryMenu.java:97) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.jar:git-Spigot-f04e043-622014a] ... 15 more

Can't create pets, exception thrown.

[11:48:08] [Server thread/INFO]: CharlieIsHere issued server command: /pet sheep
[11:48:08] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet sheep' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[Spigogt.jar:git-Spigogt-ead9aa1]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[Spigogt.jar:git-Spigogt-ead9aa1]
        at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1194) [Spigogt.jar:git-Spigogt-ead9aa1]
        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1006) [Spigogt.jar:git-Spigogt-ead9aa1]
        at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [Spigogt.jar:git-Spigogt-ead9aa1]
        at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [Spigogt.jar:git-Spigogt-ead9aa1]
        at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:277) [Spigogt.jar:git-Spigogt-ead9aa1]
        at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:154) [Spigogt.jar:git-Spigogt-ead9aa1]
        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:832) [Spigogt.jar:git-Spigogt-ead9aa1]
        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:381) [Spigogt.jar:git-Spigogt-ead9aa1]
        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:733) [Spigogt.jar:git-Spigogt-ead9aa1]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:636) [Spigogt.jar:git-Spigogt-ead9aa1]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_74]
Caused by: com.dsh105.echopet.compat.api.registration.PetRegistrationException: java.lang.IllegalStateException: Failed to create pet object for CharlieIsHere
        at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:121) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?]
        at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?]
        at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?]
        at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
        at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[Spigogt.jar:git-Spigogt-ead9aa1]
        ... 12 more
Caused by: java.lang.IllegalStateException: Failed to create pet object for CharlieIsHere
        at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:85) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?]
        at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?]
        at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?]
        at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
        at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[Spigogt.jar:git-Spigogt-ead9aa1]
        ... 12 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_74]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_74]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_74]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_74]
        at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:77) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?]
        at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?]
        at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?]
        at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
        at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[Spigogt.jar:git-Spigogt-ead9aa1]
        ... 12 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.techcable.sonarpet.particles.Particle
        at com.dsh105.echopet.compat.nms.v1_8_R3.NMSImpl.spawn(NMSImpl.java:59) ~[?:?]
        at com.dsh105.echopet.compat.nms.v1_8_R3.NMSImpl.spawn(NMSImpl.java:35) ~[?:?]
        at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:72) ~[?:?]
        at com.dsh105.echopet.api.pet.type.SheepPet.<init>(SheepPet.java:36) ~[?:?]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_74]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_74]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_74]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_74]
        at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:77) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:105) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry$1.call(PetRegistry.java:102) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry.performRegistration(PetRegistry.java:119) ~[?:?]
        at com.dsh105.echopet.compat.api.registration.PetRegistry.spawn(PetRegistry.java:102) ~[?:?]
        at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:147) ~[?:?]
        at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:121) ~[?:?]
        at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
        at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[Spigogt.jar:git-Spigogt-ead9aa1]
        ... 12 more
[11:48:09] [Server thread/WARN]: Entity threw exception at world:-228.3303767054429,72.0,-189.06371130262505
[11:48:09] [Server thread/WARN]: java.lang.NullPointerException
[11:48:09] [Server thread/WARN]:        at com.dsh105.echopet.api.pet.Pet.getCraftPet(Pet.java:94)
[11:48:09] [Server thread/WARN]:        at com.dsh105.echopet.api.pet.Pet.getLocation(Pet.java:99)
[11:48:09] [Server thread/WARN]:        at com.dsh105.echopet.compat.nms.v1_8_R3.entity.EntityPet.getLocation(EntityPet.java:133)
[11:48:09] [Server thread/WARN]:        at com.dsh105.echopet.compat.nms.v1_8_R3.entity.ai.PetGoalFollowOwner.tick(PetGoalFollowOwner.java:128)
[11:48:09] [Server thread/WARN]:        at com.dsh105.echopet.compat.api.ai.PetGoalSelector.updateGoals(PetGoalSelector.java:175)
[11:48:09] [Server thread/WARN]:        at com.dsh105.echopet.compat.nms.v1_8_R3.entity.EntityPet.t_(EntityPet.java:459)
[11:48:09] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.World.entityJoinedWorld(World.java:1654)
[11:48:09] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.World.g(World.java:1621)
[11:48:09] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1453)
[11:48:09] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:600)
[11:48:09] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:873)
[11:48:09] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:381)
[11:48:09] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:733)
[11:48:09] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:636)
[11:48:09] [Server thread/WARN]:        at java.lang.Thread.run(Thread.java:745)

Pet Select - Lag Spike

Hi, when one uses /pet select a massive lag spike occurs. I use MassiveLag so here's a pastebin of what it reports: http://pastebin.com/tFWnDeA3 (The issue is not related to DeluxeCommands for anyone which thinks "it might be a cause".

Sponge support?

Is Sponge support on the roadmap? Or would that require basically rewriting the entire plugin?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.