Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-274601

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21
    • None
    • Unconfirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            EpicPlayerA10 EpicPlayerA10
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: