lag when doing Server.broadcastMessage() - How can I tell what's causing it?

Discussion in 'Spigot Help' started by malon, May 24, 2017.

  1. I've noticed a repeating pattern, after my server runs for a couple days, every broadcastMessage gets more and server lag, and the server freezes up while doing it.

    It's pretty clear that broadcastMessage() is iterating over thousands of "somethings" but how can I tell what it is?

    Thanks!
     
  2. Check your timings, there should be some info there
     
  3. Name of what plugin? that's what i'm trying to figure out is what's causing the lag. The problem is any plugin that uses broadcastMessage() is the problem, but what's causing it to lag?
     
  4. What plugin is using broadcast message()
     
  5. CommandHelper primarily, but it effects every plugin that uses broadcastMessage()