Limit mobs per chunk #59


  • New
  • Enhancment
Open
Assigned to _ForgeUser7105870
  • _ForgeUser2804591 created this issue Apr 26, 2012

    What is the enhancement in mind? How should it look and feel?

    Add spawn limits per chunk. Right now if I set a spawner limit, one player's spawner can spawn all the mobs allowed preventing the next player's spawner from doing anything. If it were possible to limit mobs per chunk it would help distribute mobs around a server.

  • _ForgeUser2804591 added the tags New Enhancment Apr 26, 2012
  • _ForgeUser1101555 posted a comment Apr 29, 2012

    Use Craftbukkit for this feature: http://forums.spout.org/threads/craftbukkit.938/ NoLagg and the recommended Version of Craftbukkit work great together :)

  • _ForgeUser2804591 posted a comment Apr 29, 2012

    @floking88: Go

    Looks like CB will limit mobs spawning per chunk but doesn't mention how it handle mobs being moved into chunks via waterflows. Though I imagine that'd be somewhat CPU intensive to track each mob's location and watch when they change chunks.

    I'll give it a try for now.

  • _ForgeUser2804591 posted a comment May 7, 2012

    @floking88: Go

    It seems mob spawners aren't affected by the CraftBukkitPlusPluss monster limiting feature.

    Looking at CraftBukkitPlusPlus's source, the getMonstersPerChunk() setting is only called by the spawnEntities function before it goes to the addEntity function. But the q_() function which handles mob spawners calls the world.addEntity function directly skipping the getMonstersPerChunk() entirely.

    While CBPP has many performance improvements, it doesn't solve the problem I'm having. :(


To post a comment, please login or register a new account.