Bungee - Proxy ProtocolSupportBungee 1.2

Add 1.5.2, 1.6.* clients support to your bungeecord

  1. OMG thank you very much, now I have exact versions of everything :D

    All of my yes! Switched from:
    Code (Text):
    event.getPlayer().getPendingConnection().getVersion()
    to:
    Code (Text):
    ProtocolSupportAPI.getProtocolVersion(event.getPlayer()).getId()
    And works like a charm, thank you very much :D now I can plot awesome pie charts

    Last check I did regarding to 1.7 was a sudden disconnect with the message: Server outdated. I don't know what causes this but i'll wait for more dev builds.
     
    • Friendly Friendly x 1
  2. [Server] SEVERE Jul 01, 2016 1:07:33 PM io.netty.channel.ChannelInitializer exceptionCaught 01.07 13:07:33 [Server] INFO WARNING: Failed to initialize a channel. Closing: [id: 0xfa4645a0, /68.99.135.218:51991 => /45.35.11.204:25565] 01.07 13:07:33 [Server] INFO java.lang.NoSuchMethodError: net.md_5.bungee.connection.InitialHandler.<init>(Lnet/md_5/bungee/api/ProxyServer;Lnet/md_5/bungee/api/config/ListenerInfoV 01.07 13:07:33 [Server] INFO at protocolsupport.protocol.CheckedInitialHandler.<init>(CheckedInitialHandler.java:12) 01.07 13:07:33 [Server] INFO at protocolsupport.injector.NettyInjector$ProxyChannelInitializer.initChannel(NettyInjector.java:31) 01.07 13:07:33 [Server] INFO at io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:68) 01.07 13:07:33 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:143) 01.07 13:07:33 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.fireChannelRegistered(AbstractChannelHandlerContext.java:129) 01.07 13:07:33 [Server] INFO at io.netty.channel.DefaultChannelPipeline.fireChannelRegistered(DefaultChannelPipeline.java:733) 01.07 13:07:33 [Server] INFO at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:450) 01.07 13:07:33 [Server] INFO at io.netty.channel.AbstractChannel$AbstractUnsafe.access$100(AbstractChannel.java:378) 01.07 13:07:33 [Server] INFO at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:424) 01.07 13:07:33 [Server] INFO at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358) 01.07 13:07:33 [Server] INFO at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:259) 01.07 13:07:33 [Server] INFO at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) 01.07 13:07:33 [Server] INFO at java.lang.Thread.run(Thread.java:745)

    Using latest Bungeecord and ProtocolSupportBungee
     
    #82 LimeGlass, Jul 1, 2016
    Last edited: Jul 1, 2016
  3. I have the same problem as the post above.
    Here is my error upon any ping to the server very similar just wanted to provide as much info as possible:

    13:21:20 [SEVERE] Jul 05, 2016 1:21:20 PM io.netty.channel.ChannelInitializer exceptionCaught
    WARNING: Failed to initialize a channel. Closing: [id: 0x165b2c0e, /192.168.1.9:54753 => /192.168.1.10:25565]
    java.lang.NoSuchMethodError: net.md_5.bungee.connection.InitialHandler.<init>(Lnet/md_5/bungee/api/ProxyServer;Lnet/md_5/bungee/api/config/ListenerInfo;)V
    at protocolsupport.protocol.CheckedInitialHandler.<init>(CheckedInitialHandler.java:12)
    at protocolsupport.injector.NettyInjector$ProxyChannelInitializer.initChannel(NettyInjector.java:31)
    at io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:68)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:143)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRegistered(AbstractChannelHandlerContext.java:129)
    at io.netty.channel.DefaultChannelPipeline.fireChannelRegistered(DefaultChannelPipeline.java:733)
    at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:450)
    at io.netty.channel.AbstractChannel$AbstractUnsafe.access$100(AbstractChannel.java:378)
    at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:424)
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:259)
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
    at java.lang.Thread.run(Thread.java:745)

    Plugin version: 1.2 Bungee version: git:BungeeCord-Bootstrap:1.10-SNAPSHOT:1250088:1167
     
  4. #84 justincenteno99, Jul 7, 2016
    Last edited: Jul 8, 2016
  5. #85 ningwang747, Aug 12, 2016
    Last edited: Aug 12, 2016
  6. error logs
    Code (Text):
    23:03:03 [SEVERE] sie 24, 2016 11:03:03 PM io.netty.channel.ChannelInitializer exceptionCaught
    WARNING: Failed to initialize a channel. Closing: [id: 0xc42128d8, L:/192.168.7.2:25565 - R:/192.168.7.2:56719]
    java.lang.NoSuchMethodError: net.md_5.bungee.connection.InitialHandler.<init>(Lnet/md_5/bungee/api/ProxyServer;Lnet/md_5/bungee/api/config/ListenerInfo;)V
        at protocolsupport.protocol.CheckedInitialHandler.<init>(CheckedInitialHandler.java:12)
        at protocolsupport.injector.NettyInjector$ProxyChannelInitializer.initChannel(NettyInjector.java:31)
        at io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:68)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:153)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:139)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRegistered(AbstractChannelHandlerContext.java:132)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRegistered(DefaultChannelPipeline.java:1267)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:153)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:139)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRegistered(DefaultChannelPipeline.java:805)
        at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:456)
        at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:375)
        at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:425)
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:408)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:402)
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
        at java.lang.Thread.run(Unknown Source)
     
  7. Does this plugin work with HexagonMCBungeeCord?
     
  8. This? https://github.com/HexagonMC/BungeeCord/
    I do have it and I can confirm from 1.7 onwards it works perfectly. 1.6 and 1.5 doesn't connect and throws a huge Exception. On the other hand, with md_5 BungeeCord we have 1.5 and 1.6 support and 1.8 onwards. 1.7 doesn't work, as well, when trying to connect, huge Exception con console.
     
  9. BTW, checked again with all software updated and HexagonMC/Bungeecord and: 1.6 and 1.5 can't join, this is the bungee error thrown:

    13:09:45 [INFO] [/192.168.144.133:42885] <-> InitialHandler has connected
    13:09:48 [SEVERE] [/192.168.144.133:42887] <-> InitialHandler - encountered exception
    io.netty.handler.codec.DecoderException: java.lang.UnsupportedOperationException: direct buffer
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:98)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)
    at protocolsupport.protocol.listeners.initial.InitialPacketDecoder.setProtocol(InitialPacketDecoder.java:111)
    at protocolsupport.protocol.listeners.initial.InitialPacketDecoder.channelRead(InitialPacketDecoder.java:90)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
    at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:972)
    at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:386)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:302)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.UnsupportedOperationException: direct buffer
    at io.netty.buffer.UnpooledUnsafeDirectByteBuf.array(UnpooledUnsafeDirectByteBuf.java:203)
    at protocolsupport.protocol.transformer.v_1_4_1_5_1_6_core.PacketDataSerializer.readString(PacketDataSerializer.java:12)
    at protocolsupport.protocol.transformer.v_1_4_1_5_1_6_core.packets.HandshakePacket.read(HandshakePacket.java:31)
    at protocolsupport.protocol.transformer.v_1_4_1_5_1_6_core.reader.PacketReader.readDefinedPacket(PacketReader.java:111)
    at protocolsupport.protocol.transformer.v_1_4_1_5_1_6_core.reader.PacketReader.readPacket(PacketReader.java:42)
    at protocolsupport.protocol.transformer.v_1_4_1_5_1_6_core.PacketDecoder.decode(PacketDecoder.java:41)
    at protocolsupport.protocol.transformer.v_1_4_1_5_1_6_core.PacketDecoder.decode(PacketDecoder.java:17)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
    ... 22 more
     
  10. Здравствуйте, я использую ваш плагин protocolsupportbungee, что бы можно было подключаться с версии 1.5 и 1.6, так же на сервере стоит protocolsupport для версии 1.8.8, ядро стоит paperspigot 1.8.8, Сама проблема заключается в том, что игроки играющие на версии 1.5 и 1.6 вылетают, причина как я понял в плагине protocolsupportbungee, Я пробывал использовать версию и для ядра банжи 1.7-1.8, так же ядра 1.10 и 1.11, но все равно ошибки остались.
     
  11. i9hdkill

    i9hdkill Retired Moderator
    Retired Supporter

    This plugin is no longer supported.
    You might try HexaCord 1.7-1.11 bungee. Just hit the link in my signature.
    If you wanna add 1.5 and 1.6 then you can try adding Protocolsupportbungee as a plugin.
    If you need 1.5-1.11 compatibility on your spigot server, install spigot 1.11 and use Protocolsupport on it.
    Second possibility:
    spigot 1.8.8 + ViaVersion+ Protocolsupport.

    But the smartest way would be to drop 1.5 and 1.6 support.
     
    • Agree Agree x 1
    • Friendly Friendly x 1
    • Useful Useful x 1
  12. I should spigot 1.8.8 + viaversion + protocolsupport version is 1.5-1.8, and the kernel hexacord 1.7-1.11 + plugin protocolbungeecord, the problem is that version 1.5 and 1.6 kicked from server every 5-10 minutes.
     
  13. I created 2 servers 1.8.8 with ProtocolSupport (support for 1.5 to 1.10) each, in version 1.7.2 I connect normally but when I connect using 1.5.2 I enter the lobby normally but when I will teleport to another server it gives "End of Transmission "and in the console appears:



    1 01:09:34 [INFORMAÇÕES] [iBlackPow] <-> ServerConnector [átrio] se conectou
    11:09:42 [GRAVE] [iBlackPow] -> UpstreamBridge - exceção encontrado
    io.netty.handler.codec.EncoderException: java.lang.NullPointerException
    em io.netty.handler.codec.MessageToByteEncoder.write (MessageToByteEncoder.ja
    va: 125)
    em io.netty.channel.AbstractChannelHandlerContext.invokeWrite (AbstractChanne
    lHandlerContext.java:643)
    em io.netty.channel.AbstractChannelHandlerContext.write (AbstractChannelHandl
    erContext.java:700)
    em io.netty.channel.AbstractChannelHandlerContext.write (AbstractChannelHandl
    erContext.java:636)
    em io.netty.channel.DefaultChannelPipeline.write (DefaultChannelPipeline.java
    : 944)
    em io.netty.channel.AbstractChannel.write (AbstractChannel.java:239)
    em net.md_5.bungee.netty.ChannelWrapper.write (ChannelWrapper.java:49)
    em net.md_5.bungee.UserConnection $ 1.sendPacket (UserConnection.java:138)
    em net.md_5.bungee.tab.ServerUnique.onServerChange (ServerUnique.java:77)
    em protocolsupport.protocol.transformer.v_1_5_v1_6_shared.handlers.ServerCon
    nectHandler.handle (ServerConnectHandler.java:162)
    em net.md_5.bungee.protocol.packet.Login.handle (Login.java:60)
    em net.md_5.bungee.netty.HandlerBoss.channelRead (HandlerBoss.java:76)
    em io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (Abstract
    ChannelHandlerContext.java:318)
    em io.netty.channel.AbstractChannelHandlerContext.fireChannelRead (AbstractCh
    annelHandlerContext.java:304)
    em io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead (ByteToMessage
    Decoder.java:276)
    em io.netty.handler.codec.ByteToMessageDecoder.channelRead (ByteToMessageDeco
    der.java:263)
    em io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (Abstract
    ChannelHandlerContext.java:318)
    em io.netty.channel.AbstractChannelHandlerContext.fireChannelRead (AbstractCh
    annelHandlerContext.java:304)
    em io.netty.handler.timeout.ReadTimeoutHandler.channelRead (ReadTimeoutHandle
    r.java:152)
    em io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (Abstract
    ChannelHandlerContext.java:318)
    em io.netty.channel.AbstractChannelHandlerContext.fireChannelRead (AbstractCh
    annelHandlerContext.java:304)
    em io.netty.channel.DefaultChannelPipeline.fireChannelRead (DefaultChannelPip
    eline.java:846)
    em io.netty.channel.nio.AbstractNioByteChannel $ NioByteUnsafe.read (AbstractNi
    oByteChannel.java:131)
    em io.netty.channel.nio.NioEventLoop.processSelectedKey (NioEventLoop.java:51
    1)
    em io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized (NioEventLo
    op.java:468)
    em io.netty.channel.nio.NioEventLoop.processSelectedKeys (NioEventLoop.java:3
    82)
    em io.netty.channel.nio.NioEventLoop.run (NioEventLoop.java:354)
    em io.netty.util.concurrent.SingleThreadEventExecutor $ 2.run (SingleThreadEven
    tExecutor.java:112)
    em java.lang.Thread.run (Origem Desconhecida)
    Causada por: java.lang.NullPointerException
    em protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketDataSerializ
    er.writeString (PacketDataSerializer.java:16)
    em protocolsupport.protocol.transformer.v_1_5_v1_6_shared.packets.PlayerList
    ItemPacket.write (PlayerListItemPacket.java:44)
    em protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.enco
    dePackets (PacketEncoder.java:43)
    em protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.enco
    des (PacketEncoder.java:33)
    em protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.enco
    des (PacketEncoder.java:14)
    em io.netty.handler.codec.MessageToByteEncoder.write (MessageToByteEncoder.ja
    va: 107)
    ... Mais 28
    11:09:42 [INFORMAÇÕES] [iBlackPow] desconectado com: EncoderException: java.la
    ng.NullPointerException @ io.netty.handler.codec.MessageToByteEncoder: 125
    11:09:42 [INFORMAÇÕES] [iBlackPow] -> UpstreamBridge desconectou
    11:09:43 [INFORMAÇÕES] [iBlackPow] <-> DownstreamBridge <-> [teste1] tem DISCONN
    ected
    11:09:43 [INFORMAÇÕES] [iBlackPow] desconectado com: [Proxy] perdeu a conexão com
    servidor.
    11:09:43 [INFORMAÇÕES] [iBlackPow] <-> DownstreamBridge <-> [entrada] tem disconne
    CTED
     
  14. [​IMG]
    It doesn't work at HexaCord-v127
     
  15. Erro ERro.PNG Erro2.PNG Erro3.PNG

    ERRO ProtocolSupportBungee help me please bungeecord 1.7x - 1.11x
    Erro protocolsupportbungee for 1.5x - 1.11x
     
  16. alguien Tiene La vercion deque una network sea de la vercion 1.5.2 hasta la vercion 1.11 espero respuestas gracias
     
  17. plz 1.12 update plugins
     
  18. please someone pass me the protocol support bungee and bungee network that make my network 1.5.2 to 1.11
     
  19. please someone pass me the protocol support bungee and bungee network that make my network 1.5.2 to 1.11
     
  20. bungeecord error drops when it reaches 60 users playing bungeecord 1.10 protocolversion 1.5-1.11 v 1.3 dev

    09.10 11:45:37 [Server INFO -> UpstreamBridge has disconnected
    09.10 11:45:39 [Server] INFO java.lang.NullPointerException
    09.10 11:49:18 [Server] INFO Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Netty IO Thread #13"