Skip to content
Hosting · Performance

Mobs and entities: lag and limits

How to count entities, where spawn limits and activation radii are set, and what values to use on a server with high online.

Updated August 13, 2026

Entities are the second most common cause of lag, after view distances.

Count them

/paper entity list

The output shows the types and counts per world. Thousands of items or mobs in one spot is your answer.

Spawn limits

bukkit.yml:

spawn-limits:
  monsters: 40
  animals: 8
  water-animals: 3
  ambient: 1
ticks-per:
  monster-spawns: 4

The default values (70 monsters) are designed for singleplayer. On a server with players online, the limit is multiplied by the number of players — hence thousands of mobs.

Activation ranges

spigot.yml:

entity-activation-range:
  animals: 16
  monsters: 24
  misc: 8
  raiders: 32

A mob outside the range doesn't think: it doesn't pathfind and it doesn't move. This is the most effective setting after the limits.

Item merging

merge-radius:
  item: 3.5
  exp: 4.0

Items on a farm merge into stacks — 500 entities become 10.

Cramming limit

gamerule maxEntityCramming 8

Protection against farms where hundreds of mobs stand in a single block.

Armor stands and item frames

Decorative entities don't tick actively, but they are sent to clients. A thousand item frames at spawn means traffic and FPS drops for players, not just for the server.

Minecraft hostingYour server runs while you are offlineCreate server