Coder Social home page Coder Social logo

echopet's People

Contributors

arnuh avatar borlea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  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

echopet's Issues

News mobs of the 1.13 ?

Hi,

Is it expected that the new mobs of the 1.13 (dolphins, turtles, phantom...) be added ?

Echopet needs update for latest WE

WE changed it's vector system completely.
EngineHub/WorldEdit@399e0ad
Echopet needs an update to it.

[18:40:51] [Server thread/WARN]: [EchoPet] Task #2083751 for EchoPet v1.0.4-SNAPSHOT-b generated an exception java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector at com.dsh105.echopet.compat.api.util.WorldUtil.allowRegion(WorldUtil.java:54) ~[?:?] at com.dsh105.echopet.compat.api.util.WorldUtil.allowPets(WorldUtil.java:37) ~[?:?] at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:113) ~[?:?] at com.dsh105.echopet.api.SqlPetManager.createPetFromDatabase(SqlPetManager.java:135) ~[?:?] at com.dsh105.echopet.api.SqlPetManager.createPetFromDatabase(SqlPetManager.java:101) ~[?:?] at com.dsh105.echopet.api.PetManager.loadPets(PetManager.java:56) ~[?:?] at com.dsh105.echopet.listeners.PetOwnerListener$2.run(PetOwnerListener.java:235) ~[?:?] at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:63) ~[patched_1.13.2.jar:git-Paper-447] at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.13.2.jar:git-Paper-447] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1008) ~[patched_1.13.2.jar:git-Paper-447] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-447] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.2.jar:git-Paper-447] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.2.jar:git-Paper-447] at java.lang.Thread.run(Unknown Source) [?:1.8.0_192]

Download link

Where can I find a download link for the 1.13 version?

Compiling

I'm having so many errors from compiling because of missing dependencies as some of the repo's have gone.

I've fixed everything but I cannot get the proper VanishNoPacket repo setup, do you have a compiled jar for release or have a repo that contains VanishNoPacket?

WorldEdit vector implementation logic changed.

New WorldEdit dev builds added a new vector implementation. Logic is now Vector3/BlockVector3.

[21:00:50] [Server thread/WARN]: [EchoPet] Task #663 for EchoPet v1.0.4-SNAPSHOT-b generated an exception
java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
	at com.dsh105.echopet.compat.api.util.WorldUtil.allowRegion(WorldUtil.java:54) ~[?:?]
	at com.dsh105.echopet.compat.api.util.WorldUtil.allowPets(WorldUtil.java:37) ~[?:?]
	at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:113) ~[?:?]
	at com.dsh105.echopet.api.PetManager.createPetFromFile(PetManager.java:242) ~[?:?]
	at com.dsh105.echopet.api.PetManager.loadPets(PetManager.java:77) ~[?:?]
	at com.dsh105.echopet.listeners.PetOwnerListener$2.run(PetOwnerListener.java:235) ~[?:?]
	at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:63) ~[patched_1.13.2.jar:git-Paper-429]
	at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1008) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.2.jar:git-Paper-429]
	at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.Vector
	at java.net.URLClassLoader.findClass(URLClassLoader.java:471) ~[?:?]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:158) ~[patched_1.13.2.jar:git-Paper-429]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[patched_1.13.2.jar:git-Paper-429]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
	... 13 more

[21:25:48] [Server thread/WARN]: [EchoPet] Task #13031 for EchoPet v1.0.4-SNAPSHOT-b generated an exception
java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
	at com.dsh105.echopet.compat.api.util.WorldUtil.allowRegion(WorldUtil.java:54) ~[?:?]
	at com.dsh105.echopet.compat.api.util.WorldUtil.allowPets(WorldUtil.java:37) ~[?:?]
	at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:113) ~[?:?]
	at com.dsh105.echopet.api.PetManager.createPetFromFile(PetManager.java:242) ~[?:?]
	at com.dsh105.echopet.api.PetManager.loadPets(PetManager.java:77) ~[?:?]
	at com.dsh105.echopet.listeners.PetOwnerListener$2.run(PetOwnerListener.java:235) ~[?:?]
	at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:63) ~[patched_1.13.2.jar:git-Paper-429]
	at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1008) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.2.jar:git-Paper-429]
	at java.lang.Thread.run(Thread.java:834) [?:?]
[22:26:09] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet wolf' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.13.2.jar:git-Paper-429]
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:729) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1761) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1565) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12) ~[patched_1.13.2.jar:git-Paper-429]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.2.jar:git-Paper-429]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.2.jar:git-Paper-429]
	at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
	at com.dsh105.echopet.compat.api.util.WorldUtil.allowRegion(WorldUtil.java:54) ~[?:?]
	at com.dsh105.echopet.compat.api.util.WorldUtil.allowPets(WorldUtil.java:37) ~[?:?]
	at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:113) ~[?:?]
	at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:425) ~[?:?]
	at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:47) ~[?:?]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[patched_1.13.2.jar:git-Paper-429]
	... 14 more

1.14 support

First somewhat tested version is available here https://github.com/Arnuh/EchoPet/tree/v1_14_R1

Fox item is set via item in inventory?
Pillager crossbow is set via inventory.
Allow customizing PetData/PetDataCategory items
Rework generatePetInfo and generatePetDataInfo to be a method inside each pet.
Make pufferfish do sounds when you increase or decrease its size. ENTITY_PUFFER_FISH_BLOW_UP and ENTITY_PUFFER_FISH_BLOW_OUT
Also probably should readd EnderDragon but I'm at the point idc to continue fixing it.

I'll try to keep this updated with what im doing.

Server Owner Notes:
If you notice any permission issues make sure to create an issue.

  • I reworked the petdata completely so certain names might have been changed resulting in permission changes.
  • I also specify hat/ride more like a "PetData" so it no longer has a specific permission node it instead goes under the same path that other petdata is under. Example: echopet.pet.type.zombievillager.hat. it still has a parent permission node to give hat/ride for ALL pets.

NMS Bump

Nvm, doesn't look like it's needed.

CommandException: Unhandled exception executing 'pet enderdragon

Paper dev 368 (Spigot 1.13.1)
EchoPets compiled as of commit 80522c8

[02:12:36] [Server thread/INFO]: mibby issued server command: /pet enderdragon
[02:12:37] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet enderdragon' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:161) ~[patched_1.13.1.jar:git-Paper-368]
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:729) ~[patched_1.13.1.jar:git-Paper-368]
	at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1743) ~[patched_1.13.1.jar:git-Paper-368]
	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1547) ~[patched_1.13.1.jar:git-Paper-368]
	at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.13.1.jar:git-Paper-368]
	at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.13.1.jar:git-Paper-368]
	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12) ~[patched_1.13.1.jar:git-Paper-368]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109) ~[patched_1.13.1.jar:git-Paper-368]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016) ~[patched_1.13.1.jar:git-Paper-368]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:434) ~[patched_1.13.1.jar:git-Paper-368]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.1.jar:git-Paper-368]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.1.jar:git-Paper-368]
	at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.IllegalStateException: Failed to create EntityPet object for mibby
	at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:90) ~[?:?]
	at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:202) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.SpawnUtil.spawn(SpawnUtil.java:54) ~[?:?]
	at com.dsh105.echopet.api.pet.Pet.spawnPet(Pet.java:91) ~[?:?]
	at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:442) ~[?:?]
	at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:47) ~[?:?]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[patched_1.13.1.jar:git-Paper-368]
	... 14 more
Caused by: java.lang.reflect.InvocationTargetException
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
	at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:86) ~[?:?]
	at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:202) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.SpawnUtil.spawn(SpawnUtil.java:54) ~[?:?]
	at com.dsh105.echopet.api.pet.Pet.spawnPet(Pet.java:91) ~[?:?]
	at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:442) ~[?:?]
	at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:47) ~[?:?]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[patched_1.13.1.jar:git-Paper-368]
	... 14 more
Caused by: java.lang.NullPointerException
	at com.dsh105.echopet.compat.nms.v1_13_R2.entity.type.EntityEnderDragonPet.n(EntityEnderDragonPet.java:182) ~[?:?]
	at net.minecraft.server.v1_13_R2.EntityInsentient.<init>(EntityInsentient.java:70) ~[patched_1.13.1.jar:git-Paper-368]
	at net.minecraft.server.v1_13_R2.EntityCreature.<init>(EntityCreature.java:15) ~[patched_1.13.1.jar:git-Paper-368]
	at com.dsh105.echopet.compat.nms.v1_13_R2.entity.EntityPet.<init>(EntityPet.java:64) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.entity.EntityNoClipPet.<init>(EntityNoClipPet.java:32) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.entity.type.EntityEnderDragonPet.<init>(EntityEnderDragonPet.java:61) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
	at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:86) ~[?:?]
	at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:202) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.SpawnUtil.spawn(SpawnUtil.java:54) ~[?:?]
	at com.dsh105.echopet.api.pet.Pet.spawnPet(Pet.java:91) ~[?:?]
	at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:442) ~[?:?]
	at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:47) ~[?:?]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[patched_1.13.1.jar:git-Paper-368]
	... 14 more

Tested all pets on latest build (17)

Latest build.
I've tested absolutely all pets.

Only issues I've found that remain are:

Enderdragon falls through the world when spawned.
Enderdragon riding has issues and is stuck going forward/backwards/down. Shifting it upwards seems fine. As does holding A or D for left and right.
Riding horses issue persists. #14

If anyone would like to add any bugs, please do and respond :) Trying to get a list together.

1.15 support

I honestly got 0 idea what came out in 1.15 other then bees and new rendering stuff?(Plus I hear the game prioritizes chunk loading over high fps)

General todo list:
Iron Golem cracking(set hp)?
All the 1.14 stuff I forgot.
Fox item is set via item in inventory?
Pillager crossbow is set via inventory.
Proper flying ai.
Allow customizing PetData/PetDataCategory items
Rework generatePetInfo and generatePetDataInfo to be a method inside each pet.
Make pufferfish do sounds when you increase or decrease its size. ENTITY_PUFFER_FISH_BLOW_UP and ENTITY_PUFFER_FISH_BLOW_OUT
Also probably should readd EnderDragon but I'm at the point idc to continue fixing it.
Also still have Parrots and Shulkers?

Looks like 1.15 nms isn't using mojang mappings making this a very sad day.

Also if you haven't checked the 1.14 issue I suggest reading it as some possible breaking changes happened. #46

Player entity getting stuck unable to teleport after wearing a pet as a hat.

Paper dev 522
EchoPets dev 23

@Arnuh If you wear a pet as a hat and then subsequently remove the pet afterwards, you are unable to teleport whatsoever. With essentials tp / home, joining various arena plugins, multiverse teleporting, portal plugins, etc.

The player entity gets effectively locked into their current world location when they equipped the pet hat.

Some pets do not work

The following pets doesn't work on 1.13:
Enderdragon (Error in console)
Magmacube (I'm getting a slime cube)
Mushroomcow (I'm getting a normal cow)
Zombievillager (Pet is invisible. Nametag is vissible)

NoSuchMethodError: com.dsh105.echopet.compat.nms.v1_14_R1.entity.EntityPet.ax()Z [

Paper dev 122 (Spigot 1.14.3)
EchoPets 1.14 dev 9

[16:10:22] [Server thread/WARN]: Entity threw exception at world:14273.289137623968,74.0,4161.846999860054
[16:10:22] [Server thread/WARN]: java.lang.NoSuchMethodError: com.dsh105.echopet.compat.nms.v1_14_R1.entity.EntityPet.ax()Z
[16:10:22] [Server thread/WARN]: 	at com.dsh105.echopet.compat.nms.v1_14_R1.entity.ai.PetGoalFloat.shouldStart(PetGoalFloat.java:47)
[16:10:22] [Server thread/WARN]: 	at com.dsh105.echopet.compat.api.ai.PetGoalSelector.updateGoals(PetGoalSelector.java:142)
[16:10:22] [Server thread/WARN]: 	at com.dsh105.echopet.compat.nms.v1_14_R1.entity.EntityPet.tick(EntityPet.java:550)
[16:10:22] [Server thread/WARN]: 	at net.minecraft.server.v1_14_R1.WorldServer.entityJoinedWorld(WorldServer.java:579)
[16:10:22] [Server thread/WARN]: 	at net.minecraft.server.v1_14_R1.World.a(World.java:933)
[16:10:22] [Server thread/WARN]: 	at net.minecraft.server.v1_14_R1.WorldServer.doTick(WorldServer.java:354)
[16:10:22] [Server thread/WARN]: 	at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1192)
[16:10:22] [Server thread/WARN]: 	at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:420)
[16:10:22] [Server thread/WARN]: 	at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1064)
[16:10:22] [Server thread/WARN]: 	at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:908)
[16:10:22] [Server thread/WARN]: 	at java.lang.Thread.run(Thread.java:748)
[16:10:22] [Server thread/ERROR]: [global] TIMING_STACK_CORRUPTION - Report this to Paper! This is a potential bug in Paper (TimingIdentifier{id=Minecraft:## tickEntity - com.dsh105.echopet.compat.nms.v1_14_R1.entity.type.EntityOcelotPet} did not stopTiming)
java.lang.Throwable: null
	at co.aikar.timings.TimingHandler.popTimingStack(TimingHandler.java:135) ~[patched_1.14.3.jar:git-Paper-122]
	at co.aikar.timings.TimingHandler.stopTiming(TimingHandler.java:117) ~[patched_1.14.3.jar:git-Paper-122]
	at net.minecraft.server.v1_14_R1.World.a(World.java:945) ~[patched_1.14.3.jar:git-Paper-122]
	at net.minecraft.server.v1_14_R1.WorldServer.doTick(WorldServer.java:354) ~[patched_1.14.3.jar:git-Paper-122]
	at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1192) ~[patched_1.14.3.jar:git-Paper-122]
	at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:420) ~[patched_1.14.3.jar:git-Paper-122]
	at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1064) ~[patched_1.14.3.jar:git-Paper-122]
	at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:908) ~[patched_1.14.3.jar:git-Paper-122]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

Improve settings of 1.13 mobs such as turtle, pufferfish and tropical fish

Turtles: Add possibility of having a baby turtle

Pufferfish: Like slime or magmacube, have the chance of select the pufferfish size (small, medium and big one)

Tropical Fish: Add possibility of select the skin of the tropical fish you have, right now you only can have the white one and could be amazing if it was like horse, sheep or llama skins that you can select the skin!

Download Link Broken

The download link for Arnuh's EchoPet appears to be broken at the moment. Not sure if that is on purpose or not. Just letting you know. Thanks for keeping this project up to date. Really great stuff.

WorldGuard entry flag can be bypassed.

Config:

worldguard: regions: echopet: true allowByDefault: true regionEnterCheck: true

Riding a pet bypasses the entry flag allowing you to enter the region.
Riding a regular horse with a saddle does not bypass the flag and works fine.

Something on EchoPet's side that's causing this.

Not working on 1.13.2?

When trying to add the plugin, I get errors in console. I tried the latest build first, went back and tried build #20 from Jenkins, no luck on either one of them.
For what its worth, I'm running git-Spigot-f56e2e7-0c715b3 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
https://pastebin.com/yTsCA0eH

Pet's idle sound problem

I noticed when using EchoPet for 1.13.2, mobs does not make their idle sound. Is this expected or its an issue on my side? No rush for the 1.13.2 =D

Running on Paper 1.13.2. On 1.12.2 I hear their idle sound, but not on 1.13.2

1.14.4 incompatibility - NoSuchMethodError EnumCreatureType

Paper dev 136 (spigot 1.14.4)
EchoPet dev 17

@Arnuh Fix needed similar to what was done in HolographicDisplays? filoghost/HolographicDisplays@467fe74

[09:28:32] [Server thread/WARN]: [EchoPet] Task #90284 for EchoPet v1.0.5-SNAPSHOT-b17 generated an exception
java.lang.NoSuchMethodError: net.minecraft.server.v1_14_R1.EntityTypes.d()Lnet/minecraft/server/v1_14_R1/EnumCreatureType;
	at com.dsh105.echopet.compat.nms.v1_14_R1.PetRegistry.enablePets(PetRegistry.java:101) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_14_R1.SpawnUtil.spawn(SpawnUtil.java:53) ~[?:?]
	at com.dsh105.echopet.api.pet.Pet.spawnPet(Pet.java:97) ~[?:?]
	at com.dsh105.echopet.listeners.PetOwnerListener$2.run(PetOwnerListener.java:237) ~[?:?]
	at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.4.jar:git-Paper-136]
	at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452) ~[patched_1.14.4.jar:git-Paper-136]
	at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1144) ~[patched_1.14.4.jar:git-Paper-136]
	at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:420) ~[patched_1.14.4.jar:git-Paper-136]
	at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1076) ~[patched_1.14.4.jar:git-Paper-136]
	at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:920) ~[patched_1.14.4.jar:git-Paper-136]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

Horses are buggy

Whenever I ride a horse it lags really hard client-side. The horse barely moves and when I got off I get teleported where I was supposed to be with the horse.

1.11.2 load issue

[18:14:46] [Server thread/ERROR]: Could not load 'plugins\EchoPet-1.0.4-SNAPSHOT.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/dsh105/echopet/compat/api/plugin/IEchoPetPlugin
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[1.11.2.jar:git-Paper-1104]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:331) ~[1.11.2.jar:git-Paper-1104]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:254) [1.11.2.jar:git-Paper-1104]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:302) [1.11.2.jar:git-Paper-1104]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:208) [1.11.2.jar:git-Paper-1104]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:612) [1.11.2.jar:git-Paper-1104]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
Caused by: java.lang.NoClassDefFoundError: com/dsh105/echopet/compat/api/plugin/IEchoPetPlugin
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_181]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_181]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_181]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.8.0_181]
at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.8.0_181]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_181]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_181]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_181]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[1.11.2.jar:git-Paper-1104]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[1.11.2.jar:git-Paper-1104]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_181]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_181]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:65) ~[1.11.2.jar:git-Paper-1104]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[1.11.2.jar:git-Paper-1104]
... 6 more
Caused by: java.lang.ClassNotFoundException: com.dsh105.echopet.compat.api.plugin.IEchoPetPlugin
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_181]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[1.11.2.jar:git-Paper-1104]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[1.11.2.jar:git-Paper-1104]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_181]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_181]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_181]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.8.0_181]
at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.8.0_181]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_181]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_181]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_181]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[1.11.2.jar:git-Paper-1104]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[1.11.2.jar:git-Paper-1104]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_181]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_181]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:65) ~[1.11.2.jar:git-Paper-1104]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[1.11.2.jar:git-Paper-1104]
... 6 more
[18:14:46] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[18:14:46] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****

NoSuchMethodError: com.sk89q.worldguard.internal.platform.WorldGuardPlatform.getWorldByName(Ljava/lang/String;)Lcom/sk89q/worldedit/world/World;

Paper dev 488 (Spigot 1.13.2)
EchoPet dev 19
WorldEdit dev 3982
WorldGuard dev 1779

@Arnuh Incompatibile with latest WorldGuard?

[00:50:43] [Server thread/INFO]: player issued server command: /pet tropicalfish
[00:50:43] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet tropicalfish' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.13.2.jar:git-Paper-488]
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:732) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1792) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1595) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12) ~[patched_1.13.2.jar:git-Paper-488]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.2.jar:git-Paper-488]
	at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.internal.platform.WorldGuardPlatform.getWorldByName(Ljava/lang/String;)Lcom/sk89q/worldedit/world/World;
	at com.dsh105.echopet.compat.api.util.WorldUtil.allowRegion(WorldUtil.java:49) ~[?:?]
	at com.dsh105.echopet.compat.api.util.WorldUtil.allowPets(WorldUtil.java:37) ~[?:?]
	at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:113) ~[?:?]
	at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:425) ~[?:?]
	at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:47) ~[?:?]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[patched_1.13.2.jar:git-Paper-488]
	... 14 more
[00:50:54] [Server thread/INFO]: player issued server command: /pet squid
[00:50:54] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet squid' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.13.2.jar:git-Paper-488]
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:732) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1792) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1595) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12) ~[patched_1.13.2.jar:git-Paper-488]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.2.jar:git-Paper-488]
	at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.internal.platform.WorldGuardPlatform.getWorldByName(Ljava/lang/String;)Lcom/sk89q/worldedit/world/World;
	at com.dsh105.echopet.compat.api.util.WorldUtil.allowRegion(WorldUtil.java:49) ~[?:?]
	at com.dsh105.echopet.compat.api.util.WorldUtil.allowPets(WorldUtil.java:37) ~[?:?]
	at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:113) ~[?:?]
	at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:425) ~[?:?]
	at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:47) ~[?:?]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[patched_1.13.2.jar:git-Paper-488]
	... 14 more

Ender Dragon Riding

Hi,

All seems to work in 1.12 except for the Ender Dragon.
I know that the dragon falling through the world is not something you can fix but what about the riding?

Going forward or backwards with the dragon is broken, left and right works fine.
If you could fix that it would be enough for me, the dragon falling through the world is a different issue but something I can live with.

(I did have some other version of echopet in 1.11 where the enderdragon worked fine and didn't fall through the world, not sure if giving you the .jar would help at all? To be honest, I've got no idea where I got it from and I thought it was one of your releases)

EchoPets delays start-up initialization by over 15 seconds.

@borlea Compiled as of 9ffe50f

Start-up time is delayed by over 15 seconds with your fork of EchoPets.

[07:55:46] [Server thread/INFO]: [WGNoFlyZone] Hooked into WorldGuard 6.2.2-SNAPSHOT;1708-3a8e3e8
[07:56:01] [Server thread/INFO]: [EchoPet] Enabling EchoPet v1.0.4-SNAPSHOT-b
[07:56:01] [Server thread/INFO]: [EchoPet] [INFO] [VanishNoPacket] Successfully hooked
[07:56:01] [Server thread/INFO]: [EchoPet] [INFO] [WorldGuard] Successfully hooked

And here it is again with a different plugin loading in-between to show it isn't caused by WGNoFlyZone.

[07:53:23] [Server thread/INFO]: [Plan] Player Analytics Enabled.
[07:53:39] [Server thread/INFO]: [EchoPet] Enabling EchoPet v1.0.4-SNAPSHOT-b

Implement the setting of attributes.

Pets are missing attributes which isn't really shown but its most visible on pets that you can naturally ride like Horses or Pigs where movement gets desynced. The desync from when I last tested was due to GenericAttributes.MOVEMENT_SPEED not being set.

This would also used in the future for the possibility of readding pets to do PVP/PVM

Small permission bug Fox (Hat)

Hello!

I am using your updated version of Echopet and I wanted to first let you know that it really is amazing. Thank you so much for updating this! :)
I bumped into 2 small bugs and I hope you could fix them whenever you have time.
The first one is that the new mobs from 1.14 like the Fox are not (yet) in the Pet Selector GUI. I had to use the command /pet Fox (which is not really a big deal by the way).
My second bug is that when I spawn this Fox and I do not have OP on my Server and I have the following permissions:
- echopet.pet.type.fox
- echopet.pet.type.fox.*
and also a negated permission:
- -echopet.hat.*
Then I am still able to wear the Fox on my head. So even without having the permission I am able to use it.
This method of defining my permissions does work for all other mobs, like a zombie. I cannot place those on my hat with this configuration, since I negated the hat permission.
I am really hoping you can help me out and fix this for me :)
Thank you so much in advance!

Kind regards,
Waterman1001

I AM SORRY FOR POSTING THIS. IT WAS A BUG WITH MY OWN PERMISSIONS PLUGIN.
CLOSING THIS ISSUE BECAUSE OF THAT. SORRY FOR BOTHERING <3

Invisible Pets

Alright Borlea let me pick your brain with this problem. Every plugin we've tried since 1.11.x has had problems with showing pets to the players. Pets spawn in fine, in terms of no error messages to the user, and no errors in the console. The problem is pets can't be seen by the players in game.

The other plugins we tried had a few different methods for registering the pets. Working with those devs we weren't able to get very far. They came to the conclusion it was broke, or it was based on the gamerule doMobSpawning, however I believe that only affects the natural spawning of mobs, not when a plugin is doing it.

Our plugin list is fairly short: EchoPet, LibsDisguises, ProtocolLib, LogBlock, Essentials, BanManager, SuperTrails, WorldEdit, NoCheatPlus, a plot plugin, and a roleplay/chat handling plugin.

The only conflicts I can think of is ProtocolLib or LibsDisguises, however those were never an issue before (all plugins are up to date).

Bug detecting you in regions of worldguard while riding or having pet as a hat

When you are riding a pet and enter entry-deny region you can override that protection while you are mounting it, also if it has a flag of command-on-entry, teleport or any flag.

It's like when you are riding the pet or have it as a hat, your position don't change, when you dismount the pet then you get detected again.

And the bug of putting /pet remove while you have a pet as a hat still happening!

Very grateful if I recieve an answer. Nice plugin!

Bug with /home after use pets

Hi,

This bug is present for a long time but I wonder if anyone could solve it ?
When we use quite a lot of pets in a short time sometimes it happens that the player can not make any more orders of the type /home, teleportation commands actually.
It takes a disconnect to solve the problem, it is not dramatic but if it could be resolved it would be perfect.

Sliding pet rabbits and other stuff

I noticed that with the new version of echopets (1.0.4 -b) for 1.12, rabbits arent hopping anymore, they just slide around, following thier owner.

Also how do i properly remove items/options from the pet menu? Just deleting the strings in the config file dosent seems to work, they get recreated by the next server restart.

I was wondering what happend to your spigot page of echopets. Any reason why you removed that?

Pet MagmaCubes cannot change sizes.

Using the latest build from 1.15.1 branch.
Pet magmacubes cannot change sizes.
Pet slimes do not have this problem.

No errors, noting in console.
Simply right click the pet magmacube and attempt changing size, nothing happens. It's always small.
All perms are correct.

Jenkins issues.

Alright, I've set up a public jenkins for you here with the echopet job.
https://ci.ecocitycraft.com/job/EchoPet

Here are is the current problem:
Full log: https://ci.ecocitycraft.com/job/EchoPet/1/console
[ERROR] Failed to execute goal on project EchoPet-Parent: Could not resolve dependencies for project com.dsh105:EchoPet-Parent:pom:1: The following artifacts could not be resolved: com.captainbern:Minecraft-Reflection:jar:1.0.2-SNAPSHOT, com.codingforcookies:robert:jar:1.0: Could not find artifact com.captainbern:Minecraft-Reflection:jar:1.0.2-SNAPSHOT in spigot-repo (https://hub.spigotmc.org/nexus/content/repositories/snapshots/) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Will need a pom fix or you to send me artifacts so I can deploy them to my repo and build off the local artifact.

PS: I set the job to Poll Jenkins every 5 minutes.
If you want to setup Github hook let me know and I'll get that done for you and provide the secret key.

Spigot 1.12.2 & BungeeCord

When i use EchoPet for 1.12.2 on a Spigot/Bungeecord server i became proxy error and kick me to fallback server. And the latest Version on Jenkins dont compatible on Spigot 1.12.2

Error:
03:31:17 [SCHWERWIEGEND] [xPanakita] <-> DownstreamBridge <-> [CB1] - encountered exception io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): UnpooledSlicedByteBuf(ridx: 0, widx: 0, cap: 0/0, unwrapped: PooledUnsafeDirectByteBuf(ridx: 2, widx: 2, cap: 256)) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:98) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799) at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:433) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:330) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:909) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): UnpooledSlicedByteBuf(ridx: 0, widx: 0, cap: 0/0, unwrapped: PooledUnsafeDirectByteBuf(ridx: 2, widx: 2, cap: 256)) at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1437) at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:730) at net.md_5.bungee.protocol.DefinedPacket.readVarInt(DefinedPacket.java:121) at net.md_5.bungee.protocol.DefinedPacket.readVarInt(DefinedPacket.java:111) at net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:28) at net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:10) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88) ... 25 more

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.