Geyser: Client freezes when opening up commands for the first time

Created on 23 Apr 2020  路  22Comments  路  Source: GeyserMC/Geyser

Describe the bug
When typing / in the command prompt, the client freezes for about 5 seconds until you can use the commands. This happens again after being killed but otherwise does not freeze up again. I have Essentials and WorldEdit installed.

Server Version
Paper-184

Geyser Version
Master 71

Minecraft: Bedrock Edition Version
v1.14.60

Confirmed Bug High

Most helpful comment

If the client does crash on NukkitX too, sure go ahead. Otherwise I would recommend finding a way to solve it instead of making it a config option.

All 22 comments

Describe the bug
When typing / in the command prompt, your game freezes for about 5 seconds until you can use the commands. This happens again after being killed but otherwise does not freeze up again.

Server Version
Paper-184

Geyser Version
Master 71

Minecraft: Bedrock Edition Version
v1.14.60

Does this freeze only the client or Geyser entirely?

Only the client - Geyser is fine.

Doesn't always happen, seems to happen less when you just play for like 30s-1min then try. Unsure if we can fix this, maybe worth adding a config option to disable command completion?

I'd be OK with this.

Initial post updated to clarify plugins.

If the client does crash on NukkitX too, sure go ahead. Otherwise I would recommend finding a way to solve it instead of making it a config option.

i agree with tim

We would need to get the command count up quite high to test, EssentialsX on java registers about 1k commands including all the essentials: prefixed commands.

@rtm516 you forget cmi

You can make a Nukkit plugin to test that out. A plugin that makes over 1k commands using random letters.

Happening for me too, my plugins:

  • floodgate-bukkit.jar
  • Geyser-Bukkit.jar
  • Multiverse-Core-4.1.0.jar
  • worldedit-bukkit-7.1.0.jar
  • EssentialsX-2.17.2.0.jar

Essentials is the big one out of them all.

You see, on bedrock you have a lot less commands for a start because it makes use of enums which is great and I think the java edition system is a pile of crap

I removed EssentialsX and it still occurs, also with Multiverse-core.

I believe its related to vanilla commands, but this will be discussed more tomorrow

cant you guys just disable the tab completions or limit them

i have the same problem but instead the client crashes instead of freezing

One temporary workaround that I know work is to use . Instead of /, it doesn鈥檛 activate command completion

its real problem, i have this too! freeze on chat on login server :(

It's annoying :/

After some research, it seems that this is a Bedrock issue and not a Geyser issue. Bedrock clients freeze when given large amounts of commands, and combine that with the command arguments and it's worse with Java servers that have plugins like Essentials. We'll be looking at workarounds shortly.

maybe it's about /pluginname:commands, but i'm not sure

@arshizx we have a PR open for disabling those but if doesn't make too much of a difference

owh, but isn't that list of commands cannot be deleted? if can, i hope you can remove it by using the config (people can enable/disable) cause its really annoyed me. thx it's my suggestions xD

Was this page helpful?
0 / 5 - 0 ratings

Related issues

endevrr picture endevrr  路  6Comments

chenxi050402 picture chenxi050402  路  6Comments

DoctorMacc picture DoctorMacc  路  9Comments

l-ddP picture l-ddP  路  7Comments

CuteTadpole picture CuteTadpole  路  12Comments