Elytrium / LimboAPI

An API which provides virtual servers features to Velocity
https://elytrium.net/
GNU Affero General Public License v3.0
241 stars 65 forks source link

[BUG] Can't join the server with LimboAPI 1.1.19 #136

Closed JustHm228 closed 10 months ago

JustHm228 commented 10 months ago

Describe the bug

When a player connects to a proxy server with the latest version (1.1.19) of LimboAPI, he gets kicked with "timed out" message.

To Reproduce

Steps to reproduce the behavior:

  1. Start a Velocity server with LimboAPI of version 1.1.19 installed
  2. Try join the server
  3. You will be kicked with "timeout exceeded" message
  4. See logs

Expected behavior

Hm... Maybe the player shouldn't be kicked for "timed out"?

Screenshots

What happens when connecting to the server

image image image

Server Info (please complete the following information):

Additional context

When I replaced the latest version of LimboAPI with an older stable release, it started work as should. But when I switched back to the version 1.1.19 - nobody can join the server because of "timed out" kick. So this issue belongs only to the used version of LimboAPI, because even when I tried to disable other plugins, it was still not working good (and it stopped happening only when I disabled LimboAPI).

From the logs it's clear that the plugin tries to use NMS on connection and receives a NoSuchMethodError exception due to, as far as I know, Velocity does not have NMS classes, which means the plugin can't use it on Velocity so it deadlocks until exceeding timeout.

JustHm228 commented 10 months ago

It seems to already be fixed (#135), but I think it isn't