Mob spawning and difficulty
Why there are few mobs on the server and farms don't work: spawn limits, world activity range, difficulty, and Paper settings that fix this.
Updated August 4, 2026
“There are almost no mobs”, “the farm works in singleplayer but does nothing on the server” — a typical complaint on any hosting. The cause is almost always in the settings, not the world.
First, the obvious
The Settings section:
- Difficulty. On
Peacefulthere are no hostile mobs at all. Farms need at leastNormal, andHardfor proper drops. - Monster spawning and Animal spawning — both toggles must be on.
- Mob griefing — if it's off, creepers don't break blocks, endermen don't pick anything up, and some farms break.
- World simulation distance (
simulation-distance) — this is the main culprit. Mobs spawn and move only within this radius. A value of 4 saves resources but kills farms; 6–8 is a workable compromise.
Spawn limits
The server keeps a per-player mob cap — this isn't a bug, it's protection against overload. On Paper and Purpur it lives in bukkit.yml:
spawn-limits:
monsters: 70
animals: 10
water-animals: 5
ambient: 15
ticks-per:
monster-spawns: 1
animal-spawns: 400
Careful: raising monsters to 150 really does give you more mobs and at the same time costs you TPS. Change it in 20–30% steps and watch the graph in “Overview”.
Paper settings that quietly break everything
In config/paper-world-defaults.yml:
despawn-ranges— the distance at which mobs despawn. Too small a value wipes out farms.per-player-mob-spawns— whether to count the limit per player separately. Usually enabled, and that's correct.alt-item-despawn-rateandentity-activation-range— how many entities are actually “alive”. Overly aggressive values from someone else's optimization guides turn your server into an empty map.
Rule: if you copied an “optimization” config from the internet and mobs disappeared afterwards, that config is the culprit. Revert the values to their defaults one at a time.
Farms
- A farm only works when the chunk is active — that is, a player is nearby or the chunk is force-loaded (
/forceload add, ticket chunks). spigot.ymlhasmerge-radius— the merging of items and XP. It's useful for TPS but breaks counters and sorting systems.- On Folia and hybrid cores, mob behavior differs from vanilla: if the farm from the video doesn't work, check your core (Core and version).
The opposite: too many mobs
Then it's all the same in reverse: lower spawn-limits, enable mob-spawning deny in the WorldGuard flags at spawn (Regions), and set up entity cleanup on a schedule with the kill @e[type=item] command.
