IamTheDefender/Bedwars-Cosmetics

Bug: Using bungeecord can cause players to be kicked out of the server at the beginning of the game

zzj2039 opened this issue · 25 comments

Error codes for BungeCord:
java.lang.IllegalArgumentException: Team 1zzj123 already exists in this scoreboard at com.google.common.base.Preconditions.checkArgument(Preconditions.java:218) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at net.md_5.bungee.api.score.Scoreboard.addTeam(Scoreboard.java:73) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at net.md_5.bungee.connection.DownstreamBridge.handle(DownstreamBridge.java:281) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at net.md_5.bungee.protocol.packet.Team.handle(Team.java:129) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:124) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:454) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at java.lang.Thread.run(Thread.java:840) [?:?]
Spigot no errors:
zzj123 lost connection: Disconnected

What does this have to do with Cosmetics addon tho?

What does this have to do with Cosmetics addon tho?

I don't know, but when I remove the Cosmetics plugin or remove the Cosmetics dependency plugin, this situation won't occur

I am not sure, but are you using latest citizens version?

You can test it yourself and you will find that you were kicked out of the game after it started

I am not sure, but are you using latest citizens version?

Citizens-2.0.32-b3147

You can test it yourself and you will find that you were kicked out of the game after it started

Well I could but then I don't have a bungee setup

What is your plugin version again?

Can you also update to citizens Citizens-2.0.33-b3305

What is your plugin version again?

I use Bedwars1058-23.12.2 and BW1058-Cosmetics-1.4.5

Can you also update to citizens Citizens-2.0.33-b3305

Okay, I will test it later

Can you 也 update to citizens Citizens-2.0.33-b3305

Is the test result the same or was it kicked out of the game

Can you also update to citizens Citizens-2.0.33-b3305

Perhaps the answer can be found in the submission record of bedwars1058, as I did not have this issue with version 23.3 of bedwars1058 before

Can you 也 update to citizens Citizens-2.0.33-b3305

Is the test result the same or was it kicked out of the game

For me, everything seems to be working fine, did it work for you? and are you sure it's a problem from cosmetics addon itself?

Can you 也 update to citizens Citizens-2.0.33-b3305

Is the test result the same or was it kicked out of the game

For me, everything seems to be working fine, did it work for you? and are you sure it's a problem from cosmetics addon itself?

Everything works fine when you don't connect to bungee, but when you connect to bungee you have problems

Did you try with the latest citizens?

Did you try with the latest citizens?

Yeah, it's still out of order

Oh, I will be releasing an update today or tomorrow and you can try that and let me know if that issue persists

Oh, I will be releasing an update today or tomorrow and you can try that and let me know if that issue persists

ok

Looks like a new bug was reported so 1.4.6 might be delayed, you can join our support server and download the dev build if you need an immediate update

On Thu, 25 Jan 2024, 7:39 pm zzj2039, @.> wrote: Oh, I will be releasing an update today or tomorrow and you can try that and let me know if that issue persists ok — Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARMMNF2UC24RA3J4UYLAEPTYQJRTPAVCNFSM6AAAAABCJ7QJNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI4TCMRZGY . You are receiving this because you were mentioned.Message ID: @.>

okay

Looks like a new bug was reported so 1.4.6 might be delayed, you can join our support server and download the dev build if you need an immediate update

On Thu, 25 Jan 2024, 7:39 pm zzj2039, @.> wrote: Oh, I will be releasing an update today or tomorrow and you can try that and let me know if that issue persists ok — Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARMMNF2UC24RA3J4UYLAEPTYQJRTPAVCNFSM6AAAAABCJ7QJNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI4TCMRZGY . You are receiving this because you were mentioned.Message ID: _@**.**_>

okay

Where is your development channel

Did you mean the invite of the discord server? https://discord.gg/wt3qxCCq or did you mean the latest update for cosmetics? if you meant the second one, just go to support section and click cosmetics, scroll a little and you will find the latest update

This issue is not with Cosmetics plugin, check https://dev-wiki.iamthedefender.xyz/bedwars-cosmetics/faq therefore, I will be closing this issue, thank you letting me know anyway

This issue is not with Cosmetics plugin, check https://dev-wiki.iamthedefender.xyz/bedwars-cosmetics/faq therefore, I will be closing this issue, thank you letting me know anyway

Okay, thank you for developing this plugin