Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-1424

The function scoreboard.getPlayers() needs very long to execute!

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • None
    • I've got an Windows 10 PC with an Intel 4790k processor and the minecraft server has about 1 GB of RAM.

      I want to use scoreboards in my plugin. So I found the scoreboard.getPlayers() method and so I used it. But my plugin caused heavy lags on the server, so I found out, that these lags were caused by this method. It takes about 2 to 7 seconds to execute this method. I'm using now scoreboard.getEntries() method, but it seem to be bug, that the other method causes so much lag.

            Unassigned Unassigned
            lukbukkit Lukas A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: