GeyserMC / Floodgate

Hybrid mode plugin to allow for connections from Geyser to join online mode servers.
https://geysermc.org
MIT License
575 stars 170 forks source link

InputMode never changes #430

Open ookiegajwa opened 1 year ago

ookiegajwa commented 1 year ago

FloodgatePlayer#getInputMode, which should give the current input method being used by the player, is always the same: KEYBOARD_MOUSE for Android devices, and UNKNOWN for iOS and Windows (and I haven't tested console).

I'm not sure if this is a bug in Bedrock Edition itself, or if something in Geyser/Floodgate is causing this. I feel like this used to work better, because I used to have some logic in my server that used InputMode, but one day it broke.

It would be great if someone could get this to work again, but if it is a Minecraft bug then I'm not sure we can.

onebeastchris commented 1 year ago

Are you using the Floodgate API in a proxy setup, e.g. behind a velocity/bungee proxy?

ookiegajwa commented 1 year ago

No, it is installed directly on the server (as a plugin)

onebeastchris commented 1 year ago

Mind sending a Geyser dump? Run geyser dump in console, and send the link you get here

ookiegajwa commented 1 year ago

https://dump.geysermc.org/WlIJlq4HBue7heMVWsfJKZmAQmdCxw3G

Here you are :)

onebeastchris commented 1 year ago

Any errors in the server log? Additionally, does it just affect 1.20.10 bedrock players, or all versions?

ookiegajwa commented 1 year ago

No errors. I have been having issues with this for a while now (since before 1.20), and the issue was most recently reported to me by a 1.20.1 player, so probably all versions.

ookiegajwa commented 1 year ago

DeviceOs does work, so some device info is definitely getting sent to the server.

Tim203 commented 2 weeks ago

Is this still an issue in the latest version?