mojira.dev
MC-274601

Commands, that need to fetch gameprofile, cause lag when fetching player that weren't before on the server

Using "online-mode=true" when I try to execute any command that needs to fetch gameprofile of player that weren't on the server (like /ban /pardon /whitelist add /whitelist remove /op /deop) then it creates lag on the server. This lag sometimes can take even 10 seconds. The player must not be fetched nor cached by the server for lag to happen.

I think it might be caused because that request to Mojang API happens on the main server thread.

Linked issues

Comments 2

Would MC-99601 describe you're issue?

Oh, yes. This bug happens on all commands that needs to fetch gameprofile, like /ban /pardon /whitelist /op /deop . So I can say that MC-99601 was reintroduced.

EpicPlayerA10

(Unassigned)

Unconfirmed

(Unassigned)

1.21

Retrieved