Bungee - Proxy ProtocolSupportBungee 1.2

Add 1.5.2, 1.6.* clients support to your bungeecord

  1. Hello. This Plugins is Amazing But plz Some Feature add plz. First Animation MOTD bungee Plugins add with ProtocolSupportBungee Then Server is always down. any animation plugins. plz make work with Animation MOTD Plugins.

    and second If use Autoin plugins use bungee then ProtocolSupportBungee doesnt work. and if try to connect to minecraft 1.8 server said server can not connect because server is online mode.

    But bungee Server and Lobby Server is offline mode. i think ProtocolSuppotBungee Transper Wrong DATA.


    I hope you add this 2 feature add it. Thx for make Awesome Plugins. have a good day

    #Shevchik
     
    #21 swan201, Jul 24, 2015
    Last edited: Jul 25, 2015
  2. @Shevchik, could you please add an option to disable or change command /ps because when I installed this plugin, my bukkit server plugin PreciousStone stopped working since BungeeProtocolSupport took over the command.
     
  3. Im getting this error when connecting with 1.6/1.5 on Spigot 1.8 and latest protocolsupport and protocolsupportbungee
    [​IMG]
     
  4. The plugin ATM works fine for my network.
    If you want to test:
    IP: mc.baragcraft.com
    [​IMG]
     
  5. Hello @Shevchik, is there anyway i could make 1.9 clients join my hub in order to allow them to teleport to a snapshot server?
     
  6. This plugin blocks commands.
    As it solve?
     
  7. I download the latest dev build and use the latest BungeeCord build.

    In the 1.5.2 kick me with: "End of stream"
    BungeeCord give me this warning.

    17:34:11 [GRAVE] [_Ganondorf] -> UpstreamBridge - encountered exception
    io.netty.handler.codec.EncoderException: java.lang.NullPointerException
    at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125)
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:633)
    at io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:32)
    at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:908)
    at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:893)
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.NullPointerException
    at protocolsupport.utils.Utils.clampString(Utils.java:10)
    at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.packets.PlayerListItemPacket.write(PlayerListItemPacket.java:45)
    at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encodePackets(PacketEncoder.java:43)
    at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encode(PacketEncoder.java:33)
    at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encode(PacketEncoder.java:14)
    at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
    ... 8 more
    17:34:11 [INFORMACIÓN] [ThePixelPro] disconnected with: §fEncoderException : java.lang.NullPointerException @ io.netty.handler.codec.MessageToByteEncoder:125
    17:34:11 [INFORMACIÓN] [pabloXD] disconnected with: §fEncoderException : java.lang.NullPointerException @ io.netty.handler.codec.MessageToByteEncoder:125
    17:34:11 [INFORMACIÓN] [_Ganondorf] disconnected with: §fEncoderException : java.lang.NullPointerException @ io.netty.handler.codec.MessageToByteEncoder:125
    17:34:11 [GRAVE] [shsh] -> UpstreamBridge - encountered exception
    io.netty.handler.codec.EncoderException: java.lang.NullPointerException
    at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125)
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:633)
    at io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:32)
    at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:908)
    at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:893)
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.NullPointerException
    at protocolsupport.utils.Utils.clampString(Utils.java:10)
    at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.packets.PlayerListItemPacket.write(PlayerListItemPacket.java:45)
    at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encodePackets(PacketEncoder.java:43)
    at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encode(PacketEncoder.java:33)
    at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encode(PacketEncoder.java:14)
    at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
    ... 8 more
     
  8. Will fix it later.
     
    • Friendly Friendly x 1
  9. Error for the last updated of the dev build has here,

    When my players with the 1.5.2 enter the server, kicked.
    http://pastebin.com/czMJhzYH

    Thanks guy for fix the problems :D
    Wait a donation for you.
     
  10. Plugin works with: 1.5.2, 1.7.x,1.8.x but when I try to join with a 1.6.x client, minecraft crashes with this problem:
    Code (Text):
    ---- Minecraft Crash Report ----
    // I bet Cylons wouldn't have this problem.

    Time: 16/10/15 2:54
    Description: Deserializing Message

    java.lang.ClassCastException: com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonObject
        at cx.a(SourceFile:14)
        at cx.deserialize(SourceFile:10)
        at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)
        at com.google.gson.Gson.fromJson(Gson.java:795)
        at com.google.gson.Gson.fromJson(Gson.java:761)
        at com.google.gson.Gson.fromJson(Gson.java:710)
        at com.google.gson.Gson.fromJson(Gson.java:682)
        at cv.c(SourceFile:220)
        at bcw.a(SourceFile:522)
        at dm.a(SourceFile:49)
        at co.b(SourceFile:354)
        at bcw.e(SourceFile:98)
        at bcy.c(SourceFile:71)
        at atv.k(SourceFile:1173)
        at atv.S(SourceFile:663)
        at atv.d(SourceFile:619)
        at net.minecraft.client.main.Main.main(SourceFile:101)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- Head --
    Stacktrace:
        at cx.a(SourceFile:14)
        at cx.deserialize(SourceFile:10)
        at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)
        at com.google.gson.Gson.fromJson(Gson.java:795)
        at com.google.gson.Gson.fromJson(Gson.java:761)
        at com.google.gson.Gson.fromJson(Gson.java:710)
        at com.google.gson.Gson.fromJson(Gson.java:682)

    -- Serialized Message --
    Details:
        JSON string: §f§f§cHas entrado al servidor: lobby
    Stacktrace:
        at cv.c(SourceFile:220)
        at bcw.a(SourceFile:522)
        at dm.a(SourceFile:49)
        at co.b(SourceFile:354)
        at bcw.e(SourceFile:98)
        at bcy.c(SourceFile:71)

    -- Affected screen --
    Details:
        Screen name: bcy
    Stacktrace:
        at atv.k(SourceFile:1173)
        at atv.S(SourceFile:663)
        at atv.d(SourceFile:619)
        at net.minecraft.client.main.Main.main(SourceFile:101)

    -- System Details --
    Details:
        Minecraft Version: 1.6.4
        Operating System: Windows 10 (amd64) version 10.0
        Java Version: 1.8.0_60, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 220025168 bytes (209 MB) / 255066112 bytes (243 MB) up to 1060372480 bytes (1011 MB)
        JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
        AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
        Suspicious classes: No suspicious classes found.
        IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
        Launched Version: 1.6.4
        LWJGL: 2.9.0
        OpenGL: GeForce GTX 970/PCIe/SSE2 GL version 4.5.0 NVIDIA 358.50, NVIDIA Corporation
        Is Modded: Probably not. Jar signature remains and client brand is untouched.
        Type: Client (map_client.txt)
        Resource Pack: Default
        Current Language: English (US)
        Profiler Position: N/A (disabled)
        Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
     
  11. Post this to github issues, so i won't forget this.
     
  12. This happens when you have a plugin like HolographicDisplays and it has a large message. I had this issue too and the solution was removing large messages.
     
  13. Done. BTW awesome plugin!!!
     
  14. I get this error and player with 1.7.10 crash cliendt player 1.7.5 just get msg logining in
    error http://pastebin.com/HSJqBe7U
    1.6 players outdated server
     
  15. @KikiCro26 Post this to github issues, So he won't forget this. :)
     
  16. I am having the same problem as KikiCro26!

    He didn't supply enough data for you to correctly debug it so I will tell you here.
    So the plugin (I call it the semipremium plugin) we are using sends cracked players to the default sub-server. It sends premium players to another server specified in the plugin's config. This plugin overpowers the semipremium plugin, sending premium players to the default server (In my case the login server, which is a problem because premium players cannot login). We would greatly appreciate if you could prevent this plugin from overpowering the semipremium plugin.

    I know you can't download the plugin, so here's the line of code the semipremium plugin uses to send players to the premium lobby if they are premium.
    Code (Text):
     paramServerConnectEvent.setTarget(getProxy().getServerInfo((String)this.lobbyPremium.get(0)));
    Also 1.5 and 1.6.x players cannot change servers. They get disconnected.

    Thank you for reading this. I hope you are able to fix this.
     
    • Agree Agree x 1
    • Useful Useful x 1
  17. Love this plugin.And it works well.
     
  18. error
    Code (Text):
    23:51:01 [SEVERE] [QiiQii] -> UpstreamBridge - encountered exception
    io.netty.handler.codec.EncoderException: java.lang.NullPointerException
        at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125)
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:633)
        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:691)
        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:626)
        at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:944)
        at io.netty.channel.AbstractChannel.write(AbstractChannel.java:239)
        at net.md_5.bungee.netty.ChannelWrapper.write(ChannelWrapper.java:49)
        at net.md_5.bungee.UserConnection$1.sendPacket(UserConnection.java:138)
        at net.md_5.bungee.tab.ServerUnique.onServerChange(ServerUnique.java:77)
        at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.handlers.ServerConnectHandler.handle(ServerConnectHandler.java:162)
        at net.md_5.bungee.protocol.packet.Login.handle(Login.java:60)
        at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:76)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
        at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:152)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
        at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketDataSerializer.writeString(PacketDataSerializer.java:16)
        at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.packets.PlayerListItemPacket.write(PlayerListItemPacket.java:44)
        at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encodePackets(PacketEncoder.java:43)
        at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encode(PacketEncoder.java:33)
        at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encode(PacketEncoder.java:14)
        at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
        ... 27 more
    23:51:01 [INFO] [QiiQii] disconnected with: §fEncoderException : java.lang.NullPointerException @ io.netty.handler.codec.MessageToByteEncoder:125