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

Log information about the number of entities on the server during a freeze

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None

      I recently received a bug report from someone that my plugin "crashed the server". As it turned out however, the server was simply overloaded with entities (in this case, Minecarts) out of control of my plugin.

      I would love to see the server report on the number of entities during a server freeze; or perhaps; only do so when the entity tick time exceeds a threshold or when a certain number of entities exist. In more detail, it would be nice to see a message like this:

       

      There are 10052 entities on the server (of which 99% are in world World2, 99% are entity type 'Minecart')
      

            Unassigned Unassigned
            bergerkiller Irmo van den Berge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: