Describe the bug
whenever i try to connect a bot to my server it refuses to actually enter the world and if i try to make it do literally anything it terminates itself and throws an exception
To Reproduce
i don't really get how to do this as it only bugs out on my main computer
Expected behavior
wanted the bot to join my server
Screenshot or app console output
java -jar mc-bots-1.2.14.jar -s 192.168.1.56 -r
[16:06:24] INFO | IP: 192.168.1.56
[16:06:24] INFO | Port: 25565
[16:06:24] INFO | Bot count: 1
[16:06:25] INFO | Server version: Paper 1.21.4 (769)
[16:06:25] INFO | Player Count: 0 / 10
[16:06:25] INFO |
[16:06:25] INFO | Creating bot Apocqlypse_
[16:06:26] INFO | MainListener registered for: Apocqlypse_
// more than half an hour later...
// the bot never managed to actually enter the world
ALL> t
[16:42:31] INFO | Apocqlypse_ disconnected
[16:42:31] INFO | -> Internal Exception: io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
ALL> io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:61)
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:21)
at io.netty.handler.codec.MessageToMessageCodec$1.encode(MessageToMessageCodec.java:67)
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90)
at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
at org.geysermc.mcprotocollib.network.netty.FlushHandler.write(FlushHandler.java:20)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:934)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:984)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at org.geysermc.mcprotocollib.network.session.NetworkSession.send(NetworkSession.java:194)
at org.geysermc.mcprotocollib.network.session.NetworkSession.lambda$send$0(NetworkSession.java:185)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:413)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
at org.geysermc.mcprotocollib.network.packet.PacketRegistry.getServerboundId(PacketRegistry.java:189)
at org.geysermc.mcprotocollib.network.packet.PacketRegistry.getServerboundId(PacketRegistry.java:203)
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:43)
... 27 more
[16:42:31] INFO |
[16:42:31] INFO | Bot with MainListener removed
[16:42:31] ERROR | All bots disconnected, exiting
Whole command used to start the app
java -jar mc-bots-1.2.14.jar -s 192.168.1.56 -r
Additional context
i'm using java open jdk 21 and my server only has ProtocolLib installed
**Describe the bug**
whenever i try to connect a bot to my server it refuses to actually enter the world and if i try to make it do literally anything it terminates itself and throws an exception
**To Reproduce**
i don't really get how to do this as it only bugs out on my main computer
**Expected behavior**
wanted the bot to join my server
**Screenshot or app console output**
java -jar mc-bots-1.2.14.jar -s 192.168.1.56 -r
[16:06:24] INFO | IP: 192.168.1.56
[16:06:24] INFO | Port: 25565
[16:06:24] INFO | Bot count: 1
[16:06:25] INFO | Server version: Paper 1.21.4 (769)
[16:06:25] INFO | Player Count: 0 / 10
[16:06:25] INFO |
[16:06:25] INFO | Creating bot Apocqlypse_
[16:06:26] INFO | MainListener registered for: Apocqlypse_
// more than half an hour later...
// the bot never managed to actually enter the world
ALL> t
[16:42:31] INFO | Apocqlypse_ disconnected
[16:42:31] INFO | -> Internal Exception: io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
ALL> io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:61)
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:21)
at io.netty.handler.codec.MessageToMessageCodec$1.encode(MessageToMessageCodec.java:67)
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90)
at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
at org.geysermc.mcprotocollib.network.netty.FlushHandler.write(FlushHandler.java:20)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:934)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:984)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at org.geysermc.mcprotocollib.network.session.NetworkSession.send(NetworkSession.java:194)
at org.geysermc.mcprotocollib.network.session.NetworkSession.lambda$send$0(NetworkSession.java:185)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:413)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
at org.geysermc.mcprotocollib.network.packet.PacketRegistry.getServerboundId(PacketRegistry.java:189)
at org.geysermc.mcprotocollib.network.packet.PacketRegistry.getServerboundId(PacketRegistry.java:203)
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:43)
... 27 more
[16:42:31] INFO |
[16:42:31] INFO | Bot with MainListener removed
[16:42:31] ERROR | All bots disconnected, exiting
**Whole command used to start the app**
java -jar mc-bots-1.2.14.jar -s 192.168.1.56 -r
**Additional context**
i'm using java open jdk 21 and my server only has ProtocolLib installed
Server is Forge 54.1.3 / Minecraft 1.21.4. Important: The server has mods, but no mod is required on client-side. Vanilla clients are able to connect and play.
Log:
> java -jar .\mc-bots-1.2.14.jar -s "192.168.8.15:54454" -c 1 -j "Hello, there!" -p "_" -r -d 1000 2000
[12:41:58] INFO | IP: 192.168.8.15
[12:41:58] INFO | Port: 54454
[12:41:58] INFO | Bot count: 1
[12:41:58] INFO | Server version: 1.21.4 (769)
[12:41:58] INFO | Player Count: 1 / 16
[12:41:58] INFO |
[12:41:58] INFO | Creating bot _joethegreat123
[12:41:58] INFO | MainListener registered for: _joethegreat123
ALL> e
[12:42:09] INFO | _joethegreat123 disconnected
[12:42:09] INFO | -> Internal Exception: io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
ALL> io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:61)
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:21)
at io.netty.handler.codec.MessageToMessageCodec$1.encode(MessageToMessageCodec.java:67)
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90)
at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
at org.geysermc.mcprotocollib.network.netty.FlushHandler.write(FlushHandler.java:20)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:934)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:984)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at org.geysermc.mcprotocollib.network.session.NetworkSession.send(NetworkSession.java:194)
at org.geysermc.mcprotocollib.network.session.NetworkSession.lambda$send$0(NetworkSession.java:185)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
at org.geysermc.mcprotocollib.network.packet.PacketRegistry.getServerboundId(PacketRegistry.java:189)
at org.geysermc.mcprotocollib.network.packet.PacketRegistry.getServerboundId(PacketRegistry.java:203)
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:43)
... 27 more
[12:42:09] INFO |
[12:42:09] INFO | Bot with MainListener removed
[12:42:09] ERROR | All bots disconnected, exiting
ALL>
Same issue.
Server is **Forge 54.1.3** / **Minecraft 1.21.4**. Important: The server has mods, but no mod is required on client-side. Vanilla clients are able to connect and play.
Log:
```
> java -jar .\mc-bots-1.2.14.jar -s "192.168.8.15:54454" -c 1 -j "Hello, there!" -p "_" -r -d 1000 2000
[12:41:58] INFO | IP: 192.168.8.15
[12:41:58] INFO | Port: 54454
[12:41:58] INFO | Bot count: 1
[12:41:58] INFO | Server version: 1.21.4 (769)
[12:41:58] INFO | Player Count: 1 / 16
[12:41:58] INFO |
[12:41:58] INFO | Creating bot _joethegreat123
[12:41:58] INFO | MainListener registered for: _joethegreat123
ALL> e
[12:42:09] INFO | _joethegreat123 disconnected
[12:42:09] INFO | -> Internal Exception: io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
ALL> io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:61)
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:21)
at io.netty.handler.codec.MessageToMessageCodec$1.encode(MessageToMessageCodec.java:67)
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90)
at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
at org.geysermc.mcprotocollib.network.netty.FlushHandler.write(FlushHandler.java:20)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:934)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:984)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at org.geysermc.mcprotocollib.network.session.NetworkSession.send(NetworkSession.java:194)
at org.geysermc.mcprotocollib.network.session.NetworkSession.lambda$send$0(NetworkSession.java:185)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
at org.geysermc.mcprotocollib.network.packet.PacketRegistry.getServerboundId(PacketRegistry.java:189)
at org.geysermc.mcprotocollib.network.packet.PacketRegistry.getServerboundId(PacketRegistry.java:203)
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:43)
... 27 more
[12:42:09] INFO |
[12:42:09] INFO | Bot with MainListener removed
[12:42:09] ERROR | All bots disconnected, exiting
ALL>
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Describe the bug
whenever i try to connect a bot to my server it refuses to actually enter the world and if i try to make it do literally anything it terminates itself and throws an exception
To Reproduce
i don't really get how to do this as it only bugs out on my main computer
Expected behavior
wanted the bot to join my server
Screenshot or app console output
java -jar mc-bots-1.2.14.jar -s 192.168.1.56 -r
[16:06:24] INFO | IP: 192.168.1.56
[16:06:24] INFO | Port: 25565
[16:06:24] INFO | Bot count: 1
[16:06:25] INFO | Server version: Paper 1.21.4 (769)
[16:06:25] INFO | Player Count: 0 / 10
[16:06:25] INFO |
[16:06:25] INFO | Creating bot Apocqlypse_
[16:06:26] INFO | MainListener registered for: Apocqlypse_
// more than half an hour later...
// the bot never managed to actually enter the world
ALL> t
[16:42:31] INFO | Apocqlypse_ disconnected
[16:42:31] INFO | -> Internal Exception: io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
ALL> io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:61)
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:21)
at io.netty.handler.codec.MessageToMessageCodec$1.encode(MessageToMessageCodec.java:67)
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90)
at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
at org.geysermc.mcprotocollib.network.netty.FlushHandler.write(FlushHandler.java:20)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:934)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:984)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at org.geysermc.mcprotocollib.network.session.NetworkSession.send(NetworkSession.java:194)
at org.geysermc.mcprotocollib.network.session.NetworkSession.lambda$send$0(NetworkSession.java:185)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:413)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.IllegalArgumentException: Unregistered serverbound packet class: org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatPacket
at org.geysermc.mcprotocollib.network.packet.PacketRegistry.getServerboundId(PacketRegistry.java:189)
at org.geysermc.mcprotocollib.network.packet.PacketRegistry.getServerboundId(PacketRegistry.java:203)
at org.geysermc.mcprotocollib.network.netty.PacketCodec.encode(PacketCodec.java:43)
... 27 more
[16:42:31] INFO |
[16:42:31] INFO | Bot with MainListener removed
[16:42:31] ERROR | All bots disconnected, exiting
Whole command used to start the app
java -jar mc-bots-1.2.14.jar -s 192.168.1.56 -r
Additional context
i'm using java open jdk 21 and my server only has ProtocolLib installed
Hello, have you tried to join a different server on the same version?
Is any error in the server log?
yes, i have tried to join on other servers but i had no luck and my server logs has no errors
i have the same exact issue in the 1.2.14.jar
Same issue.
Server is Forge 54.1.3 / Minecraft 1.21.4. Important: The server has mods, but no mod is required on client-side. Vanilla clients are able to connect and play.
Log: