ViaFabric

ViaFabric

709k Downloads

Placeholder returns 1.16.3 on 1.8.x

Permanently opened this issue ยท 3 comments

commented

Describe the bug, provide any errors
When using the %viaversion_player_protocol_version% on PlaceholderAPI (currently on 2.10.8), it returns 1.16.3. However, I'm running on 1.8.9.

  • It seems to not happen when using ViaVersion/ViaBackwards/ViaRewind installed on Bukkit/BungeeCord/Sponge/Velocity server.

How can we reproduce it?
Steps to reproduce the behavior:

  1. Login on 1.8.x, onto a 1.12.2 server with PlaceholderAPI, ViaVersion, ViaBackwards and ViaRewind installed.
  2. Type /papi parse me %viaversion_player_protocol_version%.
  3. Observe.

Expected behaviour
Well... I was expecting it to show my version.

Screenshots
Here.

ViaVersion Dump:
Here.

Additional server info
ViaVersion (3.2.0-SNAPSHOT), ViaBackwards (3.2.0-SNAPSHOT) and ViaRewind (1.5.2-SNAPSHOT) are all installed Paper-side. They're all behind a Travertine proxy.

commented

I am pretty sure you're running an unsupported setup:
If you attempt to run the Via plugins on both your proxy (velocity or bungee) and all your backend servers you will get weird behavior.
Reason: The proxy will try to translate your version to the backend server version. But since the backend server doesn't send a clear version it will translate to one of a few options. Your backend server will then translate again to its native version.
This is how false versions get passed around.
If you need to use the API on a backend you cannot have the Via plugins installed on the proxy.
(There is an edge-case workaround for if you need to use Via on both the proxy and end servers but we don't provide support for that as much as only giving advice)

commented

I'm not running Via* plugins on proxy. As said:

ViaVersion (3.2.0-SNAPSHOT), ViaBackwards (3.2.0-SNAPSHOT) and ViaRewind (1.5.2-SNAPSHOT) are all installed Paper-side.

commented

ViaVersion was on my proxy server for whatever reason. My bad.