Solved Lag mobspawners, help

Discussion in 'Spigot Plugin Help' started by alexhackers, Jun 7, 2017.

Thread Status:
Not open for further replies.
  1. Have a repeating task to kill mobs every once in a while to clear lag but tps loss always happens when a bunch of enititys spawn
  2. Where, is giving lag in the spawn mobs
  3. It's hard to say what the cause is but if you think it's the mob spawner then kill them once in a while to free up more ram
  4. Is not there some way to fix it?

    Already tried to optimize spigot and bukkit
  5. It looks like there's a TON of items on ground and TONS of items in hoppers, have a clear lag plugin to clear it up
  6. Thanks, but what about the mobs problem?
  7. I don't think there's a mob problem
  8. electronicboy

    IRC Staff

    your problem with mob spawners is the TintaStack plugin
  9. In the mobspawners [​IMG]
    How to fix ? what's the problem
  10. electronicboy

    IRC Staff

    the problem is that it's taking 140% of a tick (meaning that it's taking over 50ms per tick). The fix is to speak to the author to improve the performance of the plugin, or to remove it.
  11. Thanks, just another thing, can you tell me the reason for the problem with the plugin?
    For me to inform the dev
  12. electronicboy

    IRC Staff

    no idea, All I know is that based on timings it's taking up a lot of time on the CreatureSpawnEvent listener. They're probably looking for mobs in a radius based on the plugin name, which can get expensive fast when you're checking every entity in the server
    • Like Like x 1
  13. Ok, Thank you for your help
Thread Status:
Not open for further replies.