Our Entity rules explained
How are Mobs on the server automatically moderated to reduce large farms and lag?
Unfortunately, Minecraft is primarily a single-player game. Therefore, everything is designed around single-player worlds. If we left single-player rules with 40+ players online, the server simply wouldn't be able to handle the load and ultimately be unplayable and crash.
So we have to implement rules for mobs, entities and how they can spawn and exist in the world.
The first thing you must understand is that mobs aren't moderated per-chunk. They are moderated in a 5x5 chunk area, your view distance in-game (2 chunks between each entity)
For example, if you have 10 villagers within a single chunk, you won't be able to spawn anymore within your view distance. See the below diagram for an example. 10 villagers are in the central green chunk, so no villagers can exist in the red chunks. The outer green chunks are far away enough from the 10 villagers for more villagers to exist, however they will not function unless they are in you are in your stimulation distance.
Keep in mind that you try to bypass the limit, the extra entities over the max limit will automatically despawn. Anyone trying to bypass the limits will be punished accordingly.