elytrium / velocitytools Goto Github PK
View Code? Open in Web Editor NEWBrand Changer, BungeeCord Commands, Protocol Blocker and Hostnames Manager for Velocity
Home Page: https://elytrium.net/
License: GNU Affero General Public License v3.0
Brand Changer, BungeeCord Commands, Protocol Blocker and Hostnames Manager for Velocity
Home Page: https://elytrium.net/
License: GNU Affero General Public License v3.0
Velocity server appears as offline, and connecting to it just gives Disconnected
.
velocity-3.2.0-SNAPSHOT-258
velocity_tools-1.1.9.jar
ambassador: 1.4.0
Also using ViaVersion 4.7.0 and ViaBackwards 4.7.0 on Velocity and Lobby (Paper)
When users are sent successfully, the player count value shows as "0." I'm assuming this is due to it processing the task asynchronously when it should not be processed in this manner or is just processed incorrectly.
Hub spreading would be an excellent feature for this plugin, given it would greatly benefit networks on server reboots and so forth. This could initiate when the user is kicked from another server and is sent to a fallback server and if the user is initially joining the network. Here's how it could be proposed in the configuration:
{NL}
not working
and \n
works.
Java :
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
OS : Windows 10 Enterprise
Velocity : 3.0.1
[17:28:50 ERROR]: Couldn't pass ProxyInitializeEvent to velocity_tools
java.lang.NullPointerException: null
at net.elytrium.velocitytools.VelocityTools.reload(VelocityTools.java:150) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.onProxyInitialization(VelocityTools.java:83) ~[?:?]
at net.elytrium.velocitytools.Lmbda$4.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:47) ~[velocity-3.0.1.jar:3.0.1]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:585) ~[velocity-3.0.1.jar:3.0.1]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:466) ~[velocity-3.0.1.jar:3.0.1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Tested with Velocity #296.
1.20.2 Backend Server
[02:56:47 INFO]: Booting up Velocity 3.0.1...
[02:56:47 INFO]: Loading localizations...
[02:56:48 INFO]: Connections will use epoll channels, libdeflate (Linux x86_64) compression, OpenSSL 1.1.x (Linux x86_64) ciphers
[02:56:48 INFO]: Loading plugins...
[02:56:49 INFO]: Loaded plugin kaurivpn 1.5.0 by funkemunky
[02:56:49 INFO]: Loaded plugin spark 1.6.2 by Luck
[02:56:49 INFO]: Loaded plugin velocity_tools 1.1.4 by mdxd44, hevav
[02:56:49 INFO]: Loaded 3 plugins
[02:56:49 INFO] [dev.brighten.antivpn.velocity.VelocityPlugin]: Loading config...
[02:56:49 INFO] [dev.brighten.antivpn.velocity.VelocityPlugin]: Starting AntiVPN services...
[02:56:49 INFO] [dev.brighten.antivpn.velocity.VelocityPlugin]: Using databaseType MySQL...
[02:56:49 INFO] [dev.brighten.antivpn.velocity.VelocityPlugin]: Registering commands...
[02:56:49 ERROR]: Couldn't pass ProxyInitializeEvent to velocity_tools
java.lang.NoClassDefFoundError: com/velocitypowered/proxy/connection/client/LoginInboundConnection
at net.elytrium.velocitytools.listeners.ProtocolBlockerJoinListener.(ProtocolBlockerJoinListener.java:42) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.reload(VelocityTools.java:136) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.onProxyInitialization(VelocityTools.java:81) ~[?:?]
at net.elytrium.velocitytools.Lmbda$4.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:47) ~[velocity-3.0.1.jar:3.0.1]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:585) ~[velocity-3.0.1.jar:3.0.1]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:466) ~[velocity-3.0.1.jar:3.0.1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ClassNotFoundException: com.velocitypowered.proxy.connection.client.LoginInboundConnection
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:83) ~[velocity-3.0.1.jar:3.0.1]
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:60) ~[velocity-3.0.1.jar:3.0.1]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
... 10 more
[02:56:49 INFO]: Listening on /[0:0:0:0:0:0:0:0%0]:23596
[02:56:49 INFO]: Done (3.45s)
PaperMC/Velocity@7538ff9
Since this commit I'm getting the error:
[03:43:56 ERROR]: Couldn't pass ProxyInitializeEvent to velocity_tools
java.lang.NoSuchMethodError: 'com.velocitypowered.proxy.protocol.packet.Disconnect com.velocitypowered.proxy.protocol.packet.Disconnect.create(net.kyori.adventure.text.Component, com.velocitypowered.api.network.ProtocolVersion)'
at net.elytrium.velocitytools.hooks.HandshakeHook.lambda$reload$0(HandshakeHook.java:113) ~[?:?]
at net.elytrium.velocitytools.fastprepare.PreparedPacket.prepare(PreparedPacket.java:132) ~[?:?]
at net.elytrium.velocitytools.fastprepare.PreparedPacket.prepare(PreparedPacket.java:118) ~[?:?]
at net.elytrium.velocitytools.hooks.HandshakeHook.reload(HandshakeHook.java:113) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.reload(VelocityTools.java:166) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.onProxyInitialization(VelocityTools.java:102) ~[?:?]
at net.elytrium.velocitytools.Lmbda$16.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity-proxy-3.2.0-SNAPSHOT-all.jar:3.2.0-SNAPSHOT (git-53f24dfd)]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:597) ~[velocity-proxy-3.2.0-SNAPSHOT-all.jar:3.2.0-SNAPSHOT (git-53f24dfd)]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:478) ~[velocity-proxy-3.2.0-SNAPSHOT-all.jar:3.2.0-SNAPSHOT (git-53f24dfd)]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Error after updating to latest Velocity
https://papermc.io/downloads#Velocity
[15:43:09 ERROR]: Couldn't pass ProxyInitializeEvent to velocity_tools
java.lang.NoSuchMethodError: 'com.velocitypowered.proxy.protocol.StateRegistry$PacketRegistry$ProtocolRegistry com.velocitypowered.proxy.protocol.ProtocolUtils$Direction.getProtocolRegistry(com.velocitypowered.proxy.protocol.StateRegistry, com.velocitypowered.api.network.ProtocolVersion)'
at net.elytrium.velocitytools.fastprepare.PreparedPacketFactory.encodeId(PreparedPacketFactory.java:126) ~[?:?]
at net.elytrium.velocitytools.fastprepare.PreparedPacketFactory.encodeSingle(PreparedPacketFactory.java:161) ~[?:?]
at net.elytrium.velocitytools.fastprepare.PreparedPacket.prepare(PreparedPacket.java:133) ~[?:?]
at net.elytrium.velocitytools.fastprepare.PreparedPacket.prepare(PreparedPacket.java:117) ~[?:?]
at net.elytrium.velocitytools.hooks.HandshakeHook.reload(HandshakeHook.java:112) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.reload(VelocityTools.java:143) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.onProxyInitialization(VelocityTools.java:85) ~[?:?]
at net.elytrium.velocitytools.Lmbda$16.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity-3.2.0-SNAPSHOT.jar:3.2.0-SNAPSHOT (git-8374af5a-b215)]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[velocity-3.2.0-SNAPSHOT.jar:3.2.0-SNAPSHOT (git-8374af5a-b215)]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[velocity-3.2.0-SNAPSHOT.jar:3.2.0-SNAPSHOT (git-8374af5a-b215)]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Hello!, Can you add the function for Broadcast messages? each tot sends a message set by the config?
Can't join to the server on 1.20.4 on latest velocity. It throws this error:
[22:06:22 ERROR]: [server connection] EpicPlayerA10 -> lobby: exception encountered in com.velocitypowered.proxy.connection.backend.ConfigSessionHandler@5d989cdf
net.elytrium.velocitytools.3rdparty.net.elytrium.commons.utils.reflection.ReflectionException: An unexpected internal error was caught during the reflection operations.
at net.elytrium.velocitytools.hooks.PluginMessageHook.handle(PluginMessageHook.java:61) ~[?:?]
at com.velocitypowered.proxy.connection.MinecraftConnection.channelRead(MinecraftConnection.java:152) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.AutoReadHolderHandler.channelRead(AutoReadHolderHandler.java:57) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:92) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.channelRead(MinecraftDecoder.java:61) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:454) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.NoSuchMethodError: 'void com.velocitypowered.proxy.connection.MinecraftConnection.write(java.lang.Object)'
at net.elytrium.velocitytools.hooks.PluginMessageHook.handle(PluginMessageHook.java:57) ~[?:?]
... 41 more
It happens because of this commit PaperMC/Velocity@08c03aa . It changes a return value of write
method.
Simple plugin rebuild with the latest velocity natives will fix this issue.
In VelocityTools.java, you should technically move these method inside the if clause.
List<String> aliases = Settings.IMP.COMMANDS.HUB.ALIASES;
aliases.forEach(alias -> this.server.getCommandManager().unregister(alias));
if (Settings.IMP.COMMANDS.HUB.ENABLED && !aliases.isEmpty()) {
List<String> aliases = Settings.IMP.COMMANDS.HUB.ALIASES;
aliases.forEach(alias -> this.server.getCommandManager().unregister(alias));
this.server.getCommandManager().register(aliases.get(0), new HubCommand(this.server), aliases.toArray(new String[0]));
}
This way we can avoid issues with other /hub or /lobby plugins since I can't use them anymore even with command disabled in the config of your plugin
For some reason, it is still possible to log in to a different IP address
VelocityTools is very versatile and effective for large production networks that are desiring additional useful features for their networks.
In my opinion, this resource could be perfected by allowing the specification for multiple servers when executing /hub & /lobby, in acting as a load balancer to mitigate the use of other plugins, when this one could easily do this for us.
To visualize, it could look like this:
hub:
enabled: true
servers: ["Hub-1", "Hub-2", "Hub-3"]
# Set to "" to disable.
you-got-moved: "&aYou have been sent to a lobby."
disabled-server: "&cThis server is currently unavailable."
disabled-servers:
- "foo"
- "bar"
aliases:
- "hub"
- "lobby"
I thank you for being so diligent in ensuring this resource is production-ready and hope to see this feature implemented. Thanks for reading! (I wasn't sure where else to post this).
version mc 1.20.4
version plugin velocity-tools-1.2.0
I can't log in to the server, even though I have configured the config correctly, and when I delete the velocity-tools plugin, it comes in normally
[12:27:44 ERROR]: [server connection] KillerYTuber1 -> lobby: exception encountered in com.velocitypowered.proxy.connection.backend.ConfigSessionHandler@71c2a233
net.elytrium.velocitytools.3rdparty.net.elytrium.commons.utils.reflection.ReflectionException: An unexpected internal error was caught during the reflection operations.
at net.elytrium.velocitytools.hooks.PluginMessageHook.handle(PluginMessageHook.java:61) ~[?:?]
at com.velocitypowered.proxy.connection.MinecraftConnection.channelRead(MinecraftConnection.java:152) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.AutoReadHolderHandler.channelRead(AutoReadHolderHandler.java:57) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:92) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.channelRead(MinecraftDecoder.java:61) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:454) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NoSuchMethodError: 'void com.velocitypowered.proxy.connection.MinecraftConnection.write(java.lang.Object)'
at net.elytrium.velocitytools.hooks.PluginMessageHook.handle(PluginMessageHook.java:57) ~[?:?]
... 41 more
[12:27:44 INFO]: [server connection] KillerYTuber1 -> lobby has disconnected
[12:27:44 ERROR]: [connected player] KillerYTuber1 (/127.0.0.1:51196): unable to connect to server lobby
java.io.IOException: Unexpectedly disconnected from remote server
at com.velocitypowered.proxy.connection.backend.ConfigSessionHandler.disconnected(ConfigSessionHandler.java:212) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.connection.MinecraftConnection.channelInactive(MinecraftConnection.java:124) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:305) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.PlayPacketQueueHandler.channelInactive(PlayPacketQueueHandler.java:81) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:303) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.timeout.IdleStateHandler.channelInactive(IdleStateHandler.java:277) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:303) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:411) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:376) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:305) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:301) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:813) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at java.lang.Thread.run(Thread.java:1583) [?:?]
It looks like VelocityTools unregisters hub aliases, even if it didn't register them in the first place.
This causes issues with other plugins that register commands with the name of one of the aliases, as VelocityTools just unregisters them.
Here is where the issue appears to happen: https://github.com/Elytrium/VelocityTools/blob/master/src/main/java/net/elytrium/velocitytools/VelocityTools.java#L141
For example, users in my plugin can set slash-server commands. So, for example, /hub
will cause the player to queue for the hub server. A user of my plugin was wanting to use that feature. They disabled VelocityTool's hub feature, and configured /hub
in my plugin, however they found that most of the time the command would not work. After some investigation, it was found that if the server name is in the aliases
list of VelocityTool's hub feature, then VelocityTools unregisters the command whenever it is (re)loaded.
A quick fix is to empty the list of aliases in the config, but I believe a fix should be implemented in VelocityTools that will prevent unregistering other plugins' commands
[21:04:10 ERROR]: Couldn't pass ProxyInitializeEvent to velocity_tools
java.lang.IllegalArgumentException: No enum constant com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_19_2
at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
at com.velocitypowered.api.network.ProtocolVersion.valueOf(ProtocolVersion.java:22) ~[velocity-3.2.0-SNAPSHOT-243.jar:3.2.0-SNAPSHOT (git-01f1e1a9-b243)]
at net.elytrium.velocitytools.utils.ProtocolUtil.protocolVersionFromString(ProtocolUtil.java:29) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
at net.elytrium.velocitytools.listeners.ProtocolBlockerPingListener.(ProtocolBlockerPingListener.java:49) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.reload(VelocityTools.java:159) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.onProxyInitialization(VelocityTools.java:102) ~[?:?]
at net.elytrium.velocitytools.Lmbda$12.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity-3.2.0-SNAPSHOT-243.jar:3.2.0-SNAPSHOT (git-01f1e1a9-b243)]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[velocity-3.2.0-SNAPSHOT-243.jar:3.2.0-SNAPSHOT (git-01f1e1a9-b243)]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[velocity-3.2.0-SNAPSHOT-243.jar:3.2.0-SNAPSHOT (git-01f1e1a9-b243)]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
My idea is add /proxytps command whose returns:
Used RAM, Free RAM, Max RAM, CPU Use, Uptime
Ability to use a /alert command with following subcommands >> title, actionbar or chat
Command syntax /alert <title/actionbar/chat> <global/server> <Message, where we can use a linebreaker like %nl%>
Example command: /alert title global &bHello%nl%&7It's a subtitle
That's should return a title in all servers with following message "Hello" with subtitle "It's a subtitle"
PaperMC/Velocity@81145e4
PaperMC/Velocity@f87b05a
It's now built in.
Update the plugin to version 1.20, for example the protocol blocker
Here the error;
[15:49:15 ERROR]: Couldn't pass ProxyInitializeEvent to velocity-tools
java.lang.NoSuchMethodError: 'com.velocitypowered.proxy.protocol.packet.Disconnect com.velocitypowered.proxy.protocol.packet.Disconnect.create(net.kyori.adventure.text.Component, com.velocitypowered.api.network.ProtocolVersion, boolean)'
at net.elytrium.velocitytools.hooks.HandshakeHook.lambda$reload$0(HandshakeHook.java:113) ~[?:?]
at net.elytrium.velocitytools.3rdparty.net.elytrium.fastprepare.PreparedPacket.prepare(PreparedPacket.java:133) ~[?:?]
at net.elytrium.velocitytools.3rdparty.net.elytrium.fastprepare.PreparedPacket.prepare(PreparedPacket.java:119) ~[?:?]
at net.elytrium.velocitytools.hooks.HandshakeHook.reload(HandshakeHook.java:113) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.reload(VelocityTools.java:179) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.onProxyInitialization(VelocityTools.java:115) ~[?:?]
at net.elytrium.velocitytools.Lmbda$28.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity-3.2.0-SNAPSHOT-294.jar:3.2.0-SNAPSHOT (git-8dcc7ee3-b294)]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:597) ~[velocity-3.2.0-SNAPSHOT-294.jar:3.2.0-SNAPSHOT (git-8dcc7ee3-b294)]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:478) ~[velocity-3.2.0-SNAPSHOT-294.jar:3.2.0-SNAPSHOT (git-8dcc7ee3-b294)]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
When I connect with an unsupported version I set to 1.13 it shows the message I set but when I connect with a version lower than 1.13 it shows the message from velocity.
I want it to show the message I set in the velocity tools config. Is there any way to do this? Otherwise, thank you for reading <3
Unexpectedly disconnected from remote server
at com.velocitypowered.proxy.connection.backend.ConfigSessionHandler.disconnected(ConfigSessionHandler.java:212) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.connection.MinecraftConnection.channelInactive(MinecraftConnection.java:124) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:305) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.PlayPacketQueueHandler.channelInactive(PlayPacketQueueHandler.java:81) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:303) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.timeout.IdleStateHandler.channelInactive(IdleStateHandler.java:277) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:303) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:411) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:376) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:305) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:301) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:813) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Couldn't pass ProxyInitializeEvent to velocity-tools
java.lang.NoClassDefFoundError: com/velocitypowered/proxy/protocol/packet/Handshake
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
at java.lang.ClassLoader.defineClass(ClassLoader.java:1027) ~[?:?]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:524) ~[?:?]
at java.net.URLClassLoader$1.run(URLClassLoader.java:427) ~[?:?]
at java.net.URLClassLoader$1.run(URLClassLoader.java:421) ~[?:?]
at java.security.AccessController.doPrivileged(AccessController.java:714) ~[?:?]
at java.net.URLClassLoader.findClass(URLClassLoader.java:420) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:593) ~[?:?]
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:70) ~[Velocity.jar:3.3.0-SNAPSHOT (git-0993ce2f-b330)]
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:64) ~[Velocity.jar:3.3.0-SNAPSHOT (git-0993ce2f-b330)]
at java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.reload(VelocityTools.java:179) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.onProxyInitialization(VelocityTools.java:115) ~[?:?]
at net.elytrium.velocitytools.Lmbda$22.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[Velocity.jar:3.3.0-SNAPSHOT (git-0993ce2f-b330)]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:597) ~[Velocity.jar:3.3.0-SNAPSHOT (git-0993ce2f-b330)]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:478) ~[Velocity.jar:3.3.0-SNAPSHOT (git-0993ce2f-b330)]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.ClassNotFoundException: com.velocitypowered.proxy.protocol.packet.Handshake
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:87) ~[Velocity.jar:3.3.0-SNAPSHOT (git-0993ce2f-b330)]
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:64) ~[Velocity.jar:3.3.0-SNAPSHOT (git-0993ce2f-b330)]
at java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
... 21 more
add color support to game branding option
Hey, after update from #318 to #320 build, players can't connect to server with that error:
[12:40:25] [Netty epoll Worker #0/INFO] [com.velocitypowered.proxy.connection.MinecraftConnection]: [server connection] DShimen -> lobby has connected
[12:40:25] [Netty epoll Worker #0/ERROR] [com.velocitypowered.proxy.connection.MinecraftConnection]: [server connection] DShimen -> lobby: exception encountered in com.velocitypowered.proxy.connection.backend.ConfigSessionHandler@1b8b167e
net.elytrium.velocitytools.3rdparty.net.elytrium.commons.utils.reflection.ReflectionException: An unexpected internal error was caught during the reflection operations.
at net.elytrium.velocitytools.hooks.PluginMessageHook.handle(PluginMessageHook.java:61) ~[?:?]
at com.velocitypowered.proxy.connection.MinecraftConnection.channelRead(MinecraftConnection.java:152) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.AutoReadHolderHandler.channelRead(AutoReadHolderHandler.java:57) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:92) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.channelRead(MinecraftDecoder.java:61) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:454) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:509) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:407) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.NoSuchMethodError: 'void com.velocitypowered.proxy.connection.MinecraftConnection.write(java.lang.Object)'
at net.elytrium.velocitytools.hooks.PluginMessageHook.handle(PluginMessageHook.java:57) ~[?:?]
... 39 more
There were changes with some packets so maybe that's bcs (in build #320)
Ps. Using latest 1.2.0 velocity tools
[09:43:48 INFO]: [server connection] player -> lobby has connected
[09:43:48 ERROR]: [connected player] player (/ip): unable to connect to server lobby
net.elytrium.velocitytools.3rdparty.net.elytrium.commons.utils.reflection.ReflectionException: An unexpected internal error was caught during the reflection operations.
at net.elytrium.velocitytools.hooks.PluginMessageHook.handle(PluginMessageHook.java:61) ~[?:?]
at com.velocitypowered.proxy.connection.MinecraftConnection.channelRead(MinecraftConnection.java:152) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.AutoReadHolderHandler.drainQueuedMessages(AutoReadHolderHandler.java:48) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.AutoReadHolderHandler.read(AutoReadHolderHandler.java:40) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeRead(AbstractChannelHandlerContext.java:837) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.read(AbstractChannelHandlerContext.java:814) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline.read(DefaultChannelPipeline.java:1004) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannel.read(AbstractChannel.java:290) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelConfig.setAutoRead(DefaultChannelConfig.java:341) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.EpollChannelConfig.setAutoRead(EpollChannelConfig.java:148) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.EpollSocketChannelConfig.setAutoRead(EpollSocketChannelConfig.java:616) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.EpollSocketChannelConfig.setAutoRead(EpollSocketChannelConfig.java:40) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.connection.MinecraftConnection.setAutoReading(MinecraftConnection.java:348) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.connection.backend.TransitionSessionHandler.lambda$handle$0(TransitionSessionHandler.java:142) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:413) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NoSuchMethodError: 'void com.velocitypowered.proxy.connection.MinecraftConnection.write(java.lang.Object)'
at net.elytrium.velocitytools.hooks.PluginMessageHook.handle(PluginMessageHook.java:53) ~[?:?]
... 26 more
[09:43:48 ERROR]: [server connection] player -> lobby: exception encountered in com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler@3ac00cb3
net.elytrium.velocitytools.3rdparty.net.elytrium.commons.utils.reflection.ReflectionException: An unexpected internal error was caught during the reflection operations.
at net.elytrium.velocitytools.hooks.PluginMessageHook.handle(PluginMessageHook.java:61) ~[?:?]
at com.velocitypowered.proxy.connection.MinecraftConnection.channelRead(MinecraftConnection.java:152) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.AutoReadHolderHandler.drainQueuedMessages(AutoReadHolderHandler.java:48) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.protocol.netty.AutoReadHolderHandler.read(AutoReadHolderHandler.java:40) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.invokeRead(AbstractChannelHandlerContext.java:837) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannelHandlerContext.read(AbstractChannelHandlerContext.java:814) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelPipeline.read(DefaultChannelPipeline.java:1004) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.AbstractChannel.read(AbstractChannel.java:290) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.DefaultChannelConfig.setAutoRead(DefaultChannelConfig.java:341) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.EpollChannelConfig.setAutoRead(EpollChannelConfig.java:148) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.EpollSocketChannelConfig.setAutoRead(EpollSocketChannelConfig.java:616) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.EpollSocketChannelConfig.setAutoRead(EpollSocketChannelConfig.java:40) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.connection.MinecraftConnection.setAutoReading(MinecraftConnection.java:348) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.connection.backend.TransitionSessionHandler.lambda$handle$0(TransitionSessionHandler.java:142) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:413) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[server.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NoSuchMethodError: 'void com.velocitypowered.proxy.connection.MinecraftConnection.write(java.lang.Object)'
at net.elytrium.velocitytools.hooks.PluginMessageHook.handle(PluginMessageHook.java:53) ~[?:?]
... 26 more
[09:43:48 INFO]: [connected player] player (/ip) has disconnected: §cНе удалось подключить вас к серверу. Пожалуйста, попробуйте снова через некоторое время
[09:43:48 INFO]: [server connection] player -> lobby has disconnected
Couldn't pass ProxyInitializeEvent to velocity-tools
java.lang.IllegalArgumentException: No enum constant com.velocitypowered.api.network.ProtocolVersion.MINECRAFT_1_20_1
at java.lang.Enum.valueOf(Enum.java:293) ~[?:?]
at com.velocitypowered.api.network.ProtocolVersion.valueOf(ProtocolVersion.java:22) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at net.elytrium.velocitytools.utils.ProtocolUtil.protocolVersionFromString(ProtocolUtil.java:29) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
at net.elytrium.velocitytools.listeners.ProtocolBlockerPingListener.(ProtocolBlockerPingListener.java:49) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.reload(VelocityTools.java:172) ~[?:?]
at net.elytrium.velocitytools.VelocityTools.onProxyInitialization(VelocityTools.java:115) ~[?:?]
at net.elytrium.velocitytools.Lmbda$28.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:597) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:478) ~[Velocity.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.