Coder Social home page Coder Social logo

viaversion / viaversion Goto Github PK

View Code? Open in Web Editor NEW
1.1K 40.0 250.0 20.26 MB

Allows the connection of newer clients to older server versions for Minecraft servers.

Home Page: https://viaversion.com

License: GNU General Public License v3.0

Java 99.96% Kotlin 0.04%
minecraft plugin spigot bukkit bungeecord sponge java velocity viaversion sponge-plugin

viaversion's Introduction

ViaVersion

Latest Release Build Status Discord

Allows the connection of higher client versions to lower server versions - it works on any platform you can think of.

The base ViaVersion jar runs on Paper, Velocity, Bungee, and Sponge. We also have projects integrating ViaVersion to run on Fabric, Forge, or as a standalone proxy to join from basically any client version on any server version from the past decade. See HERE for an overview of the different Via* projects.

Supported Versions:

Table (https://i.imgur.com/sTrVnC2.png)

User Docs: https://docs.viaversion.com/display/VIAVERSION/

Releases/Dev Builds

You can find official releases in the following places:

Dev builds for all of our projects are on our Jenkins server:

ViaVersion as a Dependency

JavaDocs: https://jd.viaversion.com

Maven:

<repository>
    <id>viaversion-repo</id>
    <url>https://repo.viaversion.com</url>
</repository>
<dependency>
    <groupId>com.viaversion</groupId>
    <artifactId>viaversion-api</artifactId>
    <version>[4.0.0,5.0.0)</version>
    <scope>provided</scope>
</dependency>

Gradle:

repositories {
    maven("https://repo.viaversion.com")
}

dependencies {
    compileOnly("com.viaversion:viaversion-api:VERSION") // Replace the version
}

If you need access to the existing protocol or platform implementations, use the parent artifact viaversion. Please note the differences in licensing.

Building

After cloning this repository, build the project with Gradle by running ./gradlew build and take the created jar out of the build/libs directory.

Mapping Files

Mapping files are generated and managed in our Mappings repository.

Resources

License

The entirety of the API directory (including the legacy API directory) is licensed under the MIT License; see licenses/MIT.md for details.

Everything else, unless explicitly stated otherwise, is licensed under the GNU General Public License v3, including the end-product as a whole; see licenses/GPL.md for details.

Special thanks to all our Contributors.

viaversion's People

Contributors

7kasper avatar astei avatar camotoy avatar creeper123123321 avatar earthcomputer avatar fillefilip8 avatar florianmichael avatar foorcee avatar formallymyles avatar gerrygames avatar gigosaurus avatar hugokerstens avatar jo0001 avatar joserobjr avatar jpenilla avatar kennytv avatar kichura avatar lemoncaramel avatar matsv avatar mmxw11 avatar mrmicky-fr avatar pablete1234 avatar paulomart avatar plancke avatar raphimc avatar redned235 avatar terrarier2111 avatar tomcraft avatar valaphee avatar vectrixdevelops 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  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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

viaversion's Issues

incoming packet not found 147455 state: PLAY

[20:52:17 INFO]: incoming packet not found 147455 state: PLAY
[20:52:17 INFO]: throwing
[20:52:17 WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
io.netty.handler.codec.DecoderException: java.lang.RuntimeException: Incoming Packet not found? 147455 State: PLAY Version: 107
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:280) ~[spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149) ~[spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:722) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.lang.RuntimeException: Incoming Packet not found? 147455 State: PLAY Version: 107
        at us.myles.ViaVersion.transformers.IncomingTransformer.transform(IncomingTransformer.java:27) ~[?:?]
        at us.myles.ViaVersion.handlers.ViaDecodeHandler.decode(ViaDecodeHandler.java:33) ~[?:?]
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:249) ~[spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        ... 18 more

Using ViaVersion 0.4.3.

Boss Bars don't work

I mean they're kind of a hack in the first place, but they don't work for like BossBarAPI or what.

Probably need fixing.

ProtocolLib PacketAdapters listening for PacketType.Play.Server.MAP_CHUNK causes exceptions for 1.9 clients

Upon joining (and the server attempting to send chunk data to the 1.9 client), you get one of these lovelies for each packet that would be sent:

[14:11:14] [Netty Epoll Server IO #0/WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
java.io.IOException: Error while write(...): Broken pipe
    at io.netty.channel.epoll.Native.writeAddress(Native Method) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.epoll.EpollSocketChannel.writeBytes(EpollSocketChannel.java:125) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.epoll.EpollSocketChannel.doWriteSingle(EpollSocketChannel.java:337) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.epoll.EpollSocketChannel.doWrite(EpollSocketChannel.java:325) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:707) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.flush0(AbstractEpollChannel.java:240) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:676) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1059) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:688) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:669) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:688) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:669) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:688) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:669) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:688) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:669) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:688) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:718) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[Spigot.jar:git-Spigot-db6de12-07c3001]
    at com.comphenix.protocol.compat.netty.independent.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:327) ~[?:?]
    at net.minecraft.server.v1_8_R3.NetworkManager$4.run(NetworkManager.java:198) [Spigot.jar:git-Spigot-db6de12-07c3001]
    at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$5$3.run(NettyChannelInjector.java:345) [ProtocolLib.jar:3.6.5-b222]
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380) [Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268) [Spigot.jar:git-Spigot-db6de12-07c3001]
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [Spigot.jar:git-Spigot-db6de12-07c3001]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]

For example, creating a plugin and sticking the following line of code in the onEnable() will cause the above exception(s) to happen.

ProtocolLibrary.getProtocolManager().addPacketListener(new PacketAdapter(this, PacketType.Play.Server.MAP_CHUNK) {});

java.nio.channels.ClosedChannelException

Getting this error spammed in console, also attempting to login to the server results in a json error in client.

[17:58:52] [Server thread/INFO]: cloakfox[/xxxxxxxx:45070] logged in with entity id 1550 at ([world]90.00878933169102, 12.686565755031928, 765.8303972542614)
[17:58:52] [Netty Epoll Server IO #0/WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
java.nio.channels.ClosedChannelException
[17:58:52] [Server thread/INFO]: cloakfox lost connection: Disconnected
[17:58:52] [Netty Epoll Server IO #0/WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
java.nio.channels.ClosedChannelException
[17:58:52] [Netty Epoll Server IO #0/WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
java.nio.channels.ClosedChannelException
[17:58:52] [Netty Epoll Server IO #0/WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
java.nio.channels.ClosedChannelException
[17:58:52] [Netty Epoll Server IO #0/WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
java.nio.channels.ClosedChannelException
[17:58:52] [Netty Epoll Server IO #0/WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
java.nio.channels.ClosedChannelException
[17:58:52] [Netty Epoll Server IO #0/WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
java.nio.channels.ClosedChannelException

EnderDragon skull

When a 1.9 player places a enderdragon skull, 1.8 players see it as a skeleton skull

Wither Boss Bars breaking

15:57:55 INFO: An error occurred with entity meta data for WITHER

[15:57:55 WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
io.netty.handler.codec.EncoderException: java.lang.RuntimeException: An internal error occured.

at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125) ~[server.jar:git-PaperSpigot-7aa4900-62a2169]
at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$3.write(NettyChannelInjector.java:268) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658) ~[server.jar:git-PaperSpigot-7aa4900-62a2169]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716) ~[server.jar:git-PaperSpigot-7aa4900-62a2169]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706) ~[server.jar:git-PaperSpigot-7aa4900-62a2169]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741) ~[server.jar:git-PaperSpigot-7aa4900-62a2169]
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895) ~[server.jar:git-PaperSpigot-7aa4900-62a2169]
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[server.jar:git-PaperSpigot-7aa4900-62a2169]
at com.comphenix.protocol.compat.netty.independent.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:327) ~[?:?]
at net.minecraft.server.v1_8_R3.NetworkManager$4.run(NetworkManager.java:198) [server.jar:git-PaperSpigot-7aa4900-62a2169]
at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$5$3.run(NettyChannelInjector.java:345) [ProtocolLib.jar:3.6.5-b222]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380) [server.jar:git-PaperSpigot-7aa4900-62a2169]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268) [server.jar:git-PaperSpigot-7aa4900-62a2169]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [server.jar:git-PaperSpigot-7aa4900-62a2169]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_73]
Caused by: java.lang.RuntimeException: An internal error occured.
at com.comphenix.protocol.reflect.accessors.DefaultMethodAccessor.invoke(DefaultMethodAccessor.java:20) ~[?:?]
at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.encode(NettyChannelInjector.java:490) ~[?:?]
at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$3.encode(NettyChannelInjector.java:262) ~[?:?]
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[server.jar:git-PaperSpigot-7aa4900-62a2169]
... 14 more
Caused by: java.lang.NullPointerException
at us.myles.ViaVersion.transformers.OutgoingTransformer.transformMetadata(OutgoingTransformer.java:638) ~[?:?]
at us.myles.ViaVersion.transformers.OutgoingTransformer.transform(OutgoingTransformer.java:217) ~[?:?]
at us.myles.ViaVersion.handlers.ViaEncodeHandler.encode(ViaEncodeHandler.java:62) ~[?:?]
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
at com.comphenix.protocol.reflect.accessors.DefaultMethodAccessor.invoke(DefaultMethodAccessor.java:16) ~[?:?]
at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.encode(NettyChannelInjector.java:490) ~[?:?]
at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$3.encode(NettyChannelInjector.java:262) ~[?:?]
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[server.jar:git-PaperSpigot-7aa4900-62a2169]
... 14 more

I'm running BungeeCord by the way.

io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(10) + length(89) exceeds writerIndex(94): UnpooledHeapByteBuf(ridx: 10, widx: 94, cap: 128)

[20:46:33 INFO]: throwing
[20:46:33 WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(10) + length(89) exceeds writerIndex(94): UnpooledHeapByteBuf(ridx: 10, widx: 94, cap: 128)
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:280) ~[spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149) ~[spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:722) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.lang.IndexOutOfBoundsException: readerIndex(10) + length(89) exceeds writerIndex(94): UnpooledHeapByteBuf(ridx: 10, widx: 94, cap: 128)
        at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1175) ~[spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:676) ~[spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:684) ~[spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        at us.myles.ViaVersion.util.PacketUtil.readString(PacketUtil.java:95) ~[?:?]
        at us.myles.ViaVersion.transformers.IncomingTransformer.transform(IncomingTransformer.java:78) ~[?:?]
        at us.myles.ViaVersion.handlers.ViaDecodeHandler.decode(ViaDecodeHandler.java:33) ~[?:?]
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:249) ~[spigot-lobby3.jar:git-PaperSpigot-"5c510af"]
        ... 18 more
[20:46:33 WARN]: java.lang.reflect.InvocationTargetException
[20:46:33 WARN]:        at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
[20:46:33 WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[20:46:33 WARN]:        at java.lang.reflect.Method.invoke(Method.java:497)
[20:46:33 WARN]:        at us.myles.ViaVersion.util.PacketUtil.callDecode(PacketUtil.java:48)
[20:46:33 WARN]:        at us.myles.ViaVersion.handlers.ViaDecodeHandler.decode(ViaDecodeHandler.java:41)
[20:46:33 WARN]:        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:249)
[20:46:33 WARN]:        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149)
[20:46:33 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
[20:46:33 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
[20:46:33 WARN]:        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
[20:46:33 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
[20:46:33 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
[20:46:33 WARN]:        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
[20:46:33 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
[20:46:33 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
[20:46:33 WARN]:        at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)
[20:46:33 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
[20:46:33 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
[20:46:33 WARN]:        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
[20:46:33 WARN]:        at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:722)
[20:46:33 WARN]:        at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326)
[20:46:33 WARN]:        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264)
[20:46:33 WARN]:        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
[20:46:33 WARN]:        at java.lang.Thread.run(Thread.java:745)
[20:46:33 WARN]: Caused by: java.io.IOException: Packet 0/20 (PacketPlayInTabComplete) was larger than I expected, found 109 bytes extra whilst reading packet 20
[20:46:33 WARN]:        at net.minecraft.server.v1_8_R3.PacketDecoder.decode(SourceFile:42)
[20:46:33 WARN]:        ... 24 more

Using ViaVersion 0.4.3

Exception showing up frequently in the log

17:52:09 INFO]: ---------[/---.---.---.---:51682] logged in with entity id 8 at ([lobby]0.5, 99.0, -3.5)
[17:52:09 INFO]: An error occurred with entity meta data for PLAYER
[17:52:09 INFO]: Old ID: 1 New ID: 1
[17:52:09 INFO]: Old Type: Short New Type: VarInt
[17:52:09 WARN]: java.lang.ClassCastException: java.lang.Byte cannot be cast to java.lang.Short
[17:52:09 WARN]:        at us.myles.ViaVersion.metadata.MetadataRewriter.writeMetadata1_9(MetadataRewriter.java:76)
[17:52:09 WARN]:        at us.myles.ViaVersion.transformers.OutgoingTransformer.transformMetadata(OutgoingTransformer.java:498)
[17:52:09 WARN]:        at us.myles.ViaVersion.transformers.OutgoingTransformer.transform(OutgoingTransformer.java:396)
[17:52:09 WARN]:        at us.myles.ViaVersion.handlers.ViaEncodeHandler.encode(ViaEncodeHandler.java:63)
[17:52:09 WARN]:        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
[17:52:09 WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[17:52:09 WARN]:        at java.lang.reflect.Method.invoke(Method.java:498)
[17:52:09 WARN]:        at com.comphenix.protocol.reflect.accessors.DefaultMethodAccessor.invoke(DefaultMethodAccessor.java:16)
[17:52:09 WARN]:        at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.encode(NettyChannelInjector.java:506)
[17:52:09 WARN]:        at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$3.encode(NettyChannelInjector.java:264)
[17:52:09 WARN]:        at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
[17:52:09 WARN]:        at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$3.write(NettyChannelInjector.java:270)
[17:52:09 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658)
[17:52:09 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716)
[17:52:09 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706)
[17:52:09 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741)
[17:52:09 WARN]:        at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895)
[17:52:09 WARN]:        at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240)
[17:52:09 WARN]:        at com.comphenix.protocol.compat.netty.independent.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:327)
[17:52:09 WARN]:        at net.minecraft.server.v1_8_R3.NetworkManager$4.run(NetworkManager.java:198)
[17:52:09 WARN]:        at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$6$3.run(NettyChannelInjector.java:361)
[17:52:09 WARN]:        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)
[17:52:09 WARN]:        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268)
[17:52:09 WARN]:        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
[17:52:09 WARN]:        at java.lang.Thread.run(Thread.java:745)

Nether and End not loading chunks

When entering the end or the nether, no chunks are loaded, you just see void. I don't know if this is possible to fix because of the mechanical changes to worlds, but it's still worth a shot to submit the report. Thanks for the work you guys are putting into this.

Random Ghast Shoot Fireball Sound

When ingame there sometimes is a random ghast shoot fireball sound.
This issue also appeared before my pull request. It is not a 'Named Sound Effect' packet, or it doesn't get recognized as that packet.
It is probably the new Sound Effect packet.

Wrong sounds

When a 1.8 player closes a fence gate it makes a sound of a arrow sometimes.
and other times a random ghast sounds just appear, I don't know what is making the ghast song.

Strange Error

Hello!

02.03 21:15:29 [Server] ERROR Unable to inject handlers, are you on 1.8? 02.03 21:15:29 [Server] WARN java.lang.NoSuchMethodException: net.minecraft.server.v1_8_R3.MinecraftServer.getServerConnection() 02.03 21:15:29 [Server] WARN at java.lang.Class.getDeclaredMethod(Class.java:2130) 02.03 21:15:29 [Server] WARN at us.myles.ViaVersion.ViaVersionPlugin.injectPacketHandler(ViaVersionPlugin.java:60) 02.03 21:15:29 [Server] WARN at us.myles.ViaVersion.ViaVersionPlugin.onEnable(ViaVersionPlugin.java:43) 02.03 21:15:29 [Server] WARN at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:320) 02.03 21:15:29 [Server] WARN at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:348) 02.03 21:15:29 [Server] WARN at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416) 02.03 21:15:29 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:351) 02.03 21:15:29 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:323) 02.03 21:15:29 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.CraftServer.<init>(CraftServer.java:260) 02.03 21:15:29 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerList.<init>(PlayerList.java:71) 02.03 21:15:29 [Server] WARN at net.minecraft.server.v1_8_R3.DedicatedPlayerList.<init>(SourceFile:14) 02.03 21:15:29 [Server] WARN at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:179) 02.03 21:15:29 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:524) 02.03 21:15:29 [Server] WARN at java.lang.Thread.run(Thread.java:745)

It works perfectly fine on Spigot 1.8.x, however for another one of my servers in my network, I use a different server software called "sportbukkit" which is just a fork of CraftBukkit/Bukkit as well. I'm not quite seeing why it's not working with it; some help would be nice.

https://github.com/overcastnetwork/sportbukkit

Fishing rod issue.

You are unable to see your own fishing line when you try to fish. Other players are able to see it though.

java.lang.IndexOutOfBoundsException

PaperSpigot

Version:This server is running CraftBukkit version git-PaperSpigot-"a861cc6" (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)

Console: https://i.tcpr.ca/xBkx065
Client: https://i.tcpr.ca/kWhSSS4
Plugins: https://i.tcpr.ca/0ZDKnsa

Spigot

Version: This server is running CraftBukkit version git-Spigot-db6de12-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)

Console: https://i.tcpr.ca/gLCTgrm
Client: https://i.tcpr.ca/Nih0Chu
Plugins: https://i.tcpr.ca/0ZDKnsa

Chat crashes client with JSON error

I can login to the server just fine, but when typing /list right when the list of users comes up, I get the

"malformed JSON at line 1 column 2" error. This happens with the latest version as well as the pre-compiled version on spigot.

EDIT: when titlemanager is installed on the server a client crash happens as well.

'com.google.gson.stream.MalformedJsonException' upon login

I'm certain this is a dumb question, but I'm not a dev so I don't really know what else to do.

When running mvn install I get the error Failed to execute goal on project ViaVersion: Could not resolve dependencies for project us.myles:ViaVersion:jar:1.0-SNAPSHOT: Could not find artifact org.bukkit:bukkit:jar:1.8.8-R0.1-SNAPSHOT -> [Help 1].

As far as I know, Bukkit got taken down in the DMCA, so I assume I have to put a 1.8.8 bukkit.jar in some folder somewhere to use it as a dependency, right? I just don't know where.

Thanks and sorry for the ignorant question.

Unable to sign and read books

You can write text in them, but signing them is not possible.
Also when trying to read a signed book it won't open.

Horses

When a 1.9 player try to ride a horse he is kicked with "Disconnected" with this console error
io.netty.handler.codec.DecoderException: java.lang.RuntimeException: An internal error occured.

No Such Field Exception: childHandler

When I install this plugin, I get this error:

[15:25:33 INFO]: [ViaVersion] Enabling ViaVersion v0.2
[15:25:33 INFO]: ViaVersion enabled, injecting. (Allows 1.8 to be accessed via 1.9)
[15:25:33 INFO]: Unable to inject handlers, are you on 1.8?
[15:25:33 WARN]: java.lang.NoSuchFieldException: childHandler
[15:25:33 WARN]: at java.lang.Class.getDeclaredField(Class.java:2070)
[15:25:33 WARN]: at us.myles.ViaVersion.ReflectionUtil.get(ReflectionUtil.java:31)
[15:25:33 WARN]: at us.myles.ViaVersion.Core.injectPacketHandler(Core.java:45)
[15:25:33 WARN]: at us.myles.ViaVersion.Core.onEnable(Core.java:25)
[15:25:33 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)
[15:25:33 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
[15:25:33 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
[15:25:33 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357)
[15:25:33 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317)
[15:25:33 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414)
[15:25:33 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378)
[15:25:33 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333)
[15:25:33 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263)
[15:25:33 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525)
[15:25:33 WARN]: at java.lang.Thread.run(Thread.java:745)

Version: This server is running CraftBukkit version git-Spigot-e4d4710-e1ebe52 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT) , the latest as of now

Any help is appreciated!

ProtocolLib?

The plugin doesn't work with ProtocolLib which is all very well on a test server.
But it can't be deployed onto our actual servers.

Any fix?

10 issues

  1. Bows and arrows will not work for 1.9 clients
  2. It will take forever to eat with a 1.9 clients
  3. Skin hats pants etc... will not show up for 1.9 clients
  4. If you are using 1.9 and wear an armor, it will work, but it will not show on the armor bar
  5. Your client will crash if you get near a wither boss with 1.9 client
  6. You can not see the ender dragon boss bar
  7. For 1.9 clients all spawn eggs will not have textures (all of them are white spawn egg named "spawn"), but its still working
  8. Spawners dont have the right type as they all show as pig spawners for 1.9 clients, but its still working
  9. "AAC" an anti hack plugin crash the players after being online for around 10 seconds

Players able to lose items if put into the offhand slot

Just tested this with a dev instance of one of my servers.

If you are in creative on the server (for what ever reason) and then put a block into the offhand slot, then logout, you lose the item completely.

image 2016-03-03 at 1 11 38 am

As shown by the screenshot, it is not ghosting any other slot either.

Internal Exception: io.netty.handler.codec.DecoderException...

Internal Exception: io.netty.handler.codec.DecoderException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: User JsonReader.setLenient(true) to accept malformed JSON at line 1 column 2

Any idea why I would always just get disconnected or get one of those exceptions with 1.9 client on latest BungeeCord and latest Spigot 1.8.9?

Change MetaIndex to use NMS Entities

Use reflection to get ID from NMS then turn into EntityType. This way we can support custom entities like EchoPet (as this is what stops it working properly)

DecoderException : java.lang.IndexOutOfBoundsException @ io.netty.handler.codec.MessageToMessageDecoder:99 (with 1.9 client)

This is still an issue with 1.9 client, 1.8 works fine now... 1.9 client would only see:

DecoderException : java.lang.IndexOutOfBoundsException @ io.netty.handler.codec.MessageToMessageDecoder:99

and with debug=true I'd get:

[18:37:16] [Thread-22/INFO]: UUID of player player is 2b90d869-0140-3bee-a66f-75a0d0941663
[18:37:16] [Server thread/INFO]: player[/127.0.0.1:38097] logged in with entity id 27 at ([world]-1.6557193171111857, 64.0, -0.08174551224638282)
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.io.IOException: Error while write(...): Broken pipe
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.epoll.Native.writeAddress(Native Method)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.epoll.EpollSocketChannel.writeBytes(EpollSocketChannel.java:125)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.epoll.EpollSocketChannel.doWriteSingle(EpollSocketChannel.java:337)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.epoll.EpollSocketChannel.doWrite(EpollSocketChannel.java:325)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:707)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.flush0(AbstractEpollChannel.java:240)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:676)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1059)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:688)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:669)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:688)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:669)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:688)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:669)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:688)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:718)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at net.minecraft.server.v1_8_R3.NetworkManager$4.run(NetworkManager.java:198)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
[18:37:16] [Netty Epoll Server IO #3/WARN]:     at java.lang.Thread.run(Thread.java:745)
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Server thread/INFO]: player lost connection: Internal Exception: java.io.IOException: Error while write(...): Broken pipe
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException
[18:37:16] [Netty Epoll Server IO #3/WARN]: java.nio.channels.ClosedChannelException

and it's a setup with Spigot behind latest BungeeCord without protocollib.

1.9 doesn't actually work

Connecting with a 1.9 client doesn't actually work. It just shows the "Spigot 1.8.8" message. 1.8 clients can join.

An error occurred with entity meta data for PLAYER

[23:29:51 INFO]: An error occurred with entity meta data for PLAYER
[23:29:51 INFO]: Old ID: 1 New ID: 1
[23:29:51 INFO]: Old Type: Short New Type: VarInt
[23:29:51 WARN]: java.lang.ClassCastException: java.lang.Byte cannot be cast to java.lang.Short
[23:29:51 WARN]:        at us.myles.ViaVersion.metadata.MetadataRewriter.writeMetadata1_9(MetadataRewriter.java:76)
[23:29:51 WARN]:        at us.myles.ViaVersion.transformers.OutgoingTransformer.transformMetadata(OutgoingTransformer.java:498)
[23:29:51 WARN]:        at us.myles.ViaVersion.transformers.OutgoingTransformer.transform(OutgoingTransformer.java:396)
[23:29:51 WARN]:        at us.myles.ViaVersion.handlers.ViaEncodeHandler.encode(ViaEncodeHandler.java:63)
[23:29:51 WARN]:        at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
[23:29:51 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658)
[23:29:51 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716)
[23:29:51 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706)
[23:29:51 WARN]:        at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741)
[23:29:51 WARN]:        at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895)
[23:29:51 WARN]:        at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240)
[23:29:51 WARN]:        at net.minecraft.server.v1_8_R3.NetworkManager$4.run(NetworkManager.java:198)
[23:29:51 WARN]:        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)
[23:29:51 WARN]:        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268)
[23:29:51 WARN]:        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
[23:29:51 WARN]:        at java.lang.Thread.run(Thread.java:745)

and 1.9 clients are unable to connect... ViaVersion 0.4.4

Arrows Don't have Correct Velocity

When shooting an arrow, it falls to the ground in front of you.
A second later you will see it appear at the correct location.
Probably has something to do with the entity velocity packet.

Netty console spam version 0.4.3

With the newest version (0.4.3) you still get this spammed in console.

[13:06:50] [Netty Server IO #1/WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
java.nio.channels.ClosedChannelException

Incorrect Fire Charge Velocity

When shooting a fire charge from a dispenser it will just stutter forward.
The charge it self doesn't move, it just teleports a few meters everytime.
There is probably something wrong with the Entity Velocity packet, as arrows tend to behave strange sometimes as well.

Holograms position

Holograms position is like 2 blocks or so above normal. This only happens when using 1.9 client

boats

you can spawn boats but you cant LEAVE the boats...
i'm using ViaVersion 0.4.3

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.