Bedrock client joins in Survival on a Creative server and cannot switch gamemode #2869
Labels
Suspected Server Behavior
This probably isn't a Geyser bug but rather something the server is doing.
Describe the bug
Reported previously, eg #2492.
I have a creative mode server running, where if I join from a Java client, it joins in creative mode as expected. However, when connecting from Bedrock, the gamemode is Survival, and cannot be changed from client side settings.
If I delete my (bedrock) .dat file from the world/playerdata dir, restart the server and reconnect, then I join in Creative mode as expected. However, there's still something funny - in the client Settings, server game mode is apparently "survival", but personal game mode is "creative", and still cannot be changed. If I restore the old .dat file and (restart and) reconnect, then the issue is replicated.
I can try replicating, but it will be tedious - would the offending .dat file help (attached)?
offending_player.zip
To Reproduce
Not sure. I have an offending player .dat file, but don't know how to reproduce otherwise.
Expected behaviour
When connecting the Creative server from Bedrock client, client should a) join in the default Creative mode, and b) maybe be able to change personal gamemode from settings?
Screenshots / Videos
No response
Server Version and Plugins
This server is running CraftBukkit version 3443-Spigot-699290c-2c1e499 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT)
[08:26:24] [Server thread/INFO]: Checking version, please wait...
[08:26:24] [Thread-13/INFO]: You are 2 version(s) behind
Also using:
ViaVersion v4.2.1
floodgate v2.1.0-SNAPSHOT
Geyser Dump
https://dump.geysermc.org/jzBQXQY1QudtmbehXMcATMa5kjtoerX6
Geyser Version
2.0.2-SNAPSHOT (git-master-0fd903e)
Minecraft: Bedrock Edition Version
1.18.12
Additional Context
I'm not sure what led to the offending .dat file being created in the first place, so a bit of history:
The text was updated successfully, but these errors were encountered: