BedWars1058
BedWars1058 copied to clipboard
Player Join to Arena bug
Describe the bug When a player joins a Solo arena (1/8), it's working fine. But if other player joins (2/8), that other player got kicked into the fallback server.
The errors below is when the "other player" joins which means 2 player in the arena Error (In Bungee-Spigot): [04:00:04 INFO]: Golden_Sword___ issued server command: /bw join random [04:00:04 INFO]: Golden_Sword___ lost connection: Internal Exception: java.io.IOException: Error while write(...): Connection reset by peer [04:00:04 INFO]: - Golden_Sword___ Disconnected
Error (In Bungee-Proxy):
04:00:54 [SEVERE] [Golden_Sword___] <-> DownstreamBridge <-> [main] - encountered exception java.lang.IllegalArgumentException: Team already exists in this scoreboard at com.google.common.base.Preconditions.checkArgument(Preconditions.java:220) at net.md_5.bungee.api.score.Scoreboard.addTeam(Scoreboard.java:73) at net.md_5.bungee.connection.DownstreamBridge.handle(DownstreamBridge.java:223) at net.md_5.bungee.protocol.packet.Team.handle(Team.java:124) at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:114) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:311) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:432) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:795) at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:480) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.lang.Thread.run(Thread.java:748) 04:00:54 [INFO] [Golden_Sword___] <-> DownstreamBridge <-> [main] has disconnected 04:00:54 [INFO] [Golden_Sword___] <-> ServerConnector [otherServer] has connected
To Reproduce Steps to reproduce the behavior: https://www.youtube.com/watch?v=qj8CpwmfCmY
Expected behavior When the "other player" joined, it won't kick him. Instead wait for the timer to go down and start (or wait other players)
Screenshots Just see the video
System (please complete the following information):
- OS: idk
- Server software: Bungee-Spigot
- Server Version 1.8
- Plugin Version 22.3.4 [SHARED mode]
Additional context