tritonmc / Triton

Translate your server! Sends the same message in different languages... Hooks into all plugins!
https://triton.rexcantor64.com
GNU General Public License v3.0
87 stars 34 forks source link

Automatic language detection does not work on Velocity #446

Closed Fe1son closed 1 week ago

Fe1son commented 1 month ago

Describe the bug

On the spigot server (without a proxy) it works for me, but in conjunction with Velocity it does not work, only when I select a language on the spigot server I get messages from Velocity about automatic language selection, and then messages about language selection, in general, either I configured something incorrectly, or...

But when I have already chosen the language myself, it is saved on all proxies and changes on servers (there is no problem here), but there is a problem with the first automatic detect I also think that it is because of the local server, because only 127.0.0.1 is created on Velocity, and if it is automatically detected on a Spigot server without a proxy, both 127.0.0.1 and UUID are created there

Automatically with proxy: image

without proxy (detect selection worked (Ukrainian was selected), and with the proxy English is selected (the main language) image

The problem disappeared that detection occurs only when selecting a language already on the spigot server (if bungeecord false), but the language is not detected normally at velocity.

How can the bug be reproduced?

No response

Expected behaviour

No response

Which Spigot fork are you using?

Other (specify below)

What's your server version?

Current: git-Plazma-"3972882" (MC: 1.20.4)*

Which proxy are you using?

Velocity

What's your proxy version?

No response

What's the MC version of your client?

1.20.4

What's the Triton version you're using?

3.9.5 (on Plazma) | 4.0.0-SNAPSHOT-all (11.09.2024) (Velocity)

Additional Information

No response

diogotcorreia commented 1 week ago

Fixed by #457