How to Change the Mob Spawn Rate on Your Minecraft Server

Adjust hostile mob, animal, and ambient spawn limits and ranges on your Minecraft Java server using bukkit.yml and spigot.yml.

Mob spawn rates control how many mobs can spawn naturally on your server. Lowering them is one of the most effective performance fixes for entity-heavy servers — fewer mobs mean fewer entities to tick. Raising them makes the world feel busier or more challenging, at a CPU cost.

The relevant settings live in bukkit.yml and spigot.yml, which are only present on Bukkit-derived servers (Spigot, Paper, Purpur, Pufferfish, etc.).

Spawn Limits Explained

These are per-player chunk caps, not per-world totals. The cap applies to mobs in chunks loaded around each player.

CategoryDefaultWhat it includes
monsters70Hostile mobs (zombies, skeletons, creepers, spiders, witches, etc.)
animals10Passive mobs (cows, pigs, sheep, chickens, horses)
water-animals5Squid, dolphins
water-ambient20Tropical fish, salmon, cod
water-underground-creature5Glow squid
axolotls5Axolotls
ambient15Bats

Change Spawn Limits

Stop the server

In the XGamingServer Panel, open Console and stop your server.

Edit bukkit.yml

Click Files in the sidebar and open bukkit.yml. Find the spawn-limits section:

spawn-limits:
  monsters: 50
  animals: 8
  water-animals: 5
  water-ambient: 15
  water-underground-creature: 5
  axolotls: 5
  ambient: 10

Lower the numbers to reduce spawns; raise them to increase. Click Save Content.

(Optional) Adjust mob spawn range

Open spigot.yml. Find:

mob-spawn-range: 6

Default is 8. Lower values concentrate spawning closer to players, which can:

  • Make mob farms more reliable
  • Reduce the number of "wasted" spawn attempts in chunks players don't visit
  • Improve mob density in active areas

(Paper only) Adjust per-chunk entity caps

On Paper, you can also set hard per-chunk caps in config/paper-world-defaults.yml:

entity-per-chunk-save-limit:
  experience_orb: 16
  arrow: 16
  snowball: 16
  ender_pearl: 16

This caps how many of each entity type can be saved per chunk, preventing pathological accumulation.

Start the server

Start from Console. New spawn limits take effect immediately.

Performance Server (Lag Reduction)

spawn-limits:
  monsters: 35
  animals: 5
  water-animals: 3
  water-ambient: 10
  ambient: 5

Reduces total mob count by ~50%. Mob farms still work but are slower. TPS often improves significantly.

Vanilla-Like Balance

Use the default values (70 / 10 / 5 / 20 / 15). This matches singleplayer feel.

Hardcore / High-Difficulty Server

spawn-limits:
  monsters: 100
  animals: 15

More mobs, more pressure. Watch TPS — this only works on a server with CPU headroom.

Build / Creative Server

spawn-limits:
  monsters: 0
  animals: 0
  water-animals: 0
  ambient: 0

Zero spawning. Combine with gamemode=creative and difficulty=peaceful for a pure-build experience.

Other Mob Controls

ControlFileEffect
spawn-monsters=falseserver.propertiesDisable hostile spawning entirely
difficulty=peacefulserver.propertiesRemoves hostile mobs and despawns existing ones
entity-activation-rangespigot.ymlDistance at which mobs become "active" (closer = less CPU)
merge-radiusspigot.ymlAuto-merge nearby items / XP orbs to reduce entity count
nerf-spawner-mobsspigot.ymlSpawner mobs don't AI — saves CPU on grinders

Reduce Lag from Mob Farms

Mob farms with hundreds of mobs are the biggest entity-related lag source on most servers. Don't just lower spawn limits — also:

  1. Tune entity-activation-range in spigot.yml:
world-settings:
  default:
    entity-activation-range:
      animals: 16
      monsters: 24
      misc: 8
      water: 12

Mobs outside this range stop ticking AI/pathfinding.

  1. Enable spawner nerfing:
nerf-spawner-mobs: true

Spawner-spawned mobs won't AI — they fall when pushed but don't pathfind.

  1. Install FarmControl for per-farm caps.

  2. Install ClearLagg to auto-clear ground items.

See Optimize Server for the full performance guide.

Common Mistakes

MistakeFix
Setting monsters to 0 expecting peacefulUse difficulty=peaceful instead — 0 doesn't despawn existing mobs
Wondering why mob farms brokeYou lowered spawn caps below what the farm needs
Editing bukkit.yml while server is runningStop server first — file is overwritten on shutdown
Editing on Vanilla/Forge serversThese files don't exist on Vanilla/Forge — only Bukkit-derived
Not restarting after changeSpawn limits load at startup
Thinking lower = always betterBelow 30 monsters can break gameplay (no nighttime mobs)

Tips

  • Profile first. Run Spark before tuning. If EntityType.tick for one mob is huge, lower that specific category.
  • Adjust one variable at a time. Easier to see what worked.
  • Test with players online. Spawn behavior depends on player count.
  • Don't go below 30 monsters unless you genuinely don't want survival difficulty.
  • Combine spawn-limits with activation-range for the biggest gains.

How is this guide?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page