TAB icon indicating copy to clipboard operation
TAB copied to clipboard

[BungeeCord] ViaVersion kicking players for too many plugin messages

Open SrMonsterYT opened this issue 1 year ago • 75 comments

Server version

waterfall 1.20.4

TAB version

4.1.2

Describe the bug

there's a big bug when I use TAB in bungeecord, each of my servers has an animated TAB and every time I add it I have to keep increasing its update time so it doesn't kick me out for sending too many packets or deleting animations and this didn't happen when it was individual, watch

this video: https://www.youtube.com/watch?v=phJGdgg0H2w

sorry the video is so long but I managed to show the bug, please watch and tell me if there is a solution for this without having to remove the animations

server versions: lobby 1.12.2 ( bug only occurs in lobby version 1.12.2 ) bungeecord 1.20.3 survival 1.20.1

I'm using TAB version 4.1.2 TAB-Bridge version: 5.0.1

i removed all animation from the lobby and left it on the other servers, but whenever i go to the lobby i get kicked for sending too many packets and the lobby is on 1.12.2, this never happened when it was the individual TAB, is there a solution for this? do you have a discord so i can send you more information there?

i found out that the problem is in viaversion could you tell me why this happens, i disabled the option in viaversion: tracking-max-warnings: -1

this only happens with 1.12.2 servers

Expected behavior

no kick player

Steps to reproduce

use TAB in bungeecord, and set up several animations per server, then you'll be kicked by viaversion for sending too many packages.

each scoreboard on each server must have its own animations

Additional info

if there was support for synchronizing 2 servers using mysql or redis this would solve all the problems, just putting in the bungeecord option and having to change the whole networks tab is a lot of work

add support for mixed installation, allow me to ignore the servers I want and use the plugin on both bungeecord and spigot.

Checklist

  • [X] I am running latest version of the plugin
  • [X] I have read the wiki to make sure it's not an issue with configuration
  • [X] I ticked all of the boxes without actually reading them
  • [X] I have read the Compatibility wiki page and am not trying to run the plugin on an unsupported server version / platform
  • [X] I am willing to cooperate to get this issue resolved faster, including providing any additional information requested or testing new builds

SrMonsterYT avatar Jan 13 '24 15:01 SrMonsterYT

image Get latest build from actions and set register-tab-expansion: false.

NEZNAMY avatar Jan 13 '24 16:01 NEZNAMY

image Get latest build from actions and set register-tab-expansion: false.

is for me to use TAB-4.1.3-SNAPSHOT

and where do I find the register-tab-expansion option?

I can't find anything in the tab configuration

SrMonsterYT avatar Jan 15 '24 13:01 SrMonsterYT

Did you update? The option was added in dev builds.

NEZNAMY avatar Jan 15 '24 13:01 NEZNAMY

Did you update? The option was added in dev builds.

just change the jar and the option will go into the settings by itself?

SrMonsterYT avatar Jan 15 '24 13:01 SrMonsterYT

Yes, like magic.

NEZNAMY avatar Jan 15 '24 13:01 NEZNAMY

deactivating this option stops the tab working and this error appears: https://prnt.sc/-J10XopsFNRo

SrMonsterYT avatar Jan 22 '24 13:01 SrMonsterYT

Update to latest build.

NEZNAMY avatar Jan 22 '24 13:01 NEZNAMY

solved, but this console appears: https://prnt.sc/y56r7czHq6Wz

SrMonsterYT avatar Jan 22 '24 13:01 SrMonsterYT

That's a warn supposed to hint you that sorting may not work as expected due to group assigning not working properly, most likely due to wrong configuration. That message is not a bug that should be fixed or anything.

NEZNAMY avatar Jan 22 '24 13:01 NEZNAMY

can you classify each group by server?

another question, doesn't TAB complete work? like when I give /tpa player the name of the other player on the different server appears?

SrMonsterYT avatar Jan 22 '24 13:01 SrMonsterYT

What does classifying groups by server mean? If you have global playerlist enabled, the game will tabcomplete all players in the tablist, including those on other servers if enabled.

NEZNAMY avatar Jan 22 '24 14:01 NEZNAMY

when i tabbed to bungeecord the %health% placeholderAPI didn't work what could it be?

command: btab group DEFAULT belowname %health%

can you create groups for each belowname and abovename?

SrMonsterYT avatar Jan 22 '24 22:01 SrMonsterYT

%health% is not a PlaceholderAPI placeholder. That's why it doesn't work. Not a bug. Please only use the issue tracker for reporting issues in the plugin.

NEZNAMY avatar Jan 22 '24 23:01 NEZNAMY

btab group DEFAULT belowname %health%

https://prnt.sc/ZPEbLw9IZOoY

I activated debug and typed /btab reload and this appeared but it still shows %health%

when I use hex colors in the lobby of version 1.12.2 this happens: https://prnt.sc/COXJx-zAs3gm

SrMonsterYT avatar Jan 23 '24 00:01 SrMonsterYT

I already told you this is not a PlaceholderAPI placeholder and therefore you cannot use it on BungeeCord.

NEZNAMY avatar Jan 23 '24 07:01 NEZNAMY

everything is going well <3

SrMonsterYT avatar Jan 23 '24 16:01 SrMonsterYT

the tab in the lobby that is in 1.12.2 is leaving the players' tags in place, if I stand in the lobby of 1.12.2 and players enter it keeps creating several and several tags and leaving them in place, after going to survival 1.20.4 and back they disappear, but if I stand there in the lobby there are 1 lot of tags like this see:

https://prnt.sc/idOOXa1BSgjN

SrMonsterYT avatar Jan 23 '24 21:01 SrMonsterYT

Did you get error file in TAB's folder?

NEZNAMY avatar Jan 23 '24 21:01 NEZNAMY

errors.log

SrMonsterYT avatar Jan 23 '24 22:01 SrMonsterYT

Update to latest build, delete error log, add -XX:-OmitStackTraceInFastThrow to your startup flags and then show new error file if you get it.

NEZNAMY avatar Jan 24 '24 09:01 NEZNAMY

-XX:-OmitStackTraceInFastThrow

my start.bat: java -Xms1G -Xmx4G -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -Djava.awt.headless=true --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED -jar server.jar

how do I add it

SrMonsterYT avatar Jan 24 '24 12:01 SrMonsterYT

You have several parameters starting with -XX, add it between them.

NEZNAMY avatar Jan 24 '24 13:01 NEZNAMY

the problem still occurs, if I leave the lobby they disappear but if I stay there they appear again every time a player enters

https://prnt.sc/f9VEkpldR852

SrMonsterYT avatar Jan 24 '24 15:01 SrMonsterYT

So they don't disappear when their owners leave the server? Did you get error file again?

NEZNAMY avatar Jan 24 '24 15:01 NEZNAMY

So they don't disappear when their owners leave the server? Did you get error file again?

my players are being kicked and this error appears: https://prnt.sc/ZMlJUa7w3N9Q

the tab plugin also generated this error: errors.log

also this error: https://prnt.sc/KZN9tydaLsNF

SrMonsterYT avatar Jan 24 '24 15:01 SrMonsterYT

I will need full paste of the bungeecord error, not just a screenshot that cuts the most important part.

NEZNAMY avatar Jan 24 '24 15:01 NEZNAMY

I will need full paste of the bungeecord error, not just a screenshot that cuts the most important part.

SrMonsterYT avatar Jan 24 '24 16:01 SrMonsterYT

Try new build. This error should however not cause a disconnect.

NEZNAMY avatar Jan 24 '24 16:01 NEZNAMY

Try new build. This error should however not cause a disconnect.

it's in progress do i still have to wait for it to be approved or can i download it first?

SrMonsterYT avatar Jan 24 '24 16:01 SrMonsterYT

You need to wait for github to compile it. The plugin is big and takes forever to compile.

NEZNAMY avatar Jan 24 '24 16:01 NEZNAMY